java

12
J2SE: The current release is Java Platform, Standard Edition 6 (Java SE 6). The previous release was Java 2 Platform, Standard Edition 5.0 (J2SE 5.0). Sun Microsystems simplified the platform name in 2006 to better reflect the level of maturity, stability, scalability, and security built into the Java platform. Sun dropped the "2" from the name and deleted the "dot number" (the number following the period). Any updates to Java platforms will simply be noted as updates rather than adding a "dot number" at the end of the platform name. Due to significant popularity within the Java developer community, the development kit has reverted back to the name "JDK" from "Java 2 SDK" (or "J2SDK"). The runtime environment has reverted back to "JRE" from "J2RE." (Note that "JDK" stands for "J2SE Development Kit" in version 5.0.) Java SE technology : http://java.sun.com/javase/technologies/index.jsp Java Tutorial : http://java.sun.com/docs/books/tutorial/ JDK & JRE Sun Microsystems provides two principal software products in the Java TM Platform, Standard Edition (Java TM SE) family: Java SE Runtime Environment (JRE) The JRE provides the libraries, Java virtual machine, and other components necessary for you to run applets and applications written in the Java programming language. This runtime environment can be redistributed with applications to make them free-standing. Java SE Development Kit (JDK) The JDK includes the JRE plus command-line development tools such as compilers and debuggers

Upload: mohan-shenoy

Post on 18-Feb-2016

213 views

Category:

Documents


0 download

DESCRIPTION

about java technology

TRANSCRIPT

Page 1: java

J2SE:The current release is Java Platform, Standard Edition 6 (Java SE 6). The previous release was Java 2 Platform, Standard Edition 5.0 (J2SE 5.0).

Sun Microsystems simplified the platform name in 2006 to better reflect the level of maturity, stability, scalability, and security built into the Java platform. Sun dropped the "2" from the name and deleted the "dot number" (the number following the period). Any updates to Java platforms will simply be noted as updates rather than adding a "dot number" at the end of the platform name.

Due to significant popularity within the Java developer community, the development kit has reverted back to the name "JDK" from "Java 2 SDK" (or "J2SDK"). The runtime environment has reverted back to "JRE" from "J2RE." (Note that "JDK" stands for "J2SE Development Kit" in version 5.0.)

Java SE technology : http://java.sun.com/javase/technologies/index.jsp

Java Tutorial : http://java.sun.com/docs/books/tutorial/

JDK & JRESun Microsystems provides two principal software products in the JavaTM Platform, Standard Edition (JavaTM SE) family:

Java SE Runtime Environment (JRE)The JRE provides the libraries, Java virtual machine, and other components necessary for you to run applets and applications written in the Java programming language. This runtime environment can be redistributed with applications to make them free-standing.

Java SE Development Kit (JDK)The JDK includes the JRE plus command-line development tools such as compilers and debuggers that are necessary or useful for developing applets and applications.

Java Programming LanguageThe Java Programming Language is a general-purpose, concurrent, strongly typed, class-based object-oriented language. It is normally compiled to the bytecode instruction set and binary format defined in the Java Virtual Machine Specification. For more information see Language Features.

Java Virtual MachinesThe Java virtual machine is an abstract computing machine that has an instruction set and manipulates memory at run time. The Java virtual machine is ported to different platforms to provide hardware- and operating system-independence.

Page 2: java

The Java Platform, Standard Edition provides two implementations of the Java virtual machine (VM):

Java HotSpot Client VMThe client VM is an implementation for platforms typically used for client applications. The client VM is tuned for reducing start-up time and memory footprint. It can be invoked by using the -client command-line option when launching an application.

Java HotSpot Server VMThe server VM is an implementation designed for maximum program execution speed, trading off launch time and memory. It can be invoked by using the -server command-line option when launching an application.

For more information, see the VM documentation.

Base LibrariesLang and Util Packages

Math

Monitoring and Management

Package Version Identification

Reference Objects

Reflection

Collections Framework

Concurrency Utilities

Java Archive (JAR) Files

Logging

Preferences

Other Base PackagesI/O

Object Serialization

Networking

Page 3: java

Security

Internationalization

JavaBeansTM Component API

Java Mangement Extensions (JMX)

XML (JAXP)

Java Native Interface (JNI)

Extension Mechanism

Endorsed Standards Override Mechanism

Integration LibrariesJava Database Connectivity (JDBC) API

Remote Method Invocation (RMI)

Java IDL (CORBA)

RMI-IIOP

Scripting for the Java Platform

Java Naming and Directory InterfaceTM (JNDI) API

User Interface LibrariesInput Method Framework

Accessibility

Print Service

Sound

Drag and Drop Data Transfer

Image I/O

Java 2DTM Graphics and Imaging

AWT

The JavaTM platform's Abstract Windowing Toolkit (AWT) provides APIs for constructing user interface components such as menus, buttons, text fields, dialog boxes, check boxes, and for handling user input through those components. In addition, AWT allows for rendering of simple shapes such as ovals and polygons and enables developers to control the user-interface layout

Page 4: java

and fonts used by their applications. For more information, see the AWT documentation.

Swing

The Swing APIs also provide graphical component (GUI) for use in user interfaces. The Swing APIs are written in the Java programming language without any reliance on code that is specific to the GUI facilities provided by underlying operating system. This allows the Swing GUI components to have a "pluggable" look-and-feel that can be switched while an application is running. For more information, see the Java SE Swing documentation.

DeploymentJava Deployment

For more information, see General Deployment, Java Plug-in, and Java Web Start.

Tool SpecificationsDebugger Architecture

VM Tool Interface

Javadoc Tool

Annotation Processing

Dynamic Attach

JConsole API

JDK Tools & Utilities

Documentation for the tools and utilities included in the JDK. Covers basic tools (javac, java, javadoc, apt, appletviewer, jar, jdb, javah, javap, extcheck), security tools, internationalization tools, RMI tools, IDL and RMI-IIOP tools, deployment tools, Java Plug-in tools, and Java Web Start tools, monitoring and management tools, and troubleshooting tools. For more information, see the JDK Tools and Utilities documentation.

PlatformsSun provides implementations of the JDK and Java Runtime Environment for Microsoft Windows, Linux, and the Solaris operating systems. See System Configurations for information about which versions of these platforms are supported.

Other companies may provide implementations of the Java platform for other operating systems such as Macintosh, AIX, etc.

Page 5: java

Java 2 Standard Edition (J2SE) Releases:J2SE 1.1J2SE 1.2J2SE 1.3J2SE 1.4J2SE 5.0Latest rel: JSE6 ( JDK6, JRE6 open jdk )Early rel: JSE7 ( JDK7, JRE7 open jdk )

JDK7.0:URL : https://jdk7.dev.java.net/

Sun is releasing weekly early access snapshots of the complete source, binaries and documentation for JDK 7. These snapshot releases let you review and contribute to the Java SE platform as it is being developed.

Free & Open Source Java:URL : http://www.sun.com/software/opensource/java/index.jsphttp://www.sun.com/software/opensource/java/faq.jspQusetion: Are you open sourcing the Java language or the Java SE platform specifications?Answer: While we are open sourcing Sun's implementations of both, we cannot "open source" the Java programming language, nor the platform APIs and specifications, which are governed by the JCP.

Open JDK:URL : http://openjdk.java.net/

Sun has established the OpenJDK Community for the ongoing development of Sun's open-source implementation of Java SE. The OpenJDK Community is where developers gather to collaborate on the open-source JDK code base and related projects. The Open JDK 6 and 7 Projects in which the open-source code base lives are part of this community. Through the OpenJDK Projects, developers can directly influence the future of the JDK implementation, participate with their peers in an open community and help take Java technology where it hasn't been before. Sun evolved the earlier JDK Community, where developers worked on the source code the two years prior to open-sourcing the JDK, into a site where Sun and non-Sun developers alike can collaborate together on the implementation. The OpenJDK Community can be found at http://openjdk.java.net.

Page 6: java

IDE: Netbeans URL: http://www.netbeans.org/Version : 6.1/6.5 BetaJDK 6 or JDK 5.0 is required for installing and running the Java SE, "Java" and "All" NetBeans Bundles. You can download standalone JDK or download the latest JDK6 Update 7 with NetBeans IDE Java SE bundle.

Note: Jdk5 or more is prerequisite for installation of ‘netbeans-6.5beta-java-windows.exe’. Hence I installed ‘jdk-6u10-rc-bin-b28-windows-i586-p-21_jul_2008.exe’.This installed following.Server: glassfish-v2ur2 Location: C:\Program Files\glassfish-v2ur2C:\Program Files\glassfish-v3-prelude-b15bAdmin User : adminPassword : passwordglassfish-v2ur2-http : 8081glassfish-v2ur2-https : 8181glassfish-v2ur2-admin : 4848

server : Apache Tomcat 6.0.16location: C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.16

J2EE:Java Platform, Enterprise Edition (Java EE) builds on the solid foundation of Java Platform, Standard Edition (Java SE) and is the industry standard for implementing enterprise-class service-oriented architecture (SOA) and next-generation web applications. The name of the Java platform for the enterprise has been simplified. Formerly, the platform was known as Java 2 Platform, Enterprise Edition (J2EE), and specific versions had "dot numbers" such as J2EE 1.4. The "2" is dropped from the name, as well as the dot number. So the latest version of the Java platform for the enterprise is Java Platform, Enterprise Edition 5 (Java EE 5).

J2EE Releases:J2EE 1.3J2EE 1.4Latest Release: JEE 5

What technologies are included in the Java EE 5 platform?The primary technologies in the Java EE 5 platform are: Java API for Web Services (JAX-WS) 2.0, Java API for XML-Based RPC (JAX-RPC) 1.1, Java Architecture for XML Binding (JAXB) 2.0, SOAP with Attachments API for Java (SAAJ), Streaming API for XML (StAX), Web Service Metadata for the Java Platform, Enterprise JavaBeans (EJB) 3.0, J2EE Connector Architecture (JCA) 1.5, Java Servlet 2.5, JavaServer Faces (JSF) 1.2, JavaServer Pages (JSP) 2.1, JavaServer Pages Standard Tag Library (JSTL), J2EE Management, J2EE Application Deployment, Java

Page 7: java

Authorization Contract for Containers, Common Annotations for the Java Platform, Java Message Service (JMS) API, Java Persistence API, Java Transaction API (JTA), JavaBeans Activation Framework (JAF) 1.1, and JavaMail.

Development Kit (SDK):

Download URL: http://java.sun.com/javaee/downloads/index.jsp

Java EE 5 SDK Update 5 and Java Application Platform Update 5 are free integrated development kits that one can use to build, test, and deploy Java EE 5-based applications. Included in the SDKs is Sun Java System Application Server 9.1 (Sun's supported distribution of GlassFish v2), which implements the latest Java EE 5 technologies and provides features aimed at improving developer productivity.

SDK Versions There are three SDK versions:

Java EE 5 SDK Update 5 Java Application Platform SDK Update 5 Java EE 5 Tools Bundle Update 5

These SDK versions support the newly released Java Platform, Standard Edition 6 (Java SE 6) and the latest technologies of the Java EE 5 Specification. The Java Application Platform SDK and Java EE 5 Tools Bundle contain additional support for these runtime components: Open ESB : A JBI-based integration platform for delivering composite

applications on a service-oriented architecture. Portlet Container : Implements the Java Portlet Specification (JSR 168), a standard

for developing portal components, and provides a portlet driver, a lightweight portlet rendering environment.

Sun Java System Access Manager : A security foundation that manages secure access to an enterprise's web applications both within the enterprise and across business-to-business (B2B) value chains.

Web Services for Remote Portlets (WSRP) 1.0: This is a standard that provides web service-based access capability to portlets and enables interoperability among different portal server solutions. WSRP is a presentation-oriented web service.

Java EE 5 SDK FeaturesHighlights

First robust, commercial, compatible Java EE 5 implementation. It is free for development, deployment, and redistribution.

Ease of development with major revamp of programming model. EJB 3.0 support for POJOs means less to learn, less to code, and less to

maintain. New Java Persistence API makes object-relational mapping cleaner and easier. New and updated web services (JAX-WS 2.0 and JAXB 2.0) simplifies SOA

implementation. JavaServer Faces 1.2 facilitates building Web 2.0 applications with Ajax.

Page 8: java

Higher throughput, faster response time, and improved management features to streamline deployment.

30 percent faster startup time with 30 percent less memory Web services performance increased by up to 5 times. Improved web services management. Integrated with Sun's NetBeans open source IDE and supports an Eclipse

plug-in, offering developers the choice of complete end-to-end development and runtime environment.

Provides a visual SOA development and deployment environment with integrated NetBeans environment.

Integrated composite application support through JBI and BPEL The code for Sun Java System Application Server 9.1 is 100 percent derived

from open-source Project GlassFish.

Java EE 5 SDK Update 5 Sun Java System Application Server 9.1 Update 2 Updated! Java EE 5 Samples Java BluePrints Updated! Your First Cup: An Introduction to the Java EE Platform API documentation (Javadocs)

Java Application Platform SDK Update 5 All contents of Java EE 5 SDK Update 5 Open ESB v2 Updated! Sun Java System Access Manager 7.1 Patch 1 Portlet Container 2.0 Updated! Web Services for Remote Portlets (WSRP) 1.0 Updated!

Java EE 5 Tools Bundle Update 5 All contents of Java Application Platform SDK Update 5 NetBeans IDE 6.1 Updated! Portal Pack 2.0 Updated!

Note: Java EE 5 Tools Bundle does not include J2SE 5.0 (JDK) or later versions.

GlassFish:URL https://glassfish.dev.java.net/Download URL : https://glassfish.dev.java.net/public/downloadsindex.htmlhttps://glassfish.dev.java.net/downloads/v2ur2-b04.html

GlassFish is an open source application server which implements Java EE 5. The Java EE 5 platform includes the latest versions of technologies such as such as JavaServer Pages(JSP) 2.1, JavaServer Faces(JSF) 1.2, Servlet 2.5, Enterprise JavaBeans 3.0, Java API for Web Services(JAX-WS) 2.0, Java Architecture for XML

Page 9: java

Binding(JAXB) 2.0, Web Services Metadata for the Java Platform 1.0, and many other new  technologies. 

Announcing the new GlassFish v3 Technology Preview 2 Milestone Release! GlassFish v3 builds on the strength of GlassFish v2 but takes a completely new approach, providing a highly modular, lightweight, extensible architecture.

**********************