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 .. 156 157 158 159 160 161 < 162 > 163 164 165 .. 166 >> Next

GoodSetSize.java example, 124-125 GoodStringTokenizer.java example, 142-144
GoodURLPost.java example, 135-136 GoodVoter.Servlet.java example,
296-297
GoodWindowsExec.java example, 9-11 GoodWinRedirect.java example, 13-15 GridLayout manager, 124
448 Index
H
HashMap class, 162 HashSet class, 116, 162 Hashtable class, 162 Help targets (ANT), 91 hiding implementation details, 39-43 HRMS (Human Resources Management Systems), 385 HTTPClientPost.java example, 137-140 HTTPConnection class, 137 httpGet() method, 169, 174, 180, 195 HTTPResponse class, 137 HttpSession class, 221 HttpURLConnection class, 133 Human Resources Management Systems (HRMS), 385 Hypertext Transfer Protocol (HTTP), 126
I
IANA charset registry, 18 IDEs (integrated development environments), 99 IllegalArgumentException value, 31 IllegalStateException value, 247 IllegalThreadSafeException value, 5-6 ImageAnnotationServer.java, 27-29 image obsession, 348-352 implementation details, hiding, 39-43 import tag, 258 include directive, 256, 258 InitialDirContext class, 243 init() method, 239, 273-274 init-params element, 253 input/output (I/O), non-blocking server, 26-30 instance variables, in servlets, 269, 272-274, 278 instantiation, lazy instantiation, 118, 187 Integer object, 149 integrated development environments (IDEs), 99 interfaces BasicService, 233 BusinessQueryManager, 401-402 CallableStatement, 364 ClipboardService, 233 DocumentLS, 77 DownloadService, 233-234 Enumeration, 157-158, 161-162 FileOpenService, 233 FileSaveService, 233 MouseListener, 80 MouseMotionListener, 80 MouseWheelListener, 80 NIO packages, 18-19 ParseErrorEvent, 77
PersistenceService, 233 PrintService, 233 RequestDispatcher, 247 SessionSynchronization, 434-435 SimpleTestIF, 420 StateTellerBean, 440-441 Transaction, 393 See also classes int getMaxInactiveInterval() method, 221 invalidate () method, 225-227 invariants, 60
I/O (input/output), non-blocking server, 26-30 isAcceptable() method, 33 isDirectory() method, 152 isFile() method, 152 isNew() method, 222, 226-227, 318 isOpen() method, 393 isPopupTrigger() method, 84, 88 isUserInRole() method, 238 Iterator class, 157-158, 161-162
J
Java API for XML-based Remote Procedure Call (JAX-RPC)
DII calls, 423-426 dynamic proxies, 421-423 overview, 328, 417-418 stub classes, 420 web services, 418 Java API for XML Processing (JAXP), 68 Java API for XML Registries (JAXR), 328 Java applications, deploying, 109-110 java classname command, 108 Java Community Process (JCP) program,
116, 155 Java Data Objects (JDO), 385 Javadoc tags, 94
Java Document Object Model (JDOM), 79 Java Extension Mechanism, 110-111 Java Hotspot Client VM, 423-424 java -jar jarname command, 108 java.lang.Throwable class, 41 JavaNCSS utility, 93
Java Network Launching Protocol (JNLP), 229-230
Java Regular Expressions API, 266 JavaServer Pages (JSPs) design errors compiled code, 210-213 model 1 architecture, 214 model 2 architecture, 220 request/response paradigm, 208 state, maintaining, 209-210
Index 449
overview, 201
reuse and content delivery, 255-259 java.sql.DatabaseMetaData class, 353 Java Standard Template Library (JSTL), 258 Java 2 Enterprise Edition (J2EE) architecture considerations, 329-333 Java 2 Micro Edition (J2ME), 162 java.util.logging package BadLoggerExample, 45-47 getLevel() method, 48 GoodLoggerExample.java, 52 logger-handler relationship, 51 logging granularity, levels of, 45 overview, 44
setLevel() method, 51-52 Java Virtual Machine (JVM), 108-109 Java Web Start application, 231-232 jaxp.jar package, 111 JAXP (Java API for XML Processing), 68 JaxpSave.java, 74-75 JAXR (Java API for XML Registries), 328 JAX-RPC. See Java API for XML-based Remote Procedure Call JButton class, 165 JCACHE specification, 207 JComboBox class, 165 JConfig library, 7
JCP (Java Community Process) program,
116, 155
JDBC DataSource resource pool, 384 JDepend utility, 93 JDO (Java Data Objects), 385 JDOM (Java Document Object Model), 79 JdomSave.java example, 79 JEditorPane class, 298 JFrame class, 149, 151 JFreeChart package, 348 JLayeredPane class BadLayeredPane.java example, 147-148 GoodLayeredPane.java example, 150 overview, 146 JList class, 165
JNLP (Java Network Launching Protocol), 229-230 JPanel class, 151 JRootPane class, 148 JScrollPane class, 298 JSPs. See JavaServer Pages JSTL (Java Standard Template Library), 258 JTextArea class, 171 JTextField class, 298 J2EE (Java 2 Enterprise Edition) architecture considerations, 329-333 J2ME (Java 2 Micro Edition), 162
JUnit tests AllTests.java example, 100 ANT (Another Neat Tool) and, 90 dbQueryBean.java example, 105 dbQueryTestCase.java example, 105-107 employeeFormBean.java example, 101-102 employeeFormBeanTestCase.java example, 102-103 JVM (Java Virtual Machine), 108-109
L
lastModified() method, 152 lazy instantiation, 118, 187 LDAPAccessControl, 40 LDAPException class, 41 least common denominator (LCD), 80 levels of granularity, 45 level 3 specifications (DOM), 76-77 lifecycle_build.xml example, 89 Lightweight Directory Access Protocol (LDAP) directories, 235-239 overview, 39 LinkedHashSet class, 162 LinkedList class, 162 listCategories() method, 114-115 listings
Previous << 1 .. 156 157 158 159 160 161 < 162 > 163 164 165 .. 166 >> Next