Inside Scoop on J2EE : Tips and tricks on J2EE and Oracle Application Server by Debu Panda
Updated: 11/18/2004; 5:20:24 PM.

 

Subscribe to "Inside Scoop on J2EE" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Thursday, May 06, 2004

Simplifying  Java Application Development

I attended the Ease-of-Development session delivered by Bill Shanon and Graham Hamilton in the TSS Symposium. It was interesting to note that the goal of J2EE 1.5 is simplification of development and to attract more developers to the Java/J2EE platform. Sun understands the competition and trying to address the concern that Java/J2EE is too complex to develop applications.

Following are the key weaknesses for Java Platform according to the speakers:

  • Developer productivity
  • Perception is J2EE is hard to use (Indeed this the reality !)
  • Biggest issue is low-end productivity

The primary goal seems to make Java easier is to use annotations (JSR-175) to introduce attribute oriented programming.

The new annotation processing tool apt will be available with J2SE 1.5 (Beta 2). The apt will process the annotations and compile the generated java code to build classes.

Also they looked at support of Generics, iterating over collections, support of enumerated types, autoboxing primitive types.

J2EE 1.5 Ease of Development

Again the emphasis was on use of program annotations. Here are few other plans which looks promising:

  • Rely on defaults
  • Drastically reduce deployment descriptors
  • Simplify some boilerpate code like life cycle methods
  • Add utility classes

Simplifying EJB Development 

  • Use annotations
  • No need to create interfaces
  • No need of deployment descriptors
  • Annotations create the interfaces and deployment descriptors with defaults
  • No ejb lifecycle methods

Ease of Development for WEB SERVICES

Again use annotations to simplify development of web service applications

  • Build on JSR 181 - annotations for web services
  • Integrated with JAXB 2.0

SIMPLIFY JNDI

  • Use an universal conext i.e. one place where you can lookup things type and name
  • Works same way in all containers

Simplify building  Web Applications

  • Ease of use with Java Server Faces
  • JSTL

2:47:36 PM    comment []

© Copyright 2004 Debu Panda.

PS: These are my own thoughts and not of my employer ..



Click here to visit the Radio UserLand website.
 


May 2004
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Apr   Jun