Introduction To Java Questions to be addressed Why would I use Java for developing my applications? How do I get started on developing Java applications? What applications do I need to start developing?
Why Java? Platform independence Works on every operating system there is a JDK for. (One application for all platforms) Mainly free The JDK distribution is freely available, and there is no need to pay for any of the development tools which are commonly used.
Why Java? Connects with several available database systems easily JDBC drivers are available for many different database systems including Oracle MySQL SQL Server 2005
Why Java? A wide variety of applications. GUI database tools such as client records systems, invoicing systems, et al. Paint and graphics objects to build games or image manipulation applications. Web applications using JSP pages.
How do I get started? To work with Java you need these components Java JDK Java ME framework (to develop applications for mobile phones) Java EE framework
Required tools http://java.sun.com/javase/downloads/index.jsp
Required Tools Netbeans 6.0 contains all the libraries necessary to develop the various different programs supported by the Java framework
Other recommended tools Eclipse IDE Similar to the netbeans IDE, uses a plugin framework. Is widely accepted as an industry standard. Oracle Jdeveloper Excellent tool for fast JDBC Development, however is quite resource hungry.
Netbeans The favoured IDE used by Sun A good introductory tool written in Java for java development Have mainly favoured netbeans for use in introductory courses to java...point for discussion?
Java SE Development Java is an object-oriented language Classes, methods and objects are the keywords here. Supports full GUI development for standard applications.
GUI Application Development In Netbeans 6.0 GUI development is vey simple. In the following example, we will demonstrate an Lm to Euro converter Java Application using Netbeans 6.0
Web Application Development The next example will be a simple JSP based web application, still within netbeans Note the similarity in coding between a normal GUI application and the web application
Mobile Phone Development The final example is the same application written to run on a mobile phone Note that the mobile phone application also demonstrates a high level of commonality with the other platforms
Questions? These slides and the examples are available at the following URL http://ict.mcast.edu.mt/staff/gerards/jug/ Open to discussion...
Recommend
More recommend