untitled
|
|
- 妹芝 蔡
- 6 years ago
- Views:
Transcription
1 !
2 NO: Bob Wang Ver Bob Wang Ver Bob Wang Ver Melthaw Zhang Ver Bob Wang Ver Orient Sun Ver LishiFeng Ver
3 UML (Behavior) UML Case Javadocs
4
5 SRP OCP Liskov (LSP) (DIP) ISP dx
6 Java Packages Packages Dependencies jar Binary Components Principles of Package Design / The Release/Reuse Equivalency Principle (REP) 94 The Common Closure Principle (CCP) The Common Reuse Principle (CRP) The Acyclic Dependencies Principle (ADP) The Stable Dependencies Principle (SDP) The Stable Abstractions Principle (SAP) Object Diagrams
7 Active Objects (State Diagrams) SMC ICE
8 UML (notation) Fowler IT Conceptual Specification Implementation (Dog) (Animal) UML Figure 1-1 (generalization) Animal Dog Animal Dog Dog Animal Sparky 8 116
9 Animal Dog UML UML UML UML (static diagrams) (Dynamic diagrams) (Physical diagrams) Listing 1-1 Figure 1-2 (Class Diagram) Listing 1-1 TreeMap add get TreeMap TreeMapNode topname reference TreeMapNode TreeMapNode -- nodes TreeMapNode itskey itskey itskey Comparable itsvalue 9 116
10 (associations)
11 1 «interface» Comparable (interface) Listing 1-1 TreeMap TreeMapNode topnode TreeMap topnode Figure 1-3 (Object Diagram) (snapshot) itskey (links) Figure 1-3 nodes
12 Figure 1-4 (sequence diagram) TreeMap.add TreeMap add topnode (null) TreeMap TreeMapNode topnode TreeMap add topnode (guards) TreeMapNode (construction)
13 (data tokens) TreeMap activation add Figure 1-5 (collaboration diagram) treenode TreeMap.add (links) TreeMap.add 1 TreeMapNode.add UML (finite state machines) Figure 1-6 Figure 1-6 Locked UnLocked coin pass
14 (transitions) Figure 1-6 Locked coin Unlocked Unlock Unlocked pass Locked Lock Unlocked coin Unlocked Thankyou Locked pass Locked Alarm UML [Fowler00]: UML Distilled, 2d. ed. Martin Fowler, Addison Wesley, 199?
15 UML UML UML (models) UML UML UML UML UML UML UML UML UML
16 UML UML UML UML UML UML UML UML UML UML Figure 2-1 LogiServlet Servlet UserDatabase LoginServlet HTTPRequest HTTPResponse UML Listing-2-1 UML
17 Figure 2-2 Figure 2-3 UML
18 UML (roadmaps)
19 Figure 2-4 Space Polyline Polyline LinearObject Lines LinearObject Points UML UML (Figure 2-5)
20 UML Case UML Web UML! UML UML
21 Button Dialler Button digit Dialler Dialler digit displaydigit Screen Dialler tone Speaker
22 Radio Screen ( ) Figure 2-6 (class) (association) UML (aggregation) (composition) (relationships)
23 Button Dialler Button Dialler Button Button Button Dialler Button Button Dialler (interface) Figure 2-8 Button (token) Button ButtonListener buttonpressed Button Dialler Button Figure 2-6 Dialler Button Dailler ButtonListener buttonpressed Dialler Button
24 ButtonDiallerAdapter ButtonListener buttonpress digit(n) Dialler digit Dialler ButtonDiallerAdapter Listing
25 Figure 2-9 Figure 2-6 Figure UML UML
26 UML UML UML
27 UML Case UML case UML case UML case UML UML case IDE IDE CASE Cool UML IDE Case Case
28 UML Java UML ER wiki Javadocs Javadocs UML 5 UML Case UML case IDE UML Case UML
29 UML
30 UML Figure 3-1 Dialler Figure private # (protected) + (public)
31 UML Figure 3-3 Phone Button Phone Button Figure button Phone Figure 3-4 PhoneBook PhoneNumber (*) Java Vector List HasA has Phonebook PhoneNumbers Hasa IsA 6 UML Figure 3-5 Employee
32 (inheritance) UML SalariedEmployee Emplyee Employee UML (base class) UML Java Java Figure 3-6 Figure 3-7 COM
33 Figure 3-8 ATM WithdrawTransaction CashDispenser CashDispenser UI WithDrawlUI PromptForAccount informcashdispenserempty
34 UI UI UI Listing 3-1 UML Figure 3-8 «interface» «interface» java «utility» «interface» «interface» java Figure
35 «utility» «utility» Booch Figure 3-10 «persistent» «C-API» «struct» «function» UML {abstract Figure 3-11 {abstract Figure 3-12 UML
36 {abstract {author=martin, date= , file=shape.java, private UML {abstract UML java boolean (true) {abstract {abstract=true Figure 3-13 {abstract UML whole/part Figure 3-14 Figure
37 UML UML Figure 3-15 Figure 3-16 UML Java C++ (owner) (ward) UML Figure
38 Java java Figure 3-18 Address Address String Address Address String UML (multipicity) Figure 3-19 BinaryTreeNode 2 * 0..* Java 1..* ,2..5,9..*
39 Figure 3-20 UML «creates» (factory) «local»
40 «parameter» «delegates» UML PROXY DECORATOR COMPOSITE7 UML Java UML Figure 3-22 «anonymous»
41 Figure 3-23 Java weak soft phantom Figure 3-24 Figure
42 Java Figure 3-26 LoginServlet Employee empid Employee UML UML UML UML UML [Booch94]: Object Oriented Analysis and Design with Applications, Grady Booch, Benjamin Cummings, 1994 [GOF94]: Design Patterns, Gamma, Helm, Vlissides, Johnson, Addison Wesley,
43 UML UML 1978 James Grenning Figure 4-1 (lifelines)
44 (data tokens ) (Time) LoginServlet (Activation) login login login getemployee e getemployee Employee e getemployee Employee EmployeeDB getemployee EmployeeDB Listing 4-1 Figure 4-2 ShapeFactory Listing
45 Java Figure 4-3 UML X X Listing 4-3 clear topnode (nil) TreeMap TreeNode UML Figure
46 46 116
47 Figure 4-5 UML Listing 4-4 Payroll Figure 4-5 Figure 4-6 Figure
48 Figure 4-7 Figure
49 (loop) if payemployee *[while id := idlist.next()] (guard) false UML java payemployee payemploy [payday] if ifpayday true CalculatePay,CalculateDedutions sendpayment UML (clunky?) Listing
50 OO Figure 4-9 caller callee telco (off hook) received dial tone (ringing) (playing ringback) Figure
51 Figure 4-10 (race condition) (asychronous message) Figure 4-11 UML
52 Listing 4-5 listing 4-6 Figure 4-11 Listing 4-5 Listing 4-6 Log logmessage LogText logmessage
53 UML Figure
54 T1 Log T1 Log T2 Listing 4-6 T2 (active objects) Figure 4-13:
55 Log logmessage Log Figure 4-14 Logger AsynchronousLogger Figure 4-15 logger Logger AsychronousLogger Logger Figure
56
57 (Use case) UML UML UML (stimulus)
58 (stimulus) Check Out Item : 1 UPC UPC
59 UPC Code Not Read UPC UPC No UPC Code UPC UPC UPC Alistair Cockburn UML System Boundary Diagram Figure 5-1 (actor) (stimulus)
60 Java
61 UML UML UML UML 12 Rigidity (Fragility) (immobility) (Viscosity) (Needless Complexity) (Needless repetition) cut paste
62 (Opacity) UML (interface) (Polymorphism) OOPL [Martin2002] SRP GUI XML OO
63 Figure 6-1 XML SAX JDOM Employee Access Oracle Employee Employee Employee XML Employee XML EmployeeDatabase Employee Figure 6-2 UML Figure 6-3 Persistable Employee Employee Persistable Persistable Employee Figure 6-3 Persistable Employee PersistableEmployee Employee
64 - OCP ( ) Figure 6-4 EmployeeDB (facade) Employee (facade) API OCP EmployeeDB Employee Employee API Empoyee TheDatabase API (Unit test) Employee Employee Employee Employee (interface) Figure 6-5 API Empolyee API Employee
65 Employee OCP GUI MODEL-VIEW-CONTROLLER 30 GUI GUI API Terminate Terminate Terminate Terminate (terminated) Terminate
66 OCP GUI API OCP GUI Figure 6-6 OCP EmployeeTerminatorModel EmployeeTerminatorDialog GUI Terminate EmployeeTerminatorModel EmployeeTerminatorDialog EmployeeTerminatorModel EmployeeTerminatorController Listing 6-1 Listing 6-4 Java EmployeeTerminatorController selectionchanged terminate terminate employee EmployeeTerminatorDialog Listing 6-1 EmployeeTerminatorView.java import java.util.vector; public interface EmployeeTerminatorView { void enableterminate(boolean enable); void setemployeelist(vector employees); void clearselection(); Listing 6-2 EmployeeTerminatorController.java public interface EmployeeTerminatorController { public void selectionchanged(string employee); public void terminate(); EmployeeTerminatorModel
67 selectionchange Listing 6-3 EmployeeTerminatorModel.java import java.util.vector; public class EmployeeTerminatorModel implements EmployeeTerminatorController { private EmployeeTerminatorView view; private Vector employees; private String selectedemployee; public void initialize(vector employees,employeeterminatorview view) { this.employees = employees; this.view = view; view.setemployeelist(employees); view.clearselection(); view.enableterminate(false); // EmployeeTerminatorController interface public void selectionchanged(string employee) { view.enableterminate(employee!= null); selectedemployee = employee; public void terminate() { if (selectedemployee!= null) employees.remove(selectedemployee); view.setemployeelist(employees); view.clearselection(); view.enableterminate(false); EmployeeTerminatorDialog GUI EmployeeTerminatorView
68 Listing 6-4 EmployeeTerminatorDialog.java import javax.swing.*; import javax.swing.event.listselectionevent; import javax.swing.event.listselectionlistener; import java.awt.*; import java.awt.event.actionevent; import java.awt.event.actionlistener; import java.util.vector; public class EmployeeTerminatorDialog implements EmployeeTerminatorView { private JFrame frame; private JList listbox; private JButton terminatebutton; private EmployeeTerminatorController controller; private Vector employees; public static final String EMPLOYEE_LIST_NAME = "Employee List"; public static final String TERMINATE_BUTTON_NAME = "Terminate"; public void initialize(employeeterminatorcontroller controller) { this.controller = controller; initializeemployeelistbox(); initializeterminatebutton(); initializecontentpane(); private void initializeemployeelistbox() { listbox = new JList(); listbox.setname(employee_list_name); listbox.addlistselectionlistener(new ListSelectionListener() { public void valuechanged(listselectionevent e) { if (!e.getvalueisadjusting()) controller.selectionchanged( (String)listBox.getSelectedValue()); ); private void initializeterminatebutton() { terminatebutton = new JButton(TERMINATE_BUTTON_NAME); terminatebutton.disable();
69 terminatebutton.setname(terminate_button_name); terminatebutton.addactionlistener( new ActionListener() { public void actionperformed(actionevent e) { controller.terminate(); ); private void initializecontentpane() { frame = new JFrame("Employee List"); frame.getcontentpane().setlayout(new FlowLayout()); frame.getcontentpane().add(listbox); frame.getcontentpane().add(terminatebutton); frame.getcontentpane().setsize(300, 600); frame.pack(); public Container getcontentpane() { return frame.getcontentpane(); public JFrame getframe() { return frame; // functions for EmployeeTerminatorView interface public void enableterminate(boolean enable) { terminatebutton.setenabled(enable); public void setemployeelist(vector employees) { this.employees = employees; listbox.setlistdata(employees); frame.pack(); public void clearselection() { listbox.clearselection();
70 model dialog dialog controller model model clearselection Figure 6-7 model dialog clearselection dialog model setselection model dialog (unit test) ( Listing 6-5 Listing 6-6 ) OCP TestEmployeeTerminatorModel model EmployeeTerminatorView model view SELF SHUNT Listing 6-5 TestEmployeeTerminatorModel.java import junit.framework.testcase; import junit.swingui.testrunner; import java.util.vector; public class TestEmployeeTerminatorModel extends TestCase implements EmployeeTerminatorView { private boolean terminateenabled = true; private String selectedemployee; private Vector noemployees = new Vector(); private Vector threeemployees = new Vector(); private Vector employees = null; private EmployeeTerminatorModel m;
71 public static void main(string[] args) { TestRunner.main(new String[]{"TestEmployeeTerminatorModel"); public TestEmployeeTerminatorModel(String name) { super(name); public void setup() throws Exception { m = new EmployeeTerminatorModel(); threeemployees.add("bob"); threeemployees.add("bill"); threeemployees.add("robert"); public void teardown() throws Exception { public void testnoemployees() throws Exception { m.initialize(noemployees, this); assertequals(0, employees.size()); assertequals(false, terminateenabled); assertequals(null, selectedemployee); public void testthreeemployees() throws Exception { m.initialize(threeemployees, this); assertequals(3, employees.size()); assertequals(false, terminateenabled); assertequals(null, selectedemployee); public void testselection() throws Exception { m.initialize(threeemployees, this); m.selectionchanged("bob"); assertequals(true, terminateenabled); m.selectionchanged(null); assertequals(false, terminateenabled); public void testterminate() throws Exception { m.initialize(threeemployees, this); assertequals(3, employees.size()); selectedemployee = "Bob";
72 m.selectionchanged("bob"); m.terminate(); assertequals(2, employees.size()); assertequals(null, selectedemployee); assertequals(false, terminateenabled); assert(employees.contains("bill")); assert(employees.contains("robert")); assert(!employees.contains("bob")); // EmployeeTerminatorView interface public void enableterminate(boolean enable) { terminateenabled = enable; public void setemployeelist(vector employees) { this.employees = (Vector) employees.clone(); public void clearselection() { selectedemployee = null; TestEmployeeTerminatorDialog SELF SHUNT TestTerminatorController dialog controller Listing 6-6 TestEmployeeTerminatorDialog.java import junit.framework.testcase; import junit.swingui.testrunner; import javax.swing.*; import java.awt.*; import java.util.hashmap; import java.util.vector; public class TestEmployeeTerminatorDialog extends TestCase implements EmployeeTerminatorController { private EmployeeTerminatorDialog terminator;
73 private JList list; private JButton button; private Container contentpane; private String selectedvalue = null; private int selectioncount = 0; private int terminations = 0; public static void main(string[] args) { TestRunner.main(new String[]{"TestEmployeeTerminatorDialog"); public TestEmployeeTerminatorDialog(String name) { super(name); public void setup() throws Exception { terminator = new EmployeeTerminatorDialog(); terminator.initialize(this); putcomponentsintomembervariables(); private void putcomponentsintomembervariables() { contentpane = terminator.getcontentpane(); HashMap map = new HashMap(); for (int i = 0; i < contentpane.getcomponentcount(); i++) { Component c = contentpane.getcomponent(i); map.put(c.getname(), c); list = (JList) map.get( EmployeeTerminatorDialog.EMPLOYEE_LIST_NAME); button = (JButton) map.get( EmployeeTerminatorDialog.TERMINATE_BUTTON_NAME); private void putthreeemployeesintoterminator() { Vector v = new Vector(); v.add("bob"); v.add("bill"); v.add("boris"); terminator.setemployeelist(v); public void testcreate() throws Exception { assertnotnull(contentpane);
74 assertequals(2, contentpane.getcomponentcount()); assertnotnull(list); assertnotnull(button); assertequals(false, button.isenabled()); public void testaddonename() throws Exception { Vector v = new Vector(); v.add("bob"); terminator.setemployeelist(v); ListModel m = list.getmodel(); assertequals(1, m.getsize()); assertequals("bob", m.getelementat(0)); public void testaddmanynames() throws Exception { putthreeemployeesintoterminator(); ListModel m = list.getmodel(); assertequals(3, m.getsize()); assertequals("bob", m.getelementat(0)); assertequals("bill", m.getelementat(1)); assertequals("boris", m.getelementat(2)); public void testenableterminate() throws Exception { terminator.enableterminate(true); assertequals(true, button.isenabled()); terminator.enableterminate(false); assertequals(false, button.isenabled()); public void testclearselection() throws Exception { putthreeemployeesintoterminator(); list.setselectedindex(1); assertnotnull(list.getselectedvalue()); terminator.clearselection(); assertequals(null, list.getselectedvalue()); public void testselectionchangedcallback() throws Exception { putthreeemployeesintoterminator(); list.setselectedindex(1); assertequals("bill", selectedvalue); assertequals(1, selectioncount);
75 list.setselectedindex(2); assertequals("boris", selectedvalue); assertequals(2, selectioncount); public void testterminatebuttoncallback() throws Exception { button.doclick(); assertequals(1, terminations); // implement EmployeeTerminatorController public void selectionchanged(string employee) { selectedvalue = employee; selectioncount++; public void terminate() { terminations++; OCP dialog model dialog model UI( ) UI dialog model model dialog RMI OCP Figure 6-6 FLIP-FLOP OCP OCP OCP test-first Listing 6-7 model model dialog
76 Listing 6-7 ShowEmployeeTerminator.java import java.awt.event.windowadapter; import java.awt.event.windowevent; import java.util.vector; public class ShowEmployeeTerminator { static Vector employees = new Vector(); static EmployeeTerminatorDialog dialog; public static void main(string[] args) { initializeemployeevector(); initializedialog(); rundialog(); private static void initializeemployeevector() { employees.add("bob"); employees.add("bill"); employees.add("robert"); private static void initializedialog() { EmployeeTerminatorModel model = new EmployeeTerminatorModel(); dialog = new EmployeeTerminatorDialog(); dialog.initialize(model); model.initialize(employees, dialog); private static void rundialog() { dialog.getframe().addwindowlistener( new WindowAdapter() { public void windowclosing(windowevent e) { for (int i = 0; i < employees.size(); i++) { String s = (String) employees.elementat(i); System.out.println(s); System.exit(0); ); dialog.getframe().setvisible(true);
77 Liskov (LSP) (subtypes) (base types) if instanceof LSP OCP LSP (base classs) instanceof (Downcast) Figure 6-8 Employee calcpay SalariedEmployee HourlyEmployee VolunteerEmployee calcpay 0 calcpay VolunteerEmployee calcpay calcpay
78 0 VolunteerEmployee calcpay calcpay UnpayableEmloyeeException try/catch Employee LSP VolunteerEmployee Employee if instanceof OCP LSP LSP
79 instanceof LSP VolunteerEmployee Volunteers calcpay Employee calcpay (DIP) A B ( ) Vector String DIP Vector String UML UML DIP ISP (fat class)
80 Figure 6-9 StudentEnrollment EnrollmentReportGenerator prepareinvoice postpayment AccountsReceivable getname getdate postpayment StudentEnrollment EnrollmentReportGenerator EnrollmentReportGenerator postpayment
81 Figure 6-10 StudentEnrollment 1 SRP 2 OCP 3 LSP 4 DIP 5 ISP OCP SRP ISP DIP (proactively) (reactively) (the sore spots) [Feathers2001]: The 'Self'-Shunt Unit Testing Pattern, Michael Feathers, May, 2001,
82 [Martin2002]: The Principles, Patterns, and Practices of Agile Software Development, Robert C. Martin, Prentice Hall,
83 dx Melthaw Zhang dx dx dx s use-case use-case user story story use-case use case N
84 story story 8 story 4 story story story 6 story story story story story story story story 3 4 story story story story 7 story
85 story story story 150 story story story story 25 story story story 4 10 story
86 25 story. 20 story story 10 story story story story story 10 story 8 story 16 story story story 16 story 15 story 30 story story. story 23 story 23 story story 23 story story
87 . story story story. story dx
88 .. dx story QA user story use-case story dx
89 . API., dx dx dx check out check out check in check
90 in check out check in dx check in check in check in dx UML JAVA dx UML JAVA UML dx Martin UML sequence use-case. dx UML UML dx UML dx XP( ) XP dx [Kruchten1998]: The Rational Unified Process, Philippe Kruchten, Addison Wesley,
91 Reading, MA, [Fowler1999]: Refactoring, Martin Fowler, Addison Wesley, Reading, MA, 1999 [Martin1999]: RUP vs. XP, Robert C. Martin, 1999, [Beck1999]: Extreme Programming Explained, Kent Beck, Addison Wesley, Reading, MA, 1999 [Jeffries2000]: Extreme Programming Installed, Ron Jeffries, et. al, Addison Wesley, Upper Saddle River, NJ, [Beck1999], [Jeffries2000]
92 Orient Sun Java Java package.jar Java Packages Java packages (namespaces) Java.class class A.B.C.class A/B/C.class Java.class.java classpath UML UML Figure 8-1 Figure
93 contains Figure 8-3 Java import UML dependency Figure 8-4 import consultant-scheduler.consultantcalendar calendarutilities.calendar Java import.jar Binary Components.jar
94 UML Figure 8-5 CalendarRenderer Calendar Principles of Package Design [PPP2002]
95 SRP CCP CCP ISP CRP A B B C A C JDepend (see
96 Figure 8-6 ( ) [PPP2002] OCP SAP SAP SDP SAP DIP DIP SDP SAP [PPP2002]
97 ADP build problems 2 2. see for just such a tool
98 Object Diagrams Orient Sun UML (Snapshot) (GUI) Figure 9-1 Figure 9-2 Figure 9-1 Space Space
99 Active Objects Listing 9-1 SocketService socket socket
100
101 Figure 9-3 Figure 9-4 SocketService servicethread servicethread servicethread ServerRunner (Active Ojbect) start stop setpriority Thread Runnable Runnable Runnable
102
103 (State Diagrams) LiShiFeng UML FSMs FSMs (GUI) FSMs FSMs Figure 10-1 State Transition Diagram (STD)
104 Prompting for Login showloginscreen Prompting for Login hideloginscreen (Transitions) Prompting for Login login Validating User validateuser Figure 10-1 initial pseudo state Prompting for Login superstate Sending Password Failed Sending Password Succeeded OK Prompting for Login showloginscreen validateuser dsendpassword Login event / action Figure 10-2 entry exit Figure 10-2 FSM UML Figure
105 UML Figure 10-3 exit entry UML Figure 10-3 myaction exit entry Figure 10-1 FSM Figure 10-4 Figure 10-5 S3 pause Cancelable pause
106 entry exit Figure 10-6 FSM exit entry FSM Some State Sub entersuper entersub FSM Sub2 Some State exitsub2 exitsuper Sub Sub2 e2 exitsub entersub2 Figure 10-7 UML FMS FSM
107 FSM FSM FSMs STTs State Transition Tables STDs State Transition Diagrams Figure 10-8 STT Figure
108 STT STT Locked coin Unlocked Unlock Locked coin Unlocked Unlock Locked pass Locked Alarm Unlocked coin Unlocked Refund Unlocked pass Locked Lock SMC STT C++ STT SMC SMC Turnstile SMC Listing 10-1 smc.txt URL FSMName SMC Context SMC Listing 10-2 Context Listing 10-1 Turnstile.sm Context TurnStileContext
109 FSMName TurnStile Initial Locked { Locked { Coin Unlocked Unlock Pass Locked Alarm Unlocked { Coin Unlocked Thankyou Pass Locked Lock Listing 10-2 TurnStile.java (Generated) public class TurnStile extends TurnStileContext { private State itsstate; private static String itsversion = ""; private static Locked itslockedstate; private static Unlocked itsunlockedstate; public TurnStile() { itslockedstate = new Locked(); itsunlockedstate = new Unlocked(); itsstate = itslockedstate; public String getversion() { return itsversion; public String getcurrentstatename() { return itsstate.statename(); public void Pass() { itsstate.pass(); public void Coin() { itsstate.coin();
110 private abstract class State { public abstract String statename(); public void pass() { FSMError("Pass", itsstate.statename()); public void coin() { FSMError("Coin", itsstate.statename()); private class Locked extends State { public String statename() { return "Locked"; public void pass() { Alarm(); itsstate = itslockedstate; public void coin() { Unlock(); itsstate = itsunlockedstate; private class Unlocked extends State { public String statename() { return "Unlocked"; public void pass() { Lock(); itsstate = itslockedstate; public void coin() { Thankyou(); itsstate = itsunlockedstate; FSM
111 ICE GUI Figure FSM UML SMC Listing
112 Listing 10-3 ice.sm Context RootFSM Initial init FSMName RootFSMGen Version rcm FSMGenerator smc.generator.java.smjavagenerator Pragma Package root { init { init login { login <displayloginscreen >hideloginscreen { login determiningusermode { cancel end { determiningusermode < { cleanupthumbnails checkuserstate { auto autobatch { manual gettingmanualbatch { createselector autobatch < { setuserauto displaythumbnailauto { manual gettingmanualbatch { createselector select gettingautobatch { createselector itemchanged * worktypeitemchanged redisplay * displaythumbnailauto exit end { gettingautobatch <getnextautobatch { nextbatchfound batchsplashauto { nobatchfound determiningusermode { nobatchdialog
113 gettingmanualbatch <isbatchavailable { batchesfound manualbatch { nobatchfound autobatch { manualbatch < { setusermanual displaythumbnailmanual { auto autobatch { refresh gettingmanualbatch { select batchsplashmanual selectmanualbatch redisplay * displaythumbnailmanual exit end { (processingbatch) >hidethumbnailscreen { ok * { cancel * { complete determiningusermode { completebatch cleanupbatch requeue determiningusermode { requeuebatch cleanupbatch reject determiningusermode { rejectbatch cleanupbatch assign * assignpage exit end requeuebatch processingautobatch : processingbatch { stop processingautobatchstopped { complete gettingautobatch { completebatch cleanupbatch reject gettingautobatch { rejectbatch cleanupbatch openpage pageautobatch { redisplay * displayautothumbnailprocessing processingautobatchstopped : processingbatch { complete determiningusermode { completebatch
114 cleanupbatch reject determiningusermode { rejectbatch cleanupbatch openpage pageautobatchstopped { stop processingautobatch { redisplay * displayautothumbnailprocessing processingmanualbatch : processingbatch { openpage pagemanualbatch { redisplay * displaymanualthumbnailprocessing (batchsplash) <displaybatchsplashscreen >hidebatchsplashscreen { batchsplashauto : batchsplash { ok processingautobatch {allmode initbatch displayautothumbnailprocessing complete gettingautobatch {completebatch hidethumbnailscreen batchsplashmanual : batchsplash { ok processingmanualbatch {allmode initbatch displaymanualthumbnailprocessing complete determiningusermode {completebatch hidethumbnailscreen (page) <displaypagescreen >hidepagescreen { assign * {assignpage redisplaypagescreen setzone * {assignzone redisplaypagescreen pageautobatch : page { goback processingautobatch displayautothumbnailprocessing
115 pageautobatchstopped : page { goback processingautobatchstopped displayautothumbnailprocessing pagemanualbatch : page { goback processingmanualbatch displaymanualthumbnailprocessing end <exitprogram { UML FSM FSM
116
(TestFailure) JUnit Framework AssertionFailedError JUnit Composite TestSuite Test TestSuite run() run() JUnit
Tomcat Web JUnit Cactus JUnit Java Cactus JUnit 26.1 JUnit Java JUnit JUnit Java JSP Servlet JUnit Java Erich Gamma Kent Beck xunit JUnit boolean JUnit Java JUnit Java JUnit Java 26.1.1 JUnit JUnit How
More informationEJB-Programming-4-cn.doc
EJB (4) : (Entity Bean Value Object ) JBuilder EJB 2.x CMP EJB Relationships JBuilder EJB Test Client EJB EJB Seminar CMP Entity Beans Session Bean J2EE Session Façade Design Pattern Session Bean Session
More informationD C 93 2
D9223468 3C 93 2 Java Java -- Java UML Java API UML MVC Eclipse API JavadocUML Omendo PSPPersonal Software Programming [6] 56 8 2587 56% Java 1 epaper(2005 ) Java C C (function) C (reusability) eat(chess1,
More information詞 彙 表 編 號 詞 彙 描 述 1 預 約 人 資 料 中 文 姓 名 英 文 姓 名 身 份 證 字 號 預 約 人 電 話 性 別 2 付 款 資 料 信 用 卡 別 信 用 卡 號 信 用 卡 有 效 日 期 3 住 房 條 件 入 住 日 期 退 房 日 期 人 數 房 間 數 量 入
100 年 特 種 考 試 地 方 政 府 公 務 人 員 考 試 試 題 等 別 : 三 等 考 試 類 科 : 資 訊 處 理 科 目 : 系 統 分 析 與 設 計 一 請 參 考 下 列 旅 館 管 理 系 統 的 使 用 案 例 圖 (Use Case Diagram) 撰 寫 預 約 房 間 的 使 用 案 例 規 格 書 (Use Case Specification), 繪 出 入
More informationMicrosoft Word - 物件導向編程精要.doc
Essential Object-Oriented Programming Josh Ko 2007.03.11 object-oriented programming C++ Java OO class object OOP Ruby duck typing complexity abstraction paradigm objects objects model object-oriented
More informationEJB-Programming-3.PDF
:, JBuilder EJB 2.x CMP EJB Relationships JBuilder EJB Test Client EJB EJB Seminar CMP Entity Beans Value Object Design Pattern J2EE Design Patterns Value Object Value Object Factory J2EE EJB Test Client
More informationSwing-02.pdf
2 J B u t t o n J T e x t F i e l d J L i s t B u t t o n T e x t F i e l d L i s t J F r a m e 21 2 2 Swing C a n v a s C o m p o n e n t J B u t t o n AWT // ToolbarFrame1.java // java.awt.button //
More informationJBuilder Weblogic
JUnit ( bliu76@yeah.net) < >6 JUnit Java Erich Gamma Kent Beck JUnit JUnit 1 JUnit 1.1 JUnit JUnit java XUnit JUnit 1.2 JUnit JUnit Erich Gamma Kent Beck Erich Gamma Kent Beck XP Extreme Programming CRC
More informationIoC容器和Dependency Injection模式.doc
IoC Dependency Injection /Martin Fowler / Java Inversion of Control IoC Dependency Injection Service Locator Java J2EE open source J2EE J2EE web PicoContainer Spring Java Java OO.NET service component
More information<4D6963726F736F667420506F776572506F696E74202D20C8EDBCFEBCDCB9B9CAA6D1D0D0DEBDB2D7F92E707074>
软 件 架 构 师 研 修 讲 座 胡 协 刚 软 件 架 构 师 UML/RUP 专 家 szjinco@public.szptt.net.cn 中 国 软 件 架 构 师 网 东 软 培 训 中 心 小 故 事 : 七 人 分 粥 当 前 软 件 团 队 的 开 发 现 状 和 面 临 的 问 题 软 件 项 目 的 特 点 解 决 之 道 : 从 瀑 布 模 型 到 迭 代 模 型 解 决 项
More informationMac Java import com.apple.mrj.*;... public class MyFirstApp extends JFrame implements ActionListener, MRJAboutHandler, MRJQuitHandler {... public MyFirstApp() {... MRJApplicationUtils.registerAboutHandler(this);
More information基于ECO的UML模型驱动的数据库应用开发1.doc
ECO UML () Object RDBMS Mapping.Net Framework Java C# RAD DataSetOleDbConnection DataGrod RAD Client/Server RAD RAD DataReader["Spell"].ToString() AObj.XXX bug sql UML OR Mapping RAD Lazy load round trip
More information(Microsoft PowerPoint - UML\302\262\244\266_use case.ppt)
UML 簡 介 _Use Case Diagram 資 訊 科 技 系 林 偉 川 UML 簡 介 2 1 UML UML 是 Unified Modeling Language 的 縮 寫, 中 文 翻 譯 為 統 一 塑 模 語 言 UML 統 合 了 物 件 導 向 方 法 論 之 各 派 不 同 的 方 法, 提 供 了 一 致 性 的 圖 形 語 言 做 為 開 發 系 統 的 溝 通 媒
More information基于CDIO一体化理念的课程教学大纲设计
Java 语 言 程 序 设 计 课 程 教 学 大 纲 Java 语 言 程 序 设 计 课 程 教 学 大 纲 一 课 程 基 本 信 息 1. 课 程 代 码 :52001CC022 2. 课 程 名 称 :Java 语 言 程 序 设 计 3. 课 程 英 文 名 称 :Java Programming 4. 课 程 类 别 : 理 论 课 ( 含 实 验 上 机 或 实 践 ) 5. 授
More informationuntitled
4.1AOP AOP Aspect-oriented programming AOP 來說 AOP 令 理 Cross-cutting concerns Aspect Weave 理 Spring AOP 來 AOP 念 4.1.1 理 AOP AOP 見 例 來 例 錄 Logging 錄 便 來 例 行 留 錄 import java.util.logging.*; public class HelloSpeaker
More information(procedure-oriented)?? 2
1 (procedure-oriented)?? 2 (Objected-Oriented) (class)? (method)? 3 : ( 4 ???? 5 OO 1966 Kisten Nygaard Ole-Johan Dahl Simula Simula 爲 6 Smalltalk Alan Kay 1972 PARC Smalltalk Smalltalk 爲 Smalltalk 爲 Smalltalk
More information提问袁小兵:
C++ 面 试 试 题 汇 总 柯 贤 富 管 理 软 件 需 求 分 析 篇 1. STL 类 模 板 标 准 库 中 容 器 和 算 法 这 部 分 一 般 称 为 标 准 模 板 库 2. 为 什 么 定 义 虚 的 析 构 函 数? 避 免 内 存 问 题, 当 你 可 能 通 过 基 类 指 针 删 除 派 生 类 对 象 时 必 须 保 证 基 类 析 构 函 数 为 虚 函 数 3.
More informationWy159.mps
第 章 系 统 开 发 方 法 管 理 信 息 系 统 开 发 的 效 率 质 量 成 本 及 用 户 的 满 意 程 度, 除 了 管 理 技 术 等 因 素 外, 还 与 系 统 开 发 方 法 密 切 相 关 管 理 信 息 系 统 从 产 生 到 现 在 已 经 发 展 了 许 多 开 发 方 法, 这 些 开 发 方 法 各 自 遵 循 一 定 的 基 本 思 想, 适 用 于 一 定 的
More informationMicrosoft Word - 01.DOC
第 1 章 JavaScript 简 介 JavaScript 是 NetScape 公 司 为 Navigator 浏 览 器 开 发 的, 是 写 在 HTML 文 件 中 的 一 种 脚 本 语 言, 能 实 现 网 页 内 容 的 交 互 显 示 当 用 户 在 客 户 端 显 示 该 网 页 时, 浏 览 器 就 会 执 行 JavaScript 程 序, 用 户 通 过 交 互 式 的
More informationLearning Java
Java Introduction to Java Programming (Third Edition) Prentice-Hall,Inc. Y.Daniel Liang 2001 Java 2002.2 Java2 2001.10 Java2 Philip Heller & Simon Roberts 1999.4 Java2 2001.3 Java2 21 2002.4 Java UML 2002.10
More information1.JasperReport ireport JasperReport ireport JDK JDK JDK JDK ant ant...6
www.brainysoft.net 1.JasperReport ireport...4 1.1 JasperReport...4 1.2 ireport...4 2....4 2.1 JDK...4 2.1.1 JDK...4 2.1.2 JDK...5 2.1.3 JDK...5 2.2 ant...6 2.2.1 ant...6 2.2.2 ant...6 2.3 JasperReport...7
More information没 有 多 余 的 Contruol 或 Action 了 原 来 Domain 层 被 服 务 层 Service layer 遮 挡, 在 右 边 图 中, 则 Domain 层 直 接 暴 露 给 前 台 了, 没 有 被 遮 挡, 裸 露 了 这 样 一 步 到 位 实 现 领 域 模 型
文 章 编 号 :1007-757X(2012)1-0036-04 领 域 驱 动 模 型 的 WEB 软 件 系 统 设 计 研 究 摘 要 : J2EE 3 JDK1.7 Tomcat WEB 关 键 词 : 中 图 分 类 号 :TP311 文 献 标 志 码 :A 0 引 言 Web 软 件 系 统 的 分 层 结 构 典 型 的 J2EE 软 件 系 统 开 发 方 法 分 为 三 层 结
More information1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10
Java V1.0.1 2007 4 10 1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10 6.2.10 6.3..10 6.4 11 7.12 7.1
More information《大话设计模式》第一章
第 1 章 代 码 无 错 就 是 优? 简 单 工 厂 模 式 1.1 面 试 受 挫 小 菜 今 年 计 算 机 专 业 大 四 了, 学 了 不 少 软 件 开 发 方 面 的 东 西, 也 学 着 编 了 些 小 程 序, 踌 躇 满 志, 一 心 要 找 一 个 好 单 位 当 投 递 了 无 数 份 简 历 后, 终 于 收 到 了 一 个 单 位 的 面 试 通 知, 小 菜 欣 喜
More informationuntitled
JavaEE+Android - 6 1.5-2 JavaEE web MIS OA ERP BOSS Android Android Google Map office HTML CSS,java Android + SQL Sever JavaWeb JavaScript/AJAX jquery Java Oracle SSH SSH EJB+JBOSS Android + 1. 2. IDE
More information18 UML UP 2.2 UP Software Engineering Process S E P w h o w h a t when h o w 2-2 S E P 2-2 Unified Software Development Process U S D P U M L S E P UP
2 2.1 U P U U P 2. 4 U P R U P Rational Unified Process 2. 5 U P U P O O [Jacobson 1] U P [Kroll 1] [Kruchten 2] [Ambler 1] [Ambler 2] [Ambler 3] R U P 2.3 UP 2.2 U P? U P R U P 2.4 UP R U P 2.5 U P 2.6
More informationCAUTION RISK OF ELECTRIC SHOCK DO NOT OPEN 2
WV-CU950/G WV-CU650/G CAUTION RISK OF ELECTRIC SHOCK DO NOT OPEN 2 S3125A 3 4 5 6 7 8 9 #9 $0 #8 $1 $2 $3 r q w e t $4 i u!0 y WV-CU950!1!3!4!7!6!5!8 @0!9 @3 @2 @1!2 o ALARM ACK ALM RESET ALM SUSPEND ALM
More information概述
OPC Version 1.6 build 0910 KOSRDK Knight OPC Server Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOS_Init...5 2.2.2 KOS_InitB...5 2.2.3
More informationebook71-13
13 I S P Internet 13. 2. 1 k p p p P P P 13. 2. 2 1 3. 2. 3 k p p p 1 3. 2. 4 l i n u x c o n f P P P 13. 2. 5 p p p s e t u p 13. 2. 6 p p p s e t u p P P P 13. 2. 7 1 3. 2. 8 C a l d e r a G U I 13.
More informationFAQ -PowerDesigner9.5.DOC
PowerDesigner 9.5 FAQ 1. PowerDesigner PowerDesigner PowerDesigner (CASE Tool,Computer Aided Software Engineering) PowerDesigner 1989 9.5 2. PowerDesigner PowerDesigner Internet ( Java) PowerDesigner 7.0
More informationMicrosoft Word - ch04三校.doc
4-1 4-1-1 (Object) (State) (Behavior) ( ) ( ) ( method) ( properties) ( functions) 4-2 4-1-2 (Message) ( ) ( ) ( ) A B A ( ) ( ) ( YourCar) ( changegear) ( lowergear) 4-1-3 (Class) (Blueprint) 4-3 changegear
More informationKillTest 质量更高 服务更好 学习资料 半年免费更新服务
KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务 Exam : 310-055Big5 Title : Sun Certified Programmer for the Java 2 Platform.SE 5.0 Version : Demo 1 / 22 1. 11. public static void parse(string str)
More informationChapter 9: Objects and Classes
Java application Java main applet Web applet Runnable Thread CPU Thread 1 Thread 2 Thread 3 CUP Thread 1 Thread 2 Thread 3 ,,. (new) Thread (runnable) start( ) CPU (running) run ( ) blocked CPU sleep(
More information2009年3月全国计算机等级考试二级Java语言程序设计笔试试题
2009 年 3 月 全 国 计 算 机 等 级 考 试 笔 试 试 卷 二 级 Java 语 言 程 序 设 计 ( 考 试 时 间 90 分 钟, 满 分 100 分 ) 一 选 择 题 ( 每 题 2 分, 共 70 分 ) 下 列 各 题 A) B) C) D) 四 个 选 项 中, 只 有 一 个 选 项 是 正 确 的 请 将 正 确 选 项 填 涂 在 答 题 卡 相 应 位 置 上,
More informationjava2d-4.PDF
75 7 6 G r a d i e n t P a i n t B a s i c S t r o k e s e t P a i n t ( ) s e t S t o r k e ( ) import java.awt.*; import java.awt.geom.*; public class PaintingAndStroking extends ApplicationFrame { public
More informationChapter 9: Objects and Classes
Fortran Algol Pascal Modula-2 BCPL C Simula SmallTalk C++ Ada Java C# C Fortran 5.1 message A B 5.2 1 class Vehicle subclass Car object mycar public class Vehicle extends Object{ public int WheelNum
More informationuntitled
1 Outline 數 料 數 數 列 亂數 練 數 數 數 來 數 數 來 數 料 利 料 來 數 A-Z a-z _ () 不 數 0-9 數 不 數 SCHOOL School school 數 讀 school_name schoolname 易 不 C# my name 7_eleven B&Q new C# (1) public protected private params override
More informationwq.doc
Kent Beck James Grenning Robert C. Martin Mike Beedle Jim Highsmith Steve Mellor Arie van Bennekum Andrew Hunt Ken Schwaber Alistair Cockburn Ron Jeffries Jeff Sutherland Ward Cunningham Jon Kern Dave
More informationUML2.0新特性.doc
(Communication diagrams) UML Armour, Frank and Granville Miller. Advanced Use Case Modeling: Software Systems, Addison-Wesley, 2000. Fowler, Martin. UML Distilled: A Brief Guide to the Standard Object
More informationuntitled
51testing www.51testing.com UML Java Unified Modeling Language UML 1 UML 2 UML UML UML UML UML UML use case Java 1 2 3 4( 5 6 7 UNIX Windows OS/2 ( GUI ) 8 51testing www.51testing.com use caseactor ()
More informationImportant Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO
Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS
More informationuntitled
IBM Software Group IBM 2006 IBM Corporation Rational Unified Process VS 2 3 RUP Proven. Practical. Flexible. 4 RUP:, Use-Case,,, (discipline) 5 (Use-case driven), 6 7 8 Rational Unified Process VS 9 Requirements
More informationOSWorkflow Documentation
OSWorkflow Documentation Update Time: 05/09/15 OSWorkflow Java workflow engine API 理 flow 行 XML 來 流 Database UI 不 流 GUI Designer end user 行 JSP+Servlet 行 OSWorkflow 2.8 說 2.7 2.7 了 OSWorkflow library library
More information資訊系統開發模式
第 2 章 資 訊 系 統 開 發 模 式 學 習 目 標 2.1 導 論 2.2 瀑 布 模 式 2.3 漸 增 模 式 2.4 雛 型 模 式 2.5 螺 旋 模 式 2.6 同 步 模 式 2.7 Rational 統 一 流 程 模 式 2.8 敏 捷 軟 體 開 發 2.9 MDA 發 展 生 命 週 期 2.10 結 論 本 章 大 綱 學 習 目 標 詳 讀 本 章, 你 至 少 能
More informationmvc
Build an application Tutor : Michael Pan Application Source codes - - Frameworks Xib files - - Resources - ( ) info.plist - UIKit Framework UIApplication Event status bar, icon... delegation [UIApplication
More information目 录 目 录 1. 安 装 和 快 速 入 门 附 件 1.1 随 机 附 件... 3 1.2 附 件 信 息... 3 连 接 和 设 定 1.3 连 接... 3 1.4 记 录 纸... 4 快 速 入 门 1.5 发 送 传 真 / 复 印... 5 1.6 接 收 传 真... 5 2
KX-FT832CN KX-FT836CN KX-FT836 感 谢 您 购 买 Panasonic 传 真 机 请 于 使 用 前 仔 细 阅 读 操 作 使 用 说 明 书, 并 妥 善 保 管 本 机 与 来 电 显 示 兼 容 您 必 须 向 服 务 供 应 商 / 电 话 公 司 申 请 并 取 得 相 应 的 服 务 目 录 目 录 1. 安 装 和 快 速 入 门 附 件 1.1 随
More informationRunPC2_.doc
PowerBuilder 8 (5) PowerBuilder Client/Server Jaguar Server Jaguar Server Connection Cache Thin Client Internet Connection Pooling EAServer Connection Cache Connection Cache Connection Cache Connection
More informationWebSphere Studio Application Developer IBM Portal Toolkit... 2/21 1. WebSphere Portal Portal WebSphere Application Server stopserver.bat -configfile..
WebSphere Studio Application Developer IBM Portal Toolkit... 1/21 WebSphere Studio Application Developer IBM Portal Toolkit Portlet Doug Phillips (dougep@us.ibm.com),, IBM Developer Technical Support Center
More information2 Java 语 言 程 序 设 计 教 程 1.2.1 简 单 性 Java 语 言 的 语 法 与 C 语 言 和 C++ 语 言 很 接 近, 使 得 大 多 数 程 序 员 很 容 易 学 习 和 使 用 Java 另 一 方 面,Java 丢 弃 了 C++ 中 很 少 使 用 的 很 难
第 1 章 Java 概 述 Java 的 诞 生 Java 的 特 点 Java 开 发 环 境 安 装 与 配 置 创 建 并 运 行 一 个 简 单 的 Java 程 序 Java 语 言 是 当 今 计 算 机 软 件 行 业 中 最 热 门 的 网 络 编 程 语 言, 以 Java 为 核 心 的 芯 片 技 术 编 译 技 术 数 据 库 连 接 技 术, 以 及 基 于 企 业 级
More information9, : Java 19., [4 ]. 3 Apla2Java Apla PAR,Apla2Java Apla Java.,Apla,,, 1. 1 Apla Apla A[J ] Get elem (set A) A J A B Intersection(set A,set B) A B A B
25 9 2008 9 M ICROEL ECTRON ICS & COMPU TER Vol. 25 No. 9 September 2008 J ava 1,2, 1,2, 1,2 (1, 330022 ; 2, 330022) :,. Apla - Java,,.. : PAR ;Apla - Java ; ;CMP ; : TP311 : A : 1000-7180 (2008) 09-0018
More informationIP505SM_manual_cn.doc
IP505SM 1 Introduction 1...4...4...4...5 LAN...5...5...6...6...7 LED...7...7 2...9...9...9 3...11...11...12...12...12...14...18 LAN...19 DHCP...20...21 4 PC...22...22 Windows...22 TCP/IP -...22 TCP/IP
More information13 A DSS B DSS C DSS D DSS A. B. C. CPU D. 15 A B Cache C Cache D L0 L1 L2 Cache 16 SMP A B. C D 17 A B. C D A B - C - D
2008 1 1 A. B. C. D. UML 2 3 2 A. B. C. D. 3 A. B. C. D. UML 4 5 4 A. B. C. D. 5 A. B. C. D. 6 6 A. DES B. RC-5 C. IDEA D. RSA 7 7 A. B. C. D. TCP/IP SSL(Security Socket Layer) 8 8 A. B. C. D. 9 9 A. SET
More informationJavaIO.PDF
O u t p u t S t ream j a v a. i o. O u t p u t S t r e a m w r i t e () f l u s h () c l o s e () public abstract void write(int b) throws IOException public void write(byte[] data) throws IOException
More informationebook140-9
9 VPN VPN Novell BorderManager Windows NT PPTP V P N L A V P N V N P I n t e r n e t V P N 9.1 V P N Windows 98 Windows PPTP VPN Novell BorderManager T M I P s e c Wi n d o w s I n t e r n e t I S P I
More information錄...1 說...2 說 說...5 六 率 POST PAY PREPAY DEPOSIT 更
AX5000 Version 1.0 2006 年 9 錄...1 說...2 說...3...4 說...5 六...6 6.1 率...7 6.2 POST PAY...8 6.3 PREPAY DEPOSIT...9 6.4...10 6.5...11 更...12...12 LCD IC LED Flash 更 兩 RJ11 ( ) DC ON OFF ON 狀 狀 更 OFF 復 狀 說
More information1. 2. Flex Adobe 3.
1. 2. Flex Adobe 3. Flex Adobe Flex Flex Web Flex Flex Flex Adobe Flash Player 9 /rich Internet applications/ria Flex 1. 2. 3. 4. 5. 6. SWF Flash Player Flex 1. Flex framework Adobe Flex 2 framework RIA
More informationuntitled
ArcGIS Server Web services Web services Application Web services Web Catalog ArcGIS Server Web services 6-2 Web services? Internet (SOAP) :, : Credit card authentication, shopping carts GIS:, locator services,
More informationchp6.ppt
Java 软 件 设 计 基 础 6. 异 常 处 理 编 程 时 会 遇 到 如 下 三 种 错 误 : 语 法 错 误 (syntax error) 没 有 遵 循 语 言 的 规 则, 出 现 语 法 格 式 上 的 错 误, 可 被 编 译 器 发 现 并 易 于 纠 正 ; 逻 辑 错 误 (logic error) 即 我 们 常 说 的 bug, 意 指 编 写 的 代 码 在 执 行
More information2/14 Buffer I12, /* x=2, buffer = I 1 2 */ Buffer I243, /* x=34, buffer = I 2 43 */ x=56, buffer = I243 Buffer I243I265 code_int(int x, char *buffer)
1/14 IBM Rational Test RealTime IBM, 2004 7 01 50% IBM Rational Test RealTime IBM Rational Test RealTime 1. 50% IBM Rational Test RealTime IBM Rational Test RealTime 2. IBM Rational Test RealTime Test
More informationJava Access 5-1 Server Client Client Server Server Client 5-2 DataInputStream Class java.io.datainptstream (extends) FilterInputStream InputStream Obj
Message Transition 5-1 5-2 DataInputStream Class 5-3 DataOutputStream Class 5-4 PrintStream Class 5-5 (Message Transition) (Exercises) Java Access 5-1 Server Client Client Server Server Client 5-2 DataInputStream
More informationFun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc
References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2
More information<4D6963726F736F667420506F776572506F696E74202D20332D322E432B2BC3E6CFF2B6D4CFF3B3CCD0F2C9E8BCC6A1AAD6D8D4D8A1A2BCCCB3D0A1A2B6E0CCACBACDBEDBBACF2E707074>
程 序 设 计 实 习 INFO130048 3-2.C++ 面 向 对 象 程 序 设 计 重 载 继 承 多 态 和 聚 合 复 旦 大 学 计 算 机 科 学 与 工 程 系 彭 鑫 pengxin@fudan.edu.cn 内 容 摘 要 方 法 重 载 类 的 继 承 对 象 引 用 和 拷 贝 构 造 函 数 虚 函 数 和 多 态 性 类 的 聚 集 复 旦 大 学 计 算 机 科 学
More informationUser ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2
Terminal Mode No User User ID 150 Password - User ID 150 Password Mon- Cam-- Invalid Terminal Mode No User Terminal Mode No User Mon- Cam-- 2 Mon1 Cam-- Mon- Cam-- Prohibited M04 Mon1 Cam03 Mon1 Cam03
More information1
PRIMETON TECHNOLOGIES, LTD. EOS EOS Manager No part of this document may be reproduced, stored in any electronic retrieval system, or transmitted in any form or by any means, mechanical, photocopying,
More informationKillTest 质量更高 服务更好 学习资料 半年免费更新服务
KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务 Exam : 1Z0-854 Title : Java Standard Edition 5 Programmer Certified Professional Upgrade Exam Version : Demo 1 / 12 1.Given: 20. public class CreditCard
More informationMicrosoft PowerPoint - plan08.ppt
程 序 设 计 语 言 原 理 Principle of Programming Languages 裘 宗 燕 北 京 大 学 数 学 学 院 2012.2~2012.6 8. 面 向 对 象 为 什 么 需 要 面 向 对 象? OO 语 言 的 发 展 面 向 对 象 的 基 本 概 念 封 装 和 继 承 初 始 化 和 终 结 处 理 动 态 方 法 约 束 多 重 继 承 总 结 2012
More informationStrings
Inheritance Cheng-Chin Chiang Relationships among Classes A 類 別 使 用 B 類 別 學 生 使 用 手 機 傳 遞 訊 息 公 司 使 用 金 庫 儲 存 重 要 文 件 人 類 使 用 交 通 工 具 旅 行 A 類 別 中 有 B 類 別 汽 車 有 輪 子 三 角 形 有 三 個 頂 點 電 腦 內 有 中 央 處 理 單 元 A
More informationMicrosoft Word - 3D手册2.doc
第 一 章 BLOCK 前 处 理 本 章 纲 要 : 1. BLOCK 前 处 理 1.1. 创 建 新 作 业 1.2. 设 定 模 拟 控 制 参 数 1.3. 输 入 对 象 数 据 1.4. 视 图 操 作 1.5. 选 择 点 1.6. 其 他 显 示 窗 口 图 标 钮 1.7. 保 存 作 业 1.8. 退 出 DEFORMTM3D 1 1. BLOCK 前 处 理 1.1. 创 建
More information雲端 Cloud Computing 技術指南 運算 應用 平台與架構 10/04/15 11:55:46 INFO 10/04/15 11:55:53 INFO 10/04/15 11:55:56 INFO 10/04/15 11:56:05 INFO 10/04/15 11:56:07 INFO
CHAPTER 使用 Hadoop 打造自己的雲 8 8.3 測試 Hadoop 雲端系統 4 Nodes Hadoop Map Reduce Hadoop WordCount 4 Nodes Hadoop Map/Reduce $HADOOP_HOME /home/ hadoop/hadoop-0.20.2 wordcount echo $ mkdir wordcount $ cd wordcount
More informationjavaexample-02.pdf
n e w. s t a t i c s t a t i c 3 1 3 2 p u b l i c p r i v a t e p r o t e c t e d j a v a. l a n g. O b j e c t O b j e c t Rect R e c t x 1 y 1 x 2 y 2 R e c t t o S t r i n g ( ) j a v a. l a n g. O
More informationJava 1 Java String Date
JAVA SCJP Java 1 Java String Date 1Java 01 Java Java 1995 Java Java 21 Java Java 5 1-1 Java Java 1990 12 Patrick Naughton C++ C (Application Programming Interface API Library) Patrick Naughton NeXT Stealth
More informationAL-M200 Series
NPD4754-00 TC ( ) Windows 7 1. [Start ( )] [Control Panel ()] [Network and Internet ( )] 2. [Network and Sharing Center ( )] 3. [Change adapter settings ( )] 4. 3 Windows XP 1. [Start ( )] [Control Panel
More information1 目 錄 1. 簡 介... 2 2. 一 般 甄 試 程 序... 2 3. 第 一 階 段 的 準 備... 5 4. 第 二 階 段 的 準 備... 9 5. 每 間 學 校 的 面 試 方 式... 11 6. 各 程 序 我 的 做 法 心 得 及 筆 記... 13 7. 結 論..
如 何 準 備 研 究 所 甄 試 劉 富 翃 1 目 錄 1. 簡 介... 2 2. 一 般 甄 試 程 序... 2 3. 第 一 階 段 的 準 備... 5 4. 第 二 階 段 的 準 備... 9 5. 每 間 學 校 的 面 試 方 式... 11 6. 各 程 序 我 的 做 法 心 得 及 筆 記... 13 7. 結 論... 20 8. 附 錄 8.1 推 甄 書 面 資 料...
More informationepub 61-2
2 Web Dreamweaver UltraDev Dreamweaver 3 We b We b We Dreamweaver UltraDev We b Dreamweaver UltraDev We b We b 2.1 Web We b We b D r e a m w e a v e r J a v a S c r i p t We b We b 2.1.1 Web We b C C +
More informationcoverage2.ppt
Satellite Tool Kit STK/Coverage STK 82 0715 010-68745117 1 Coverage Definition Figure of Merit 2 STK Basic Grid Assets Interval Description 3 Grid Global Latitude Bounds Longitude Lines Custom Regions
More informationSerial ATA ( Nvidia nforce430)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A (6) Microsoft Win
Serial ATA ( Nvidia nforce430)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A... 11 (6) Microsoft Windows 2000... 14 Ác Åé å Serial ATA ( Nvidia nforce430)
More informationVHDL(Statements) (Sequential Statement) (Concurrent Statement) VHDL (Architecture)VHDL (PROCESS)(Sub-program) 2
VHDL (Statements) VHDL(Statements) (Sequential Statement) (Concurrent Statement) VHDL (Architecture)VHDL (PROCESS)(Sub-program) 2 (Assignment Statement) (Signal Assignment Statement) (Variable Assignment
More informationuntitled
-JAVA 1. Java IDC 20 20% 5 2005 42.5 JAVA IDC JAVA 60% 70% JAVA 3 5 10 JAVA JAVA JAVA J2EE J2SE J2ME 70% JAVA JAVA 20 1 51 2. JAVA SUN JAVA J2EE J2EE 3. 1. CSTP CSTP 2 51 2. 3. CSTP IT CSTP IT IT CSTP
More informationuntitled
rxli@public.wh.hb.cn http://idc.hust.edu.cn/~rxli/ 2 3 ( ) (Distributed System) Integrated System () 4 5 6 System Integration 7 8 Integrated System 9 1.1 CIMS IDEF CSCW STEP MIS MRPII ERP CRM SCM MIS:
More information<ADB6ADB1C25EA8FAA6DB2D4D56432E706466>
packages 3-31 PART 3-31 03-03 ASP.NET ASP.N MVC ASP.NET ASP.N MVC 4 ASP.NET ASP.NE MVC Entity Entity Framework Code First 2 TIPS Visual Studio 20NuGetEntity NuGetEntity Framework5.0 CHAPTER 03 59 3-3-1
More informationMicrosoft Word - Web Dynpro For ABAP跟踪测试工具简介 _2_.doc
Web Dynpro For ABAP 跟 踪 测 试 工 具 简 介 概 述 从 传 统 ABAP UI 开 发 ( 如 Dynpro,ABAP List 等 等 ) 直 接 转 到 Web Dynpro For ABAP 开 发 来, 我 们 可 能 会 发 现 那 些 传 统 的 跟 踪 测 试 工 具 ( 如 SAT, 也 许 SAAB 还 是 一 个 简 单 易 用 的 合 适 的 工 具
More information2/80 2
2/80 2 3/80 3 DSP2400 is a high performance Digital Signal Processor (DSP) designed and developed by author s laboratory. It is designed for multimedia and wireless application. To develop application
More informationEdge-Triggered Rising Edge-Triggered ( Falling Edge-Triggered ( Unit 11 Latches and Flip-Flops 3 Timing for D Flip-Flop (Falling-Edge Trigger) Unit 11
Latches and Flip-Flops 11.1 Introduction 11.2 Set-Reset Latch 11.3 Gated D Latch 11.4 Edge-Triggered D Flip-Flop 11.5 S-R Flip-Flop 11.6 J-K Flip-Flop 11.7 T Flip-Flop 11.8 Flip-Flops with additional Inputs
More informationMicrosoft Word - Learn Objective-C.doc
Learn Objective C http://cocoadevcentral.com/d/learn_objectivec/ Objective C Objective C Mac C Objective CC C Scott Stevenson [object method]; [object methodwithinput:input]; output = [object methodwithoutput];
More informationChapter 9: Objects and Classes
What is a JavaBean? JavaBean Java JavaBean Java JavaBean JComponent tooltiptext font background foreground doublebuffered border preferredsize minimumsize maximumsize JButton. Swing JButton JButton() JButton(String
More informationOOP with Java 通知 Project 4: 4 月 18 日晚 9 点 关于抄袭 没有分数
OOP with Java Yuanbin Wu cs@ecnu OOP with Java 通知 Project 4: 4 月 18 日晚 9 点 关于抄袭 没有分数 复习 类的复用 组合 (composition): has-a 关系 class MyType { public int i; public double d; public char c; public void set(double
More informationMicrosoft Word - SupplyIT manual 3_cn_david.doc
MR PRICE Supply IT Lynette Rajiah 1 3 2 4 3 5 4 7 4.1 8 4.2 8 4.3 8 5 9 6 10 6.1 16 6.2 17 6.3 18 7 21 7.1 24 7.2 25 7.3 26 7.4 27 7.5 28 7.6 29 7.7 30 7.8 31 7.9 32 7.10 32 7.11 33 7.12 34 1 7.13 35 7.14
More information<4D6963726F736F667420576F7264202D20BBF9D3DA416E64726F6964C6BDCCA8B5C4B5E7D7D3C5C4C2F4CFB5CDB32E646F63>
基 于 Android 平 台 的 电 子 拍 卖 系 统 摘 要 本 电 子 拍 卖 系 统 其 实 就 是 一 个 电 子 商 务 平 台, 只 要 将 该 系 统 部 署 到 互 联 网 上, 客 户 都 可 以 在 该 系 统 上 发 布 想 出 售 的 商 品, 也 可 以 对 拍 卖 中 的 商 品 参 与 竞 价 整 个 过 程 无 须 人 工 干 预, 由 系 统 自 动 完 成 本
More information<4D6963726F736F667420576F7264202D20C8EDC9E82DCFC2CEE7CCE22D3039C9CF>
全 国 计 算 机 技 术 与 软 件 专 业 技 术 资 格 ( 水 平 考 试 2009 年 上 半 年 软 件 设 计 师 下 午 试 卷 ( 考 试 时 间 14:00~16:30 共 150 分 钟 请 按 下 述 要 求 正 确 填 写 答 题 纸 1. 在 答 题 纸 的 指 定 位 置 填 写 你 所 在 的 省 自 治 区 直 辖 市 计 划 单 列 市 的 名 称 2. 在 答
More information使 用 Java 语 言 模 拟 保 险 箱 容 量 门 板 厚 度 箱 体 厚 度 属 性 锁 具 类 型 开 保 险 箱 关 保 险 箱 动 作 存 取 款
JAVA 程 序 设 计 ( 肆 ) 徐 东 / 数 学 系 使 用 Java 语 言 模 拟 保 险 箱 容 量 门 板 厚 度 箱 体 厚 度 属 性 锁 具 类 型 开 保 险 箱 关 保 险 箱 动 作 存 取 款 使 用 Java class 代 表 保 险 箱 public class SaveBox 类 名 类 类 体 实 现 封 装 性 使 用 class SaveBox 代 表 保
More informationINTRODUCTION TO COM.DOC
How About COM & ActiveX Control With Visual C++ 6.0 Author: Curtis CHOU mahler@ms16.hinet.net This document can be freely release and distribute without modify. ACTIVEX CONTROLS... 3 ACTIVEX... 3 MFC ACTIVEX
More informationIC-900W Wireless Pan & Tilt Wireless Pan & Tilt Remote Control / Night Vision FCC ID:RUJ-LR802UWG
IC-900W Wireless Pan & Tilt Wireless Pan & Tilt Remote Control / Night Vision FCC ID:RUJ-LR802UWG --------------------------------------------TABLE OF CONTENTS------------------------------------------
More information计 算 机 系 统 应 用 http://www.c-s-a.org.cn 2016 年 第 25 卷 第 4 期 线 程 的 复 用 [2,3]. 通 常 情 况 下, 服 务 器 端 程 序 在 启 动 时 创 建 若 干 数 量 的 线 程 对 象 并 缓 存 起 来, 此 时 它 们 处 于
1 线 程 池 技 术 在 考 试 系 统 中 的 应 用 葛 萌 1, 于 博 2, 欧 阳 宏 基 ( 咸 阳 师 范 学 院 信 息 工 程 学 院, 咸 阳 712000) ( 河 南 建 筑 职 业 技 术 学 院 信 息 工 程 系, 郑 州 450064) 1 摘 要 : 当 较 大 规 模 客 户 端 并 发 请 求 服 务 器 端 应 用 程 序 时, 传 统 的 为 每 个 请
More informationMicrosoft Word - Broker.doc
Broker 模式 采用 broker 模式对分布式计算进行简单模拟 系统在一个进程内模拟分布式环境, 因此不涉及网络编程和进程间通信,Broker 通过本地函数调用的方式实现 request 和 response 的转发 采用 broker 模式对分布式计算进行简单的模拟, 要求如下 : 设计四个 server, 一个 server 接收两个整数, 求和并返回结果, 一个 server 接收两个整数,
More informationSerial ATA ( nvidia nforce4 Ultra/SLI)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A (6) Micro
Serial ATA ( nvidia nforce4 Ultra/SLI)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 6 (4) S A T A... 9 (5) S A T A... 11 (6) Microsoft Windows 2000... 14 Ác Åé å Serial ATA ( nvidia
More informationIP Audio Conference Phone 2033 User Guide
±Íà Š Nortel Communication Server 1000 Nortel IP 音 频 会 议 话 机 2033 用 户 指 南 修 订 历 史 修 订 历 史 2005 年 4 月 标 准 版 1.00 此 文 档 是 适 用 于 Communication Server 1000 IP 音 频 会 议 话 机 2033 的 新 文 档 3 修 订 历 史 4 目 录 目 录
More information30 2008,2(1) 基 礎 上, 各 種 數 據 均 以 圖 形 化 方 式 表 達, 因 此 各 級 分 析 結 果 均 可 以 隨 時 檢 驗 另 外, 由 於 系 統 是 以 網 站 形 式 發 佈, 任 何 用 戶 均 可 通 過 網 絡 查 詢 瀏 覽 系 統 中 的 數 據, 因
第 2 卷 第 1 期 澳 門 科 技 大 學 學 報 Vol.2 No.1 2008 年 6 月 30 日 Journal of Macau University of Science and Technology June 30, 2008 29 月 球 探 測 數 據 實 時 管 理 系 統 的 開 發 朱 紅 岷 **, 祝 夢 華, 劉 良 鋼 *, 許 敖 敖 ( 澳 門 科 技 大 學
More informationJava java.lang.math Java Java.util.Random : ArithmeticException int zero = 0; try { int i= 72 / zero ; }catch (ArithmeticException e ) { // } 0,
http://debut.cis.nctu.edu.tw/~chi Java java.lang.math Java Java.util.Random : ArithmeticException int zero = 0; try { int i= 72 / zero ; }catch (ArithmeticException e ) { // } 0, : POSITIVE_INFINITY NEGATIVE_INFINITY
More informationepub 94-3
3 A u t o C A D L AY E R L I N E T Y P E O S N A P S T Y L E X R E F - AutoLISP Object ARX A u t o C A D D C L A u t o C A D A u t o d e s k P D B D C L P D B D C L D C L 3.1 Wi n d o w s A u t o C A D
More informationMicrosoft Word - 981192001.htm
098 年 度 11901 電 腦 軟 體 設 計 (JAVA) 乙 級 技 術 士 技 能 檢 定 學 科 測 試 試 題 本 試 卷 有 選 擇 題 80 題, 每 題 1.25 分, 皆 為 單 選 選 擇 題, 測 試 時 間 為 100 分 鐘, 請 在 答 案 卡 上 作 答, 答 錯 不 倒 扣 ; 未 作 答 者, 不 予 計 分 准 考 證 號 碼 : 姓 名 : 單 選 題 :
More information