JDBC and Tomcat context settings
JDBC (Java Database Connectivity) is a Java API for connecting and interacting with relational databases. Tomcat is a popular web server and servlet container that can also be used
Read tutorialTHE TUTORIAL LIBRARY
JDBC (Java Database Connectivity) is a Java API for connecting and interacting with relational databases. Tomcat is a popular web server and servlet container that can also be used
Read tutorialThe JSTL, includes a set of JSP tags that allow you to access a database via SQL directly from your JSP pages. The obvious advantage of the JSP tags for SQL is simplicity. It's eas
Read tutorialThe central abstraction of the MIDP UI is a screen, which is an object that encapsulates device-specific graphics rendering user input. Only one screen can be visible at a time, an
Read tutorialSimpleDateFormat is a concrete subclass of DateFormat. It allows you to define your own formatting patterns that are used to display date and time information. One of its construct
Read tutorialReflection is the ability of software to analyze itself. This is provided by the java.lang.reflect package and elements in Class. Reflection is an important capability, needed when
Read tutorialIt is possible to create stand-alone AWT-based applications with a Window. To do this, simply create an instance of the window or windows you need inside main(). For example, the f
Read tutorialDatagrams are bundles of information passed between machines. They are somewhat like a hard throw from a well-trained but blindfolded catcher to the third baseman. Once the datagra
Read tutorialURLConnection is a general-purpose class for accessing the attributes of a remote resource. Once you make a connection to a remote server, you can use URLConnection to inspect the
Read tutorialThe very simple example that follows opens a connection to a "whois" port on the InterNIC server, sends the command-line argument down the socket, and then prints the data that is
Read tutorialThe InetAddress class has no visible constructors. To create an InetAddress object, you have to use one of the available factory methods. Factory methods are merely a convention wh
Read tutorialThe following program illustrates how to use object serialization and deserialization. It begins by instantiating an object of class MyClass. This object has three instance variabl
Read tutorialStreamTokenizer defines several methods. In this example, we will use only a few. To reset the default set of delimiters, we will employ the resetSyntax() method. The default set o
Read tutorialOne example today. A better developer tomorrow.