Friday, May 6, 2011

java training

0 comments

Open Training Notes

Further Information:
Home
About Us
Amendments
Courses
Help Forum
Author
Java training notes

The Java training notes in this list comprise a complete introduction course taking you from a first Java class (program) through to writing Servlets and JSPs - in other words to writing Web based applications in Java. If you're not familiar with HTML and/or Object Oriented Design principles, our General topic training notes are also available on this site.

Java Introduction
The fundamental elements of Java. Source Code. Class files. The Java Runtime Environment. The Java World. Java development environments and tools. Java Runtime Environments. Java distributions. Java standard packages. Java versions.
You may download (.pdf) or link to source index

Hello Java World
A first program explained. Methods and classes. Blocks and statement structure. Declaring classes and methods. Within a statement. Reserved words. Commenting your source. The code in operation. A further program.
You may download (.pdf) or link to source index

Variables
First use of variables in Java. Variable names. Declaring and initialising variables. Primitive types. Type casting and conversion. Reading input from the user.
You may download (.pdf) or link to source index

Loops and Conditional Statements
Booleans. "if" statement. "while" loop. "for" loop. Labels and breaks.
You may download (.pdf) or link to source index

Arrays
Definition and declaration. Use. Array manipulation and replacement. Multidimensional arrays. Arrays of Objects.
You may download (.pdf) or link to source index

Objects and Classes
Using an instance of a class. Some detail of using an object. Writing your own class. Enhancements to the basic class structure. Class or static methods. Direct variable access. this. Overloading. An example. Naming conventions. Alternative:.
You may download (.pdf) or link to source index

Strings
Character variables. String constants. Creating String objects. Operations on strings. Comparing strings. Accessing characters within strings. Character arrays v String objects. String buffers.
You may download (.pdf) or link to source index

Packages
Overview. Package directory structure. Importing classes from a package. Introduction to standard packages.
You may download (.pdf) or link to source index

Class Access
Private, public, protected. Inner classes. "finalize" method.
You may download (.pdf) or link to source index

Extending Classes and More
Extended classes. Encapsulation. Alternative exercise. Abstract Classes. Getting your design right. The universal superclass. Interfaces. The final modifier.
You may download (.pdf) or link to source index

Java in the Web Page
Structure overview. The methods you may and must provide. Including Java in your page: HTML tags. The Abstract Windowing Toolkit.
You may download (.pdf) or link to source index

Exceptions
"trying" and "catching". "throwing". "finally". Defining your own exceptions.
You may download (.pdf) or link to source index

More Input and Output
Overview. The Wellreader class. Input/output from basics. Streams. Writing to a file. Formatted output. Reading from a file.
You may download (.pdf) or link to source index

Fundamental classes
The fundamental packages. java.lang. java.util. Other fundamental packages. Data wrappers. Why use data wrappers?. Other methods on Float objects. Other methods on other data wrapper objects. java.lang.Math. External low-level calls. The System class - miscellaneous features. The System class - garbage collection. The Runtime and Process classes. A word of caution on system classes. Utility objects to hold multiple simple objects. Vectors. Stacks. Hashes. Enumerations. The StringTokenizer. Collections. ArrayLists. HashSets. Iterators and general Collection interfaces. HashMaps. Sorting. Basic sorting in Java. Comparator classes. The Comparable interface.
You may download (.pdf) or link to source index

Putting the Java Language Together
Sample Answer.
You may download (.pdf) or link to source index

Naming Conventions and Code Management
Within a class. Variable Naming. Constant naming. Commenting. Further coding standards. The specification of the interface to a class. Class naming. Method Naming. Instance variable naming. Bean-able and other standards. Grouping together classes into packages. Naming conventions. Imports. The four Ps. Deploying multiple classes. Directories and files. Jars. Accessing shared classes. CLASSPATH and CLASSDIR. Other Virtual Machines.
You may download (.pdf) or link to source index

Serialization
Saving objects to a file.
You may download (.pdf) or link to source index

Internationalization
Local Representations. Unicodes. Resource bundles.
You may download (.pdf) or link to source index

Java Beans
What are beans?. A Java bean is not a class!. Beanboxes. Indexed, bound and constrained properties. Auxiliary classes. Sample Beans. Tools.
You may download (.pdf) or link to source index

Servlets
What is a Servlet?. Running the server. A first servlet. The HTML form. The servlet. Reusing a servlet. Form and results in same window. Interactive form.
You may download (.pdf) or link to source index

Extending Graphics in Java
Background. Simple Swing. Hello Swing World. Using multiple components. Event handling. Feedback from events on individual components. Providing feedback in the GUI. Hello Swing World as an applet. A Complete GUI on an applet. More Complex Swing. The JTree component. The JTable Component.
You may download (.pdf) or link to source index

Servlets in More Detail
Introduction. What is a Servlet?. How do Servlets fit into the scheme of things?. What alternatives are there to servlets?. Servlet Engines. Java Class Structure. Data Interface. A first servlet. Reading from a form. At a higher level. Get v Post. The life of a servlet. Initialisation. Destruction. Example procedure - take an application of ours, modify, re-upload. Maintaining State. Session Objects. Rewriting URLs. Hidden fields. Programming techniques. Webifying output. Keeping code and pages separate. State Diagrams. Other facilities of servlets. Multiuser Servlets. Servlet Descriptions. Cookies. Sessions in Servlets.
You may download (.pdf) or link to source index

JSP - JavaServer Pages
Introduction. A simple worked example. The structure of a JSP Page. What basics can I put in my HTML?. Entering data into a form. What happens to the form data?. What happens next?. Example - form, data validation, initial page and and response in single script. How To Create a Form. A Simple Hello Application. Constructing the HTML Form. Using the GET and POST Methods. Writing the Bean. Getting Data From the Form to the Bean. Checking the Request Object. Getting data from the Bean to the JSP Page. How to run the example. Using scripting elements. How to add scripting. The difference between <%, <%=, and <%!. The Number Guess Game. Using Scripting Elements in a JSP File. Mingling scripting elements with tags. When are the scripting elements executed?. How to run the example. A JSP that maintains state.
You may download (.pdf) or link to source index

JDBC - Relational Database Access
Interfacing MySQL to Java. Using JDBC to access other databases. Using JDBC on the Web. Example: Managing a table of information about a population. Example: A more general table management Servlet. Enhancing our examples.
You may download (.pdf) or link to source index

Java Roadmap - Beyond the Fundamentals
Java releases. Java Runtime Environments. "Stand Alone" Java programs. Java Applets. Java servlets. Java Server Pages. Other JREs. Application Programmer Interfaces (APIs). Useful "basic" classes. The Java foundation classes. The Threads API. JDBC. RMI. Java Beans. Enterprise Beans. JNDI. and also .... Synchronized. Serializable and transient. jars. Summary.
You may download (.pdf) or link to source index

Want to add material to these notes or let us know of any typos? Our amendment pagetells you what you may do without permission, and how to contact us should you need to.


The notes listed on this page will download when you select the link on each module, and are available to you under the Well House Consultants Open Training Notes License

This site is run by Well House Consultants Ltd. (http://www.wellho.netContact Information
 

0 comments:

Post a Comment