Books
in black and white
Main menu
Share a book About us Home
Books
Biology Business Chemistry Computers Culture Economics Fiction Games Guide History Management Mathematical Medicine Mental Fitnes Physics Psychology Scince Sport Technics
Ads

More Java Pitfalls Share Reactor - Daconta M,C.

Daconta M,C. More Java Pitfalls Share Reactor - Wiley publishing, 2003. - 476 p.
ISBN: 0-471-23751-5
Download (direct link): morejavapitfallssharereactor2003.pdf
Previous << 1 .. 159 160 161 162 163 164 < 165 > 166 >> Next

340, 364
public Process exec commands, 4 putInt() method, 26 putInUserData() method, 272-273 putShort() method, 26 putValue() method, 221, 224, 227
Q
query builders, 353 querying, by concept, 415-417
454 Index
R
RandomAccessFile class, 17, 152 Reactor pattern, 30-31 Registry Information Model (RIM), 398 RegistryObject class, 403 Relational Database Management Systems (RDBMS), 235 RemoteEJBServlet example, 342-343, 345 Remote Method Invocation (RMI), 335, 390 Remote Procedure Call (RPC), 126 removeBlankNodes() method, 170 renameTo() method, 152, 155 repaint() method, 124 replaceAll() method, 265 replaceString() method, 173 Representational State Transfer (REST), 163 RequestDispatcher interface, 247 reset() method, 390 resource managers defined, 382
resource manager connection factory, 370 result sets, multiple concurrent, problems with, 353, 355, 357-359 RIM (Registry Information Model), 398 RMI (Remote Method Invocation), 335 Root Logger, 51
RPC (Remote Procedure Call), 126 Runtime class, 4
Runtime.exec() method, 6, 8, 15
S
scalability, 334
ScatteringByteChannel class, 17 ScheduleSwitcher.java example, 53-56 scripts batch, 98
ThreadGroup, 201, 204 sealed packages, 111-112 search() method, 366-367, 369 security, optional packages, 112 SelectableChannel class, 18 SelectionKey class, 31, 33 select() method, 31, 33 selectNodes() method, 117 Selector class, 18 Selector utility (NIO packages), 26-27 selectSingleNode() method, 73 ServerSocketChannel class, 18, 30 ServerSocket class, 17, 30 servlet-based applications, 223 ServletContext object, 276, 304 ServletOutputStream class, 294
servlets
connections within, 278-279, 281, 285, 288 files from, reading, 302-306 instance variables in, 269, 272-274, 278 output mechanisms in, 291-295 URL rewriting, 321 servlet sessions, 316-317 session beans entity beans, 366 message-driven, 365-366 passivated state, 435 stateful, 367-369, 434 stateless, 369-372 transaction state problem, 435 sessions defined, 316
getSession() method, 308 in-use stage, 318 multiple-submit problem, 317 servlet sessions, 316 SessionSynchronization interface, 434-435 session variables, 210 setAttribute() method, 318 setDate() method, 376 setFrom() method, 439 setGUI() method, 120 setInternalValues() method, 126 setLayout() method, 124 setLevel() method, 51-52 setPage() method, 298 setRequestProperty() method, 133 setSize() method, 122-125 setString() method, 376 setUseParentHandlers() method, 51-52 showDetails() method, 190 showSwitchedDays() method, 56 SignOnVideoBean session bean, 360-361 Simple Object Access Protocol (SOAP), 126 SimpleTestIF interface, 420 Singleton pitfalls, avoiding, 117-121 16-bit unicode characters, 18 SlowFileCopy.java, 20-21 SOAPHandler object, 341, 347 SOAPHome object, 341, 345-346 SocketChannel class, 17-18 Socket class, 17 SpecificationLink path, 408 split() method, 266 SQL commands, 96 stack tracing, 351-352 startApp() method, 175, 177 stateful session beans, 368, 434 stateless session beans, 368-372
Index 455
state parameter, 204 StateTellerBean interface, 440-441 static allocate() method, 26 StreamGobbler class, 11 StringBuffer class, 172 string comparisons, avoiding, 185 String.equals() method, 167 stringExists() method, 173 String getId() method, 221 StringTokenizer class, 4, 140, 142, 146 Struts framework, 220 stub classes, 420 submissions checksubmitcount() method, 315 multiple handling, 316-320 preventing, 313-315 processing simple, 313 SwingUtilities class, 88 System.out.println() method, 60, 102
T
tags
Cewold tag library, 348 depends, 89 forward, 259 import, 258 Javadoc, 94 See also directives telephone number formats, 262-263 temporary objects, avoiding, 186 TestExec.java, 15-16 theIndex object, 367 ThreadGroup scripts, 201, 204 Throwable.printStackTrace() method, 41 TokenCollectionTester.java example, 145-146 tokenize() method, 142, 144 topicId parameter, 204 Transaction interface, 393 transactions, defined, 334-335 transferTo() method, 21 TreeSet class, 162
U
UDP (User Datagram Protocol), 26-27 Uniform Resource Identifiers (URIs) as file references, 297-300, 302 overview, 163 Universal Description and Discovery Integration (UDDI), 398 Universally Unique Identifier (UUID), 364
UnknownHostException value, 302 URLConnection class, 127, 134 URLConnectionFactory class, 127 URLStreamHandler class, 127 User Datagram Protocol (UDP), 26-27 user properties, storing, 36
V
validateBean.java example, 262-263 values() method, 162 Vector class, 162 Vector.remove() method, 159 versioning optional packages, 112 VideoUser entity bean, 360-361, 363 Virtual Machine (VM), 4 void invalidate() method, 221 void putValue() method, 221 void removeValue() method, 222 void setMaxInactiveInterval() method, 222 VoterApp object, 291-292
W
waitFor() method, 5 Web Application Deployment Descriptor, 307-308 Web Archive (WAR) files, 95 Web controller architecture, 245 Web Service Description Language (WSDL), 403 Win32 error code. See errors Windows Registry, preferences stored in, 38 writeInt() method, 23 write() method, 295 writeNode() method, 79 Write Once, Run Anywhere (WORA), 155 WSDL (Web Service Description Language), 403 W3C Load specification, 80
Previous << 1 .. 159 160 161 162 163 164 < 165 > 166 >> Next