Sun Java Solaris Communities My SDN Account Join SDN
 
Article

Introduction to Sun Java Studio Enterprise

By Ed Ort, Reggie Carey, and Craig Conover, January 2004  

Recently Sun Microsystems announced the Sun Java System, a new approach to the way it packages, delivers, and prices software. In making the announcement, Sun identified an initial set of offerings that comprise the Sun Java System. Each of these offerings consolidates into a single coherent package what would otherwise be a disparate collection of software products. In doing so, each offering is designed to dramatically simplify the way software is purchased, installed, configured, and maintained.

One of the Sun Java System offerings is the Sun Java Enterprise System, which integrates into a single package a comprehensive set of standards-based enterprise services. These services include web and application services, business and integration services, directory and identity services, and portal and collaboration services -- in short, the kind of services that provide the infrastructure for sophisticated (usually multitier) applications. The Java Enterprise System brings together services that were previously provided by individual Sun ONE products such as Sun ONE Web Server, Sun ONE Application Server, and Sun ONE Portal Server. The Sun ONE products are now components of the Sun Java System. The components have names that begin with "Sun Java System", for example, "Sun Java System Directory Server."

This integrated package of services should greatly reduce the complexity and cost of acquiring, installing, and deploying the software system for an enterprise. In addition, the package is pretested using "real-world" scenarios, ensuring that the integrated services work well in typical enterprise uses. Underscoring the theme of simplicity, the Java Enterprise System also gives users a common installer to install the entire package as a single unit.

In addition, Sun announced that:

  • New releases of the Java Enterprise System will be made available on a regular, quarterly schedule.
  • There will be a single, per-employee, per-year subscription price for the package (rather than a separate license fee for each package component). The price is a low $100 per employee per year.
  • Consulting, training, and support services will be provided as part of the subscription.

As part of its Sun Java System announcement, Sun also announced Sun Java Studio Enterprise, a developer solution for the Java Enterprise System. Java Studio Enterprise includes tools and services for building and testing applications for deployment on the Java Enterprise System. Together, Java Studio Enterprise and the Java Enterprise System, give developers a complete solution for developing, testing, and deploying enterprise applications and web services. Like the Java Enterprise System, Java Studio Enterprise has the following characteristics:

  • It's fully integrated and tested.
  • It's installable as a single package.
  • It will be released on a regular schedule.
  • It's based on a single, per-employee, per-year subscription price. In fact, it adds only $5 to the per-employee, per-year subscription price when ordered with the Java Enterprise System.
  • It offers a variety of support services as part of the subscription.
Java Studio Enterprise

This article highlights some of the key features of Java Studio Enterprise, and its benefits to developers.


Table of Contents


Â
Â

It's All In There

Java Studio Enterprise brings together an integrated set of tools, enterprise services, and support services to aid developers in building applications and web services.

Java Studio Enterprise brings together an integrated set of tools and enterprise services for developing, testing, and deploying enterprise Java applications and web services. In addition, it offers a variety of resources and support services to aid developers in building applications and web services.

Integrated Tools

Central to Java Studio Enterprise is a powerful developer platform based on Sun Java Studio Standard 5 update 1. The platform provides a graphical environment (including optimized wizards and property sheets) for building applications and web services that conform to Java 2 Platform, Enterprise Edition (J2EE) 1.3 specifications. It includes features for creating a wide variety of application components, anywhere from Swing-based GUI components--to JavaServer Pages (JSP)--to Enterprise JavaBeans (EJB) components. The platform also includes the Java Web Services Developer Pack (Java WSDP), which provides APIs and other resources for developing web services. In addition, bundled with the platform are a collection of highly useful development tools such as the Tomcat Web server, Ant XML-based scripting tool, PointBase database server, and JUnit testing tool.

Java Studio Enterprise offers a variety of features designed to dramatically improve developer productivity.

Tightly integrated into the core platform is the Sun Java System Web Application Framework, which adds Rapid Application Development (RAD) features to those already provided by the core platform. (For simplicity, further references in this article will be to "Application Framework" rather than to "Sun Java System Web Application Framework".) Whereas the core platform offers RAD features for Swing-based applications, and provides many wizards that simplify the use of other technologies such as EJB technology, the Application Framework presents developers with a graphical environment and a set of reusable components for quickly building web applications -- even those of high complexity and sophistication. This means, for instance, that a developer can use the core platform to quickly build EJB components, and then take advantage of the Application Framework to quickly build a large-scale web application that uses the EJB components. Significantly, the Application Framework provides this capability without requiring developers to have extensive knowledge of the underlying APIs and architecture. More than that, the Application Framework enables developers to build highly scalable web applications. The foundation for the Application Framework is set of J2EE best practices called design patterns. The Application Framework implements many of these design patterns in the code it generates. One of these design patterns (perhaps the best known) is the Model-View-Controller (MVC) design pattern, which separates the presentation logic of an application from its business logic. Basing the framework on J2EE design patterns gives web applications architectural integrity and makes them highly scalable.

In addition, Java Studio Enterprise integrates a Portlet Builder that is based on Sun ONE Portlet Builder 2.0. The Portlet Builder adds the ability to create portlets, that is, web components that generate content for a web portal. The portal services provided in Java Studio Enterprise can aggregate the content for multiple portlets and implement security and personalization features to produce a web portal that is secure and customized for the user.

Enterprise Services

Included with Java Studio Enterprise is a copy of the Java Enterprise System for development and testing. All of the following services are available in Java Studio Enterprise through Java Enterprise System components:

  • Network Identity Services: These services manage secure access to resources in the network. Key network identity services include user management, authentication, single sign-on to the Web, secure policy enforcement, and user account federation. These services are provided by the following components:

  • Web and Application Services: Web services manage the web-based portion of enterprise applications, delivering static and dynamic content to end users. Application services provide the infrastructure necessary for running enterprise applications and web services in a multiclient environment. Web and application services are provided by the following components:

  • Portal Services: These services deliver secure, personalized access to web portals that aggregate and present content from multiple sources. Key portal services include community creation, aggregation and presentation, personalization, multichannel access, and knowledge management. These services are provided by the following component:

  • Availability Services: These services maintain high availability for applications and network resources, at low cost and low risk to the enterprise. These services are provided by the following component:

Developer Resources

Beyond the tools and enterprise services that it offers, Java Studio Enterprise makes available a variety of other resources designed to simplify the installation and development experience. These resources include the following:

  • Common Installer: You can install the entire Java Studio Enterprise package as a single unit, and do it with a minimum amount of interaction. There is no need to separately install and configure individual tools and services; however, the installer does give you the option of installing selected components.

  • Code Samples: A collection of more than 100 code samples is provided for all of the tools and services in Java Studio Enterprise. The samples demonstrate many aspects of programming with J2EE technologies.
  • Documentation: Java Studio Enterprise includes formal documentation for all provided APIs. It also includes component-specific documentation such as Application Framework Guides, as well as system-wide documentation such as an Installation Guide that covers the Java Studio Enterprise installation process.
Installer
Click image to enlarge

Developer Services

Ongoing developer support is a fundamental part of a Java Studio Enterprise subscription. This support is provided through the following developer services:

  • Sun Developer Network Membership: As a Java Studio Enterprise subscriber, you are automatically registered as a Sun Developer Network member. This gives you access to an extremely wide variety of Java developer resources. For example, you have access to information and content (including early access code) for Java tools and technologies through the developers.sun.com portal, Sun's "Source for Developers."
  • Special Forums and Email Support: Your Sun Developer Network membership gives you access to more than 70 community forums on Java tools, technologies, and related topics. In addition, you have access to special forums -- only visible to Java Studio Enterprise subscribers -- that are monitored by Sun engineers. These special forums are designed to ensure that questions, problems, or other items that you post are quickly responded to by knowledgeable Sun personnel. Beyond that, subscribers can directly contact Sun engineers with "how-to?" and other types of questions regarding application development with Java Studio Enterprise.
  • Subscriber-Only Events: Based on input received through channels such as special forums, Sun will schedule events available only to Java Studio Enterprise subscribers. These events give you an opportunity to hear from experts in topic areas that are of specific interest to subscribers. The events will include online chats, webcasts, and even virtual "code camps" where subscribers can get hands-on training on tools and technologies over the web. The objective of these events is practical rather than simply educational -- they're specifically designed to help you solve problems in your use of Java Studio Enterprise.
  • Software Updates: During the subscription period (and at no extra charge), you'll be able to access the latest software updates, including major and minor releases of Java Studio Enterprise. Not only will you be able to keep your software installation current with these updates, but you'll be able to access the updates on a timely and predictable schedule.

What's In it For You?

So what does a package that brings together tools, services, and supporting resources really mean? In other words, what characteristics does it have that help developers? The answer to those questions can be summed up as follows:

All the functionality you need to develop, debug, and test enterprise applications and web services that conform to J2EE standards is built into Java Studio Enterprise. You don't have to individually install and configure tools and servers. More than that, a Java Studio Enterprise subscription provides the support you need to help solve problems during development, debugging, and testing.

Let's examine each of these.

It's a Complete Solution

Deploying an Application
Click image to enlarge

Java Studio Enterprise is a complete develop--debug--test solution for enterprise applications and web services. It's complete in two ways. First, it tightly integrates a full-function developer platform with a develop-test version of the Java Enterprise System. The platform provides all the functionality you need to develop enterprise applications and web services targeted for the runtime version of the Java Enterprise System. In targeting to the Java Enterprise System, you can take advantage of all the services it offers -- from those that serve content, to those that secure and personalize content. In other words, developing an application with Java Studio Enterprise ensures that the application can run with the entire set of Java Enterprise System services.

You can use Java Studio Enterprise to build anything from simple web applications-to portlet components of web portals-to sophisticated enterprise applications and web services. You can then use it to test and debug what you build against integrated Java Studio Enterprise services. Then you can easily deploy to a runtime version of the Java Enterprise System. For example, you can deploy applications to Java System Application Server Standard 7 through a single click on a Java Studio Enterprise menu. What's particularly significant is that all this functionality is built into Java Studio Enterprise. You don't have to individually install and configure the tools and servers you need to develop, debug, and test enterprise applications and web services that conform to J2EE standards.

Second, Sun Java Studio Enterprise provides a comprehensive collection of developer resources and support services. It gives you all the resources of the Sun Developer Network, as well as many code samples and a complete reference application to help guide you in developing enterprise applications and web services. And it provides support services such as special forums to help you get correct answers to questions quickly. In other words, Sun Java Studio Enterprise is more than a development toolset. It's a fully supported environment designed to help solve problems that you encounter during development, debugging, and testing.

Sun Java Studio Enterprise runs in the Solaris Operating System, Microsoft Windows 2000, and Microsoft Windows XP.

It Offers Key Productivity Features

New EJB Wizard
Click image to enlarge

The Java Studio Enterprise platform offers a large collection of wizards and property sheets that automatically generate much of the detailed coding needed in enterprise applications. For example, you can build EJB components simply by making selections in wizards. These wizards include those for creating stateless and stateful session beans, message-driven beans, and entity beans with container-managed or bean-managed persistence. Additionally you can use wizards to perform tasks such as build servlets, JSP pages, and other web components; generate J2EE applications that incorporate EJB and web components; and create web services from Web Services Description Language (WSDL) files or EJB components. Also, the graphical interface provided by the core platform gives you a logical view of components. This can greatly simplify working with components such as beans. For example, to add methods to a bean, you can point and click on a node in a tree -- you don't have to open an interface class and bean classes.

The Application Framework tightly integrated into the core platform gives you a RAD environment to quickly build web applications. In addition, it guides you through the entire web application development process. The Application Framework automatically generates a lot of the detailed code that you would otherwise have to provide for an application. It ensures that what you build follows the best practices of J2EE design patterns, and so, ensures that your web applications are maintainable and highly scalable. The Application Framework unites concepts that are familiar to most developers, such as display fields, application events, component hierarchies, and a page-centric development approach, with state-of-the art design based on the MVC and Service-to-Workers design patterns. Building a web application is simply a matter of adding Application Framework objects to the MVC-based structure. You create these objects in a graphical environment, through wizards and property sheets. You also have available a collection of visual components that you can select for inclusion in the user interface of an application, as well as non-visual (functional) components. When selected, each of these components generates code for inclusion in the presentation logic of the application. You can also add your own custom components or components developed by a third party. This gives you a way of building your own toolbox of visual and functional components for reuse in multiple applications.

The platform also includes features that make it easy to test application components. For example, after building a web service, you can use wizards to quickly generate a simple client to test the web service. In addition, the platform integrates support for the JUnit framework. The JUnit framework is an open source product that has become the de facto standard for unit and regression testing in a Java development environment. Using built-in JUnit support, you can create unit tests for individual classes or for entire packages. The platform support includes a test generator that generates skeleton code for a class or package. You then add code to the skeleton as necessary to complete the test. The support also includes a test runner that executes the test.

Component Palette
Click image to enlarge

It's Simple

JUnit Testing
Click image to enlarge

Java Studio Enterprise is simple to install and use. It's simple out of the box. You can install the entire Java Studio Enterprise package as a single unit, and do it with a minimum amount of interaction. There is no need to separately install and configure individual tools and services.

It's simple in use. As mentioned earlier, the core platform and its integrated tools offer a variety of wizards that step you through the process of developing application components.

It simplifies development. The wizards and property sheets automatically generate code, saving you the time and effort of doing the coding yourself. If you do have to code, you can refer to the reference application and the collection of code samples for guidance.

There's another aspect of simplicity that's unique to Java System offerings such as Java Studio Enterprise. It's the simplicity that results from being predictable. Java Studio Enterprise simplifies the entire software life cycle because it's updated on a regular, predictable schedule. Sun announced that new releases of the Java Enterprise System will be made available on a regular, quarterly schedule. The intent is to align new releases of Java Studio Enterprise as much as possible with that of the Java Enterprise System. This doesn't necessarily mean that updates of Java Studio Enterprise will be released every quarter, but it does mean that the releases will be scheduled in a predictable way (for example, every other quarter). What's significant is that you'll know when to expect new releases of the Java Enterprise System and Java Studio Enterprise, and when you receive these releases, they'll arrive as fully integrated and tested packages. One important benefit of getting regular, predictable updates is that it makes it easier to plan for and adopt the latest Java technology standards.

It's Affordable

Java Studio Enterprise is priced at a very low $5, per-employee, per-year subscription price when ordered with the Java Enterprise System. And for that low price, you receive a complete development solution, tightly integrated with the Java Enterprise System and enhanced by a comprehensive set of developer services. Compare that price with what the cost might be of individually acquiring components and services such as those that comprise Java Studio Enterprise.

It's Coming Soon

An Early Access program for Java Studio Enterprise will begin shortly, and the product is expected to be available at the end of March.

For More Information

Sun Java System

Sun Java Enterprise System

Sun Java Studio Enterprise

Sun Developer Network

About the Authors

Ed Ort is a staff member of developers.sun.com and java.sun.com. He has written extensively about relational database technology, programming languages, and web services.

Reggie Carey is a Senior Systems Engineer at Sun Microsystems, Inc. with a background in software development and management. He has contributed to two books on software technology and has almost 20 years of experience in the computer industry. Reggie pontificates occasionally on application servers and Integrated Development Environments.

Craig Conover is a Staff Engineer at Sun Microsystems, Inc. who works on the Sun ONE Application Framework (JATO) project. He has been in the software industry for the past 11 years and has worked with web application frameworks, tools, and applications. His career began in 1996 as a consultant, instructor, course materials producer, and instructor certified for NetDynamics, Inc.

up arrowBack to top

Rate and Review
Tell us what you think of the content of this page.
Excellent   Good   Fair   Poor  
Comments:
If you would like a reply to your comment, please submit your email address:
Note: We may not respond to all submitted comments.