Close
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
Read Down
Sign in
Close
Welcome!Log into your account
Forgot your password?
Read Down
Password recovery
Recover your password
Close
Search
Logo
Subscribe
Logo
  • Latest News
  • Artificial Intelligence
  • Video
  • Big Data and Analytics
  • Cloud
  • Networking
  • Cybersecurity
  • Applications
  • IT Management
  • Storage
  • Sponsored
  • Mobile
  • Small Business
  • Development
  • Database
  • Servers
  • Android
  • Apple
  • Innovation
  • Blogs
  • PC Hardware
  • Reviews
  • Search Engines
  • Virtualization
More
    Subscribe
    Home IT Management
    • IT Management

    Sun Gives Early Peek at J2EE 1.5

    Written by

    Darryl K. Taft
    Published May 7, 2004
    Share
    Facebook
    Twitter
    Linkedin

      eWEEK content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

      LAS VEGAS—If Java 2 Enterprise Edition 1.4 was about bringing Web services into the enterprise Java fold, then J2EE 1.5 is all about ease of development in the enterprise Java space.

      In a session at the Serverside Java Symposium here, Bill Shannon, a distinguished engineer at Sun Microsystems Inc., and Graham Hamilton, a vice president and fellow in the Java platform team at Sun, discussed the specifics of the next version of the J2EE platform and the ease-of-use features in the current version of the Java 2 Standard Edition (J2SE) platform—J2SE 1.5, also known by the code name “Tiger”—upon which J2EE 1.5 is based.

      Giving one of the first public early peeks at the forthcoming specification, Shannon said the major theme of J2EE 1.5 is “ease of development. Were still in early planning, but its all about attracting more developers to it.”

      Sun, along with BEA Systems Inc., IBM and others, has been focusing on creating tools to address the complexity in building enterprise-class Java applications. However, the Java platform team at Sun is going further to include ease-of-development support in J2EE.

      /zimages/3/28571.gifClick here to see how Steve Gillmor graded the Java players strategies.

      While some observers note that most enterprises—as well as tool and application server vendors—have yet to implement J2EE 1.4, Sun and its partners involved in the effort are moving ahead to define the J2EE 1.5 specification. Indeed, Sun only a week ago sponsored a J2EE 1.4 kickoff event in San Francisco.

      Shannon said some of the ease-of-development principles in J2EE 1.5 include the use of program annotations or mechanisms for associating metadata with program elements such as classes, methods and fields. Other ease-of-development features include the reliance on defaults wherever possible, and reducing the use of deployment descriptors, simplifying common scenarios, removing boilerplate code and adding utility classes, Shannon said.

      In the future, Shannon said, rather than having to write a lot of code to handle mundane tasks, “we think we can get rid of all that, and well have a tool that can process annotations,” he said.

      The tool generates interfaces and deployment descriptors, while annotations use defaults that target common causes, Shannon said. Redundant interfaces also are removed. The benefits of this include fewer lines of code and fewer classes, simpler code, descriptors are eliminated in common cases, and it is easier for tools to deal with annotations than arbitrary code.

      For instance, to simplify the development of a Java API for XML-based Remote Procedure Calls (JAX-RPC) service, “we can write just the implementation class, tag the class and let the annotation processing tool take over,” Shannon said.

      Shannon said deployment descriptors are great, but are an impediment to mass adoption, so the specification must allow for the use of both annotations and descriptors.

      Shannon also said the Java Naming and Directory Interface (JNDI) is good for server implementers, but bad for developers. Instead, Shannon proposed a universal context as one place where users can look up things by type and name.

      The J2EE 1.5 team has proposed container-initialized fields, according to Shannon.

      Other improvements include support for the new JavaServer Faces toolkit; the Java Standard Tag Library; and JAX-RPC 2.0, which builds on Java Specification Request (JSR) 181, Shannon said.

      Next page: J2SE 1.5 focuses on developer productivity.

      Page Two

      J2SE 1.5, which is now in its first beta release, with the final beta release due in early fall, focuses on developer productivity and ease of use, Hamilton said.

      “The big challenge is to improve simplicity,” he said. “We have to shift the focus from power to simplicity. … And knowing the vendors involved with Java, I dont think were going to lose the power.”

      Indeed, a key effort of the ease-of-development strategy is to “grow the market of developers,” he said.

      The most important change in J2SE 1.5 is annotations, Hamilton said. Annotations allow for simpler declarative programming and will be used by tools and libraries, he said.

      J2SE 1.5 features an Annotation Processor Tool, also known as Apt, which discovers and runs annotation processors.

      “Apt didnt make it into Beta 1, but it will be in Beta 2,” Hamilton said. “Its getting fairly late in the lifetime of Tiger, but we are interested in your feedback.”

      Annotation processors can look at annotations in a source or class and generate new Java files, class files or descriptors, or XML files, but they cant modify Java language semantics or generate new class files or descriptors.

      /zimages/3/28571.gifCheck out eWEEKs Developer & Web Services Center at http://developer.eweek.com for the latest news, reviews and analysis in programming environments and developer tools.
      Be sure to add our eWEEK.com developer and Web services news feed to your RSS newsreader or My Yahoo page: http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo2.gif

      Darryl K. Taft
      Darryl K. Taft
      Darryl K. Taft covers the development tools and developer-related issues beat from his office in Baltimore. He has more than 10 years of experience in the business and is always looking for the next scoop. Taft is a member of the Association for Computing Machinery (ACM) and was named 'one of the most active middleware reporters in the world' by The Middleware Co. He also has his own card in the 'Who's Who in Enterprise Java' deck.

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      Get the Free Newsletter!

      Subscribe to Daily Tech Insider for top news, trends & analysis

      MOST POPULAR ARTICLES

      Artificial Intelligence

      9 Best AI 3D Generators You Need...

      Sam Rinko - June 25, 2024 0
      AI 3D Generators are powerful tools for many different industries. Discover the best AI 3D Generators, and learn which is best for your specific use case.
      Read more
      Cloud

      RingCentral Expands Its Collaboration Platform

      Zeus Kerravala - November 22, 2023 0
      RingCentral adds AI-enabled contact center and hybrid event products to its suite of collaboration services.
      Read more
      Artificial Intelligence

      8 Best AI Data Analytics Software &...

      Aminu Abdullahi - January 18, 2024 0
      Learn the top AI data analytics software to use. Compare AI data analytics solutions & features to make the best choice for your business.
      Read more
      Latest News

      Zeus Kerravala on Networking: Multicloud, 5G, and...

      James Maguire - December 16, 2022 0
      I spoke with Zeus Kerravala, industry analyst at ZK Research, about the rapid changes in enterprise networking, as tech advances and digital transformation prompt...
      Read more
      Video

      Datadog President Amit Agarwal on Trends in...

      James Maguire - November 11, 2022 0
      I spoke with Amit Agarwal, President of Datadog, about infrastructure observability, from current trends to key challenges to the future of this rapidly growing...
      Read more
      Logo

      eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site’s focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

      Facebook
      Linkedin
      RSS
      Twitter
      Youtube

      Advertisers

      Advertise with TechnologyAdvice on eWeek and our other IT-focused platforms.

      Advertise with Us

      Menu

      • About eWeek
      • Subscribe to our Newsletter
      • Latest News

      Our Brands

      • Privacy Policy
      • Terms
      • About
      • Contact
      • Advertise
      • Sitemap
      • California – Do Not Sell My Information

      Property of TechnologyAdvice.
      © 2024 TechnologyAdvice. All Rights Reserved

      Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.