Three interesting announcements – EJB 3.0, Eclipse WTP and a new database: H2 (source included, Java)

1

Just browsing through my RSS feeds-reader, I stumbled across three very interesting announcements:

  • The Eclipse Foundation today launched the Eclipse Web Tools Platform (WTP) 1.0. Release 1.0, which is an upgrade of the original 0.7 release and is built on top of the Eclipse 3.1.1 maintenance release, achieves two major goals in the WTP roadmap: It defines the WTP application programming interface (API) and remains current with the underlying Eclipse platform.  See the homepage of the Eclipse Web Project: http://www.eclipse.org/webtools/main.html

  • The creator of Hypersonic SQL has written a new database engine: H2.
    It’s is written in Java, is free, source code is included. Available as
    Java library and as native executable (GCJ). JDBC and (partially) ODBC
    APIs are supported. Embedded and client/server mode, disk based or
    in-memory operation, a web console application is included. Clustering
    is supported as well. (source: TSS)

....

On EJB 3.0

There is already a number of preview implementations of EJB 3.0 available: the Reference Implementation, such as JBoss, Oracle OC4J and GlassFish – the Reference Implementation. GlassFish is composed of (core components of) the Sun Application Server and Oracle’s TopLink ORM Tool. On the GlassFish project page, we find the following fragment on persistence: "Persistence applications written to Enterprise JavaBeansTM 3.0 Specification use entities as  lightweight persistent domain objects instead of CMP beans. Such entities can be inserted, deleted, or fetched from a database via the new persistence Java API that can be used either in a Java EE container or stand-alone with Java SE. An entity is defined by the entity class which can extend another entity class as well as a non-entity class. Entities can participate in polymorphic associations, and be subject to polymorphic queries. Persistent state of an entity can be represented either via JavaBeans style property accessors or via instance variables (though clients should never access state variables directly)." Details on EJB 3.0 Persistence Support in GlassFish can be found on https://glassfish.dev.java.net/javaee5/persistence/entity-persistence-support.html. It also describes how the EJB 3.0 Persistence Technology of GlassFish can be used in Java SE, outside the J2EE container: Out of container Persistence.

On WTP 1.0

The goal of the WTP project, which was launched in July 2004, is to
extend the open source Eclipse platform to Web and J2EE application
development. WTP has already been adopted by leading J2EE suppliers,
including BEA, Borland Software, IBM, JBoss and ObjectWeb. The WTP project includes source editors for HTML, JavaScript,
Cascading Style Sheets, JavaServer Pages, SQL, XML, Document Type
Definition, XML Schema Definition and WSDL, as well as graphical
editors for XSD and WSDL. Release 1.0 is also more scalable and robust. It fixes
important bugs, and includes major document and help-system
contributions from IBM that include both end-user and adopter
documentation. Future releases of WTP will focus more on the third
roadmap goal, which is currency with Web and J2EE standards like Java
EE 5 and WSDL 2.0.

The next WTP release in February will be a service pack for 1.0. Then in June all the Eclipse top-level projects are
expected to attempt a coordinated release around the 3.2 release of the
Eclipse platform, dubbed Callisto. That coordinated release, which
Wagner said is subject to the Eclipse Planning Council, is expected to
include the 1.5 release of WTP. The WTP 1.5 is expected to include the
JavaServer Faces tools subproject, which was proposed by Oracle Corp.
earlier this year and is now in incubation.

See the article Eclipse touts Web, J2EE development in tools release by Paul Krill (19th December 2005) on InfoWorld  http://www.infoworld.com/article/05/12/19/HNeclipsewebtools_1.html  

On H2

It is free to use and distribute, and the source code is included.
But currently does not have a ‘open source style license’, but this will probably change soon.
See also under license. It certainly looks interesting, especially the emphasis on speed and performance, not typically expected from a Java based database:
Some people think that Java is still too slow for low level operations,
but this is not the case (not any more). In general, the code can be written a lot faster
than using C or C++. Like that, it is possible to concentrate on improving the algorithms
(that make the application faster) rather than porting the code and dealing with low
level stuff (such as memory management or dealing with threads).
Garbage collection is now probably faster than manual memory management.

Share.

About Author

Lucas Jellema, active in IT (and with Oracle) since 1994. Oracle ACE Director for Fusion Middleware. Consultant, trainer and instructor on diverse areas including Oracle Database (SQL & PLSQL), Service Oriented Architecture, BPM, ADF, Java in various shapes and forms and many other things. Author of the Oracle Press book: Oracle SOA Suite 11g Handbook. Frequent presenter on conferences such as JavaOne, Oracle OpenWorld, ODTUG Kaleidoscope, Devoxx and OBUG. Presenter for Oracle University Celebrity specials.

1 Comment

  1. Also good news from sun…

    http://www.sun.com/smi/Press/sunflash/2005-12/sunflash.20051213.1.html

    “Sun Microsystems Incorporates Open Java DB Into Java Enterprise System”

    Offers Additional Support for the Sun Supported Distribution of the Apache Derby Database with NetBeans IDE 5.0 Plug-In

    The latest release of the Sun Java Enterprise System (release 4) now uses the open Java DB as its application-embedded and Java developer database. The open Java DB is incorporated in the Sun Java System Portal Server 7.0 for use in data storage; it is used as well as the development database within all versions of the Sun Java System Application Server, including the open source Project GlassFish.

    “The open Java DB is the best database for Java application development, and a great fit for Java developers. And since Sun has made its software portfolio available at no cost, we make it even easier for developers and customers to take advantage of this enhanced environment,” said John Loiacono, executive vice president of Software at Sun.