Unformatted text preview:

ReviewOverview: DataOverview: ArchitectureProcessCollections: Knowledge ICollections: Knowledge IICollections: SkillsJDBC: Knowledge IJDBC: Knowledge IIJDBC: Knowledge IIIJDBC: SkillsSwing: Knowledge ISwing: Knowledge IISwing: Knowledge IIISwing: SkillsThreads: Knowledge IThreads: Knowledge IIThreads: Knowledge IIIThreads: SkillsSockets: Knowledge ISockets: Knowledge IISocket: SkillsRMI: Knowledge IRMI: Knowledge IIRMI: SkillsXML: KnowledgeXML: SkillsFinal ExamReviewIS 3136.5.2003Overview: DataInside the applicationCollectionsOutside the applicationDatabaseXMLGetting/displayingSwingCommunicating over the networkSocketsRMIOverview: ArchitectureInside the applicationCollectionsInside the enterpriseDatabaseInterface to the userSwingSystems integrationSocketsRMIProcess5 topicsFor eacha) what (I think) you should knowb) what (I think) you should be able to doIf there are no questionsassume I’m right about (a) and (b)next topicCollections: Knowledge IFrameworkCollectionListSetMapIteratorInterface / Implementation distinctionImplementationsArrayListHashSet, HashMapTreeSet, TreeMapCollections: Knowledge IISortingComparableComparatorMap collectionskeySet()values()entrySet()Encapsulationstrategy for making task-specific collection objectsCollections: SkillsWrite iteration loops through collections using an Iteratorfor stylewhile styleWrite a Comparator classImplement the Comparable interfaceWrite a class that encapsulates a CollectionJDBC: Knowledge IFrameworkConnectionStatementResultSetPreparedStatementFactory patternPrepared statementsParameterized SQLsetXXX to set parameter valuesJDBC: Knowledge IIUpdatable ResultSetHow to createTo modify dataupdateXXXupdateRowTo insert datamoveToInsertRowupdateXXXinsertRowJDBC: Knowledge IIITransactionsThe purpose of transactionsAutoCommitcommitrollbackJDBC: SkillsWrite code to execute an update querydoesn’t return result setWrite code to execute an ordinary queryWrite code to iterate through a ResultSetWrite code to modify database using a updatable ResultSetWrite code to query database using a PreparedStatementWrite code to update database using transactionsSwing: Knowledge IComponentsJFrameJDialogJPanelJScrollPaneJTableContainmenthierarchy of componentsSwing: Knowledge IILayout ManagementFlowLayoutBorderLayoutBoxLayoutGridLayoutModel-view-controller patternTableModelSwing: Knowledge IIIEvent handlinginternals: event handling threadpublish / subscribe patternListener interfacesActionListenerMouseListenerAdapter classesMouseAdapterAnonymous classexternal referenceSwing: SkillsFrom interface sketchidentify componentscreate containment hierarchyselect layout management for each intermediate componentWrite an event handler using anonymous classGiven a data structurewrite a TableModel to display itThreads: Knowledge IThread classrun methodLifecycleNewRunnableRunningNon-runnableDeadRunnable interfaceThreads: Knowledge IIResource conflictwhy this happenssychronized methodsThread communicationwhy this is a problemwait () / notify ()Stopping threadsinterrupttermination variableclose file or socketThreads: Knowledge IIITimersjava.util.TimerRunnable object scheduled on timer threadjavax.swing.TimerActionListener handled on event handling threadSwingnon-thread-safe nature of Swing componentsneed for invokeLaterThreads: SkillsWrite code for thread terminationWrite a thread class and code that invokes itWrite a Swing timer for a periodic UI taskSockets: Knowledge IClient/server applicationsProtocolsystem of interacting messagesSockettwo-way data streamJava socketsSocketServerSocketSockets: Knowledge IIServerSocketaccept()accept returns SocketSocketcreate = connectMulti-threaded serverWhySocket: SkillsWrite run loop for multi-threaded serverWrite protocol handling codeRMI: Knowledge IFrameworkRemote interfaceRemote objectServer programClient programRMI RegistrySerializationwhy it is necessaryhow to achieveRMI: Knowledge IIStubRMI CompilationActivationalternative to server programRMI: SkillsMake a class SerializableWrite a remote objectWrite a server programWrite an RMI clientXML: KnowledgeXML standardlanguage definitionsyntax conventionsbenefitsXML APIs in JavaDOM representationNode, Element, Text, and NodeListSAX eventsstart/endDocument, start/endElement, charactersXML: SkillsWrite code to load a XML document as DOMWrite code to traverse DOM representation to specific elementWrite code to process SAX eventsFinal ExamWednesday, 6/11, 11:45-2:00


View Full Document

DePaul IS 313 - Review

Download Review
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Review and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Review 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?