看看这个是否能帮您!Version 5 of the Java Platform, Enterprise Edition (Java EE, formerly referred to as J2EE), has Its streamlined features offer added convenience, improved performance, and reduced development time, all of which enable developers to bring products to market To get an update on the Java EE 5 platform, we met with Java EE specification lead Bill Shannon, a Distinguished Engineer at Sun M Shannon has been with Sun since 1982 and previously worked on the JavaMail API, the HotJava Views product, the Common Desktop Environment (CDE), the Solaris Operating Environment, and all versions of SunOS He graduated from Case Western Reserve University with an MS in Computer E Can you give developers some specific ways that Java EE 5 will reduce the amount of code they need to write? There are so many ways we've made life simpler for developers, it's hard to know where to To some extent, the amount of improvement you'll see is based on the tools you I think one of the biggest improvements is that, in most cases, you no longer need to use deployment Even something as simple as combining modules together into an "ear" file used to require a deployment descriptor to list where the modules Now all you need to do is to put the modules in the ear file in an obvious way, follow some simple conventions like putting all your shared libraries in the "lib" directory, and that's Here's a simple programming Previously, to create a web service, you needed to write a Java interface that describes the web service API, a Java class that implements the web service, a deployment descriptor that tells the container about the web service, and a configuration file that tells the web service runtime how to map Java classes to web service Much of this was boilerplate that changed little from application to In Java EE 5 all of this can be done by writing a single Java source file -- the class that implements the web The rest is taken care of for you by the container, based on annotations you include in your source code, and based on default rules for what to do when no annotations are Here's the complete source code for a simple web service: package endpoint; import WebService; @WebService public class Hello { public String sayHello(String param) { return "Hello " + param;