Java EE 5 SDK Features

Java EE 5 SDK Features



Highlights
  • 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.
  • 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 GlassFish Enterprise Server v2.1.1 is 100 percent derived from open-source Project GlassFish.
 

As the industryPH*PH*PH\uFFFDPH*PH*PHs first compatible implementation of the Java Platform, Enterprise Edition (Java EE) 5 specification, the Java EE 5 SDK provides the foundation for delivering enterprise-class application services and web services. It offers a unique modular architecture based on some of the industryPH*PH*PH\uFFFDPH*PH*PHs most proven, high-performance, and standards-compliant components. Sun GlassFish Enterprise Server v2.1.1 is designed for developer productivity with tools to help deploy applications quickly. With a small-footprint adoption of Java EE platform that is suitable for broad adoption and embedding in third-party systems and applications, Sun GlassFish Enterprise Server v2.1.1 brings Java EE 5 technology into volume markets. It is completely free of license fees for development, deployment, and redistribution, with support available for an additional charge. Sun GlassFish Enterprise Server v2.1.1 is the default container for NetBeans.

The Open ESB runtime implements an enterprise service bus (ESB) runtime that incorporates the JSR 208 specification for Java Business Integration (JBI) and other open standards. The Open ESB runtime allows you to integrate web services and enterprise applications as loosely coupled composite applications, realizing the benefits of a service-oriented architecture (SOA). The Open ESB runtime supports pluggable service engines and communication protocol bindings as well as dynamic, configurable, message management and delivery. Developers can also create their own plug-in components to fit specific integration tasks. For more information on JSR 208 and JBI, refer to the Open ESB runtime.

Java EE 5 Platform Support

With a primary focus on ease of development, the Java EE 5 platform offers developers ready access to a secure, portable, and scalable platform for their enterprise applications. Java EE 5 technology makes coding simpler and more straightforward. Sun GlassFish Enterprise Server v2.1.1 supports all the technologies required by the Java EE 5 specification. These include but are not limited to:

  • Enterprise JavaBeans (EJB) 3.0 that includes two new sets of APIs: a) A simplified EJB API which promotes ease of development, b) A new API for management of persistence and object-relational mapping.
  • Java annotations can now be used to specify the mapping of Java business objects to a relational database. The persistence implementation in the application server supports both the generation of database schemas from Java objects and the mapping of existing database schemas to Java objects. In addition to using persistence inside the EJB container, one can use the Persistence API directly with Java SE. This allows maximum flexibility in the application persistence needs, with a common solution for both client and server environments.
  • JavaServer Faces 1.2 technology simplifies the building of user interfaces for web-based applications through its well-defined component, state, and event framework. JavaServer Faces technology works extremely well with Ajax technology, providing encapsulation to handle browser differences and to hide the complexities around JavaScript. Java BluePrints covers key issues and solutions for common problems encountered during the design and building of an Ajax application on the Java EE platform. Several JavaServer Faces and Ajax components that work with Sun GlassFish Enterprise Server v2.1.1 are included as part of the catalog.

Improving Developer Productivity

The Java EE 5 SDK increases developer productivity with the implementation of the new simplified Java EE 5 APIs and annotations that reduce significantly the amount of code a developer needs to write.

Sun GlassFish Enterprise Server v2.1.1 is included as part of the Java EE 5 SDK bundle with which developers can quickly learn, develop, and deploy new enterprise Java technologies. More than 6 million developers have downloaded earlier versions of the Java EE SDK. The Java EE 5 SDK also bundles: BluePrints and Samples guidelines for developing Web 2.0-based applications with Ajax and other popular technologies; the Open ESB runtime (JBI, BPEL engine, and SOAP HTTP binding) that provides developers with a runtime environment for constructing complex composite applications. In addition, Sun GlassFish Enterprise Server v2.1.1 is bundled with Java DB based on Apache Derby database, hence making it possible to develop and deploy out-of-the-box, end-to-end Java EE applications.

Sun GlassFish Enterprise Server v2.1.1 also extends ease of deployment through an option for faster startup (on-demand initialization), and reduces the memory requirements.

NetBeans IDE 6.7 supports development of Java EE 5 applications, including web modules and Enterprise JavaBeans (EJB) 3.0 modules, and deploys to the Sun GlassFish Enterprise Server v2.1.1. Sun GlassFish Enterprise Server v2.1.1 also supports an Eclipse IDE plug-in that gives developers a choice in development environments, though this means that many advanced features of NetBeans (notably Java EE 5 application development) will not be supported by Eclipse.

Foundation for SOA

Java EE 5 SDK is an ideal platform to develop SOA applications. Apart from Sun GlassFish Enterprise Server v2.1.1 and NetBeans, Java EE 5 SDK bundles the Open ESB runtime, hence complementing cutting edge Java EE 5 technologies for building SOA components, managing a web services stack and providing a framework for a federated identity management system.

Sun GlassFish Enterprise Server v2.1.1 is integrated with the Metro web services stack that supports the latest web services standards that make implementing SOA easier, including JAX-WS 2.0 that specifies a web services API for the Java platform, and JAX-B 2.0 that specifies Java and XML binding. With JAX-WS 2.0 the code developers need to write can be significantly reduced.

The Open ESB runtime contains JBI, a BPEL engine, and SOAP HTTP binding, and provides developers with a runtime environment for constructing complex composite applications. In other words, it provides an open and extensible architecture for collaboration between integration technology and web services in a SOA. The Open ESB runtime will help streamline development work for platform providers, tools vendors and systems integrators while future proofing customers' investments and ending vendor lock-in to proprietary integration architectures.

Sun GlassFish Enterprise Server v2.1.1 works with Access Manager and Liberty SSO, hence providing a framework for a federated identity Management system. This allows individuals to use the same user name, password, or other personal identification to sign on to the networks of more than one enterprise in order to conduct transactions. In this manner, business partners can share applications without needing to adopt the same technologies for directory services, security, and authentication.

Sun GlassFish Enterprise Server v2.1.1 can connect to and work with a number of web services registries. A web services registry allows an enterprise to track and manage large and increasing numbers of web services that they are offering. By providing the ability to connect to the registry, Sun GlassFish Enterprise Server v2.1.1 addresses both issues of web services access and SOA governance.

NetBeans IDE 6.7 provides SOA visual design tools for architects and programmers. XML Schema tools are used to visualize and edit XML Schema, and visualize the relationships between Schema elements. The tool for web services orchestration is used to author, build, deploy, and test BPEL processes.

Open Source and Project GlassFish Community

In June 2005, Sun launched the Project GlassFish community with the goal of developing a free, open-source, commercial-grade application server that implements the newest features of the Java EE 5 platform and related enterprise technologies. Open source accelerates the development and distribution of new features and ensures continued quality of the product by allowing many eyes to look at the code. Opening the development process enables more developers to work with the platform and makes developers more productive.

The code for Sun GlassFish Enterprise Server v2.1.1 is derived from Project GlassFish. GlassFish is released under an OSI approved license (CDDL). Members participate in this robust community by exchanging information through a discussion forum and mailing list, filing defects and request for enhancements in the public issue tracker, and proposing changes to the source code.

The Aquarium, a group blog, collects news from and about the GlassFish community and offers tech tips from a variety of sources. Application Server-related add-ons, plug-ins, and technology projects can also be found on the GlassFish project web site.

Web Services Management

Web services are first-class manageable objects in Sun GlassFish Enterprise Server v2.1.1. Web services deployed to the Application Server are thus automatically discovered and can then be managed and monitored. If monitoring is enabled for a web-service endpoint, information such as response time, throughput, and number of requests and faults is collected and can be viewed through the admin GUI. SOAP message content can also be examined. Meanwhile, a web-service testing page can automatically be generatedPH*PH*PH\uFFFDPH*PH*PHeliminating the need for explicit web-service client development. Web service can be virtualized by applying XSLT transformation rules to request/response. Web services audit, message-level security, governance (publish/unpublish to registry) and self management is supported. (Also see the article, " Managing and Monitoring Web Services in Project GlassFish.")

Call Flow Monitoring

Sun GlassFish Enterprise Server v2.1.1 can be configured to monitor an incoming request as it flows through various containers in the application server and through the user application code. For example, the Application Server can break down the time spent in the web container, web application code, EJB container, and EJB application code. The collected information is stored in a database and is then available for query and analysis. When filtering is enabled in call flow, Application Server generates call flow data for only those requests that match the criteriaPH*PH*PH\uFFFDPH*PH*PHhost or user id. Afterwards, you can inject requests into a running systemPH*PH*PH\uFFFDPH*PH*PHspecifically to generate trace information. You can then watch your requests flow through the system and evaluate the performance of specific types of requests in the context of normal load, bypassing requests from other sources.

Self-Management Rules

With the powerful and flexible infrastructure of Sun GlassFish Enterprise Server v2.1.1, it is possible to automate application server management tasks by setting up a self-management rule. A self-management rule consists of an event and an action. Examples of events include message logging, monitoring threshold, timer, and JMX notifications. Actions are pieces of logic defined by the user, which are then encapsulated in JMX managed beans (MBean). When an event that matches one of the events defined in a self-management rule is triggered, the associated action is executed. For example, an administrator might define a management rule such that he or she receives email when a SEVERE message is logged in the application server.

Java Web Start Software

In addition to defining server-side components like EJB components and servlets, the Java EE platform defines application clients. Typically, these are rich UI applications that run on client machines and connect to the Application Server for retrieval and processing of backend data. With Sun GlassFish Enterprise Server v2.1.1, users can deploy a Java EE application client to the Application Server and then take advantage of Java Web Start software for distribution of the application to client machines. By visiting a single URL in a user's browser, Java Web Start software transparently retrieves and installs the bits necessary to run the Java EE application client. The downloaded bits are cached and can be reused in subsequent sessions. That means no more manually copying and installing the application client bits on individual client machines.

Performance

In addition to startup, memory footprint, and deployment performance improvements, Sun GlassFish Enterprise Server v2.1.1 features increased runtime performance. The server includes a highly scalable HTTP connection handler that is implemented with lower-level Java NIO primitives and that can handle thousands of connections with a small number of threads. Sun GlassFish Enterprise Server v2.1.1 supports the use of the Fast Infoset standard to reduce the size and processing time of XML and SOAP messages. Depending on the size of the XML messages, processing time is 3 to 5 times faster, and message size is 1.3 to 5 times smaller. See Sun's Fast Infoset article for more details. Sun GlassFish Enterprise Server v2.1.1 also provides 64-bit support in the Solaris operating system, so the server benefits from more than 4 gigabytes of virtual address space.

Changing the Economics of Application Servers

Sun GlassFish Enterprise Server v2.1.1 enables enterprises to standardize on the new Java EE 5 compatible application server for developing and deploying enterprise-class applications and servicesPH*PH*PH\uFFFDPH*PH*PHwithout incurring product license fees. The small footprint and free development and deployment licenses also make it extremely suitable for bundling and distribution with Java EE applications, subject to SunPH*PH*PH\uFFFDPH*PH*PHs current terms and conditions.

Unlike other commercially available application servers, Sun Java System Application Server is built on the very platform that defines the Java EE standardPH*PH*PH\uFFFDPH*PH*PHJava EE 5 Reference Implementation source code. The same development team that delivers the Reference Implementation developed Sun GlassFish Enterprise Server v2.1.1. This assures the most rigorous Java EE standard compliance and web services interoperability through support of the WS-I Basic Profile. Enterprises and application vendors benefit from this Java EE standard-focused approach because it reduces the risks of proprietary lock-in, and enables compliant applications that are portable across compliant application serversPH*PH*PH\uFFFDPH*PH*PHwithout costly modifications.

Sun Java System Application Server is designed to help enterprises and service providers maximize their freedom of choice through Java technologyPH*PH*PH\uFFFDPH*PH*PHs Write Once, Run AnywherePH*PH*PH\uFFFDPH*PH*PH simplicity and is optimized for web services. It helps enterprises and service providers lower their total cost of ownership, accelerate time to market, and increase productivity.

Sun GlassFish Enterprise Server

The Application Server provides value-add features for the enterprise. The Application Server features include clustering, in-memory replication, more improvements to the Grizzly-based HTTP engine, enhanced administrative functionality, improved self-management capabilities, update center functionality that allows installation and/or updates of additional components, and much more.

Application Server Core Services
  • Sun Java System Application Server is the first free Java EE 5 compatible application server for development, deployment, and redistribution.
  • Supports the Enterprise JavaBeans (EJB) 3.0 that includes two new sets of APIs: a) A simplified EJB API which promotes ease of development, b) A new API for management of persistence and object-relational mapping.
  • Supports Java annotations that can be used to significantly improve the developer productivity.
  • Includes JavaServer Faces 1.2 APIs for building powerful GUIs for Java EE applications.
  • Offers new capabilities to develop Web 2.0 and Ajax applications. It now supports the blueprints for Ajax that allows development of impressive dynamic client side web applications.
  • Is included as part of the Java EE 5 SDK bundle. Other components of the Java EE 5 SDK are the BluePrints and Samples guidelines; the Open ESB runtime that includes JBI, BPEL engine, and SOAP HTT, and Java DB based on Apache Derby database.
  • Extends the ease of deployment through an option for faster startup (on-demand initialization), and also reduction in the memory requirements.
  • Offers support for NetBeans, and Eclipse (through a plug-in).
  • Automatically discovers, and then manages and monitors web services that are deployed to the Application Server.
  • Offers 3 to 5 times improved web services performance. This is achieved through implementation of Fast Infoset technology.
  • Can monitor an incoming request as it flows through various containers in the application server and through the user application code.
  • Can automate application server management tasks by setting up a self-management rules that monitor events as they occur, and trigger an appropriate action.
  • Includes a Generic Resource Adapter. This will ensures support for IBM MQ Series.
  • Offers comprehensive support for web services, and support for WS-I Basic Profile 1.0 ensures interoperability.
  • Lowers TCO through rigorous compliance with the latest Java EE 5 standard and is free for development and deployment.
  • Allows existing applications to become new web services through integrated support of SOAP and WSDL.
  • Supports database connectivity to Oracle, Sybase, IBM, Microsoft SQL Server, MySQL, and Derby.
  • Supports various security standards: Single Socket Layer (SSL)v2, SSLv3, Transport Layer Security (TLS) 1.0, X.509 certificates, PKCS #11, FIPS-140, and 168-bit step-up certificates.
  • Offers enhanced and easy web-based administration, as well as full administration from a command-line interface.
  • Provides 64-bit support in the Solaris operating system, so the server benefits from more than 4 gigabytes of virtual address space.

Java EE 5 Development Environment

  • Support for new standardized Java EE 5 deployment APIs.
  • Deploys Java EE 5 Connector Architecture-compliant connectors.
  • Supports NetBeans IDE 6.7 software integrated development environments.
  • Web Services Metadata for the Java Platform 1.0.
  • Java API for XML-Based Web Services (JAX-WS) 2.0.
  • Java Architecture for XML Binding (JAXB) 2.0.
  • Streaming API for XML (StAX) 1.0.
  • Supports third-party Java EE software integrated development environments, such as Eclipse and Borland JBuilder.

Serious Software Made Simple

Sun provides a complete portfolio of affordable, interoperable, and open software systems designed to help maximize the utilization and efficiency of the enterprise IT infrastructure. Built from the secure, highly available foundations of UNIX® and Java, these systems deliver implementations that are preintegrated and backward compatible. SunPH*PH*PH\uFFFDPH*PH*PHs portfolio consists of Solaris and Linux software for SPARC® and x86 platforms, the N1 platform for dynamic and utility computing, and the Sun Java SystemPH*PH*PH\uFFFDPH*PH*PHfive integrated software systems for the data center, the desktop, the developer, mobile devices, and smart card identity implementations.

The Java System is a radical new approach that changes forever the way businesses acquire, develop, and manage software. Only Sun has the experience and the end-to-end portfolio to deliver such a unique and industry-revolutionizing strategy. With the Java System, network services and critical business applications are up and running faster, easier, and at a lower cost than ever before, so the enterprise can focus on innovation, competition, and bottom-line results.

Platforms and Requirements

Operating Systems

  • Sun Solaris 9, 10 (SPARC)
  • Sun Solaris 9, 10 (x86)
  • OpenSolaris 2009.06
  • Red Hat Enterprise Linux 4.0 and 5.x
  • Microsoft Windows Server 2008
  • Windows XP
  • Windows 7 Professional
  • Windows Vista Business
  • Mac OS 10.5


Java EE 5 Compatible

Java Standard Edition Platform 5 (Java SE 5); Java Activation Framework (JAF) 1.1; Java API for XML Messaging (JAXM) 1.0; Java API for XML Processing (JAXP) 1.2; Java API for XML Registries (JAXR) 1.0.8; Java API for XML-Based RPC (JAX-RPC) 1.1.3; Java API for XML-Based Web Services (JAX-WS) 2.0; Java Architecture for XML Binding (JAXB) 2.0; Java Authentication and Authorization Service (JAAS) 1.0; Java Authorization Contract for Containers (Java ACC) 1.0; JavaMail 1.4; Java Naming and Directory Interface (JNDI) 1.2; Java Servlet 2.5; Java Transaction API (JTA) 1.1; Java EE Application Deployment 1.0; Java EE Connector Architecture 1.5; Java EE Management 1.0; Java EE Deployment 1.0; JDBCPH*PH*PH\uFFFDPH*PH*PH 2.0; JMS 1.1; JSP 2.1; EJB 3.0; WS-I Basic Profile 1.0; ANT 1.6.5; Java SE 5.x; MQ 3.7; ZLib 1.5; SAAJ 1.3; JACC 1.0; JSTL 1.1; StAX 1.0; XML and Web Services security 1.0; Web Services Metadata for the Java Platform 1.0

System Requirements
  • Memory: 500 MB minimum (varies by configuration)
  • Disk Space: 250 MB minimum

Java 8 banner (182)