dev@glassfish.java.net

questions about directory deployment in v3

From: Vince Kraemer <Vince.Kraemer_at_Sun.COM>
Date: Wed, 22 Oct 2008 12:19:45 -0700

It looks like Java EE 6 will allow web apps to contain EJB
implementations. When the EJBs are in the classes directory, it is
pretty obvious how this will affect directory deployment and how an IDE
might leverage that capability of v3.

In the situation where the web app's lib directory contains a jar that
has EJBs in it (which makes the web app kind of earrish, to my way of
thinking)... will there be a way to eliminate the jar creation step of
the build?

For example, in the v2/ear case, a developer can eliminate the jar
packaging step when they build an ear that contains a web app and an
ejb-jar... by carefully setting the destdir attribute of their javac
task... http://ant.apache.org/manual/CoreTasks/javac.html

It would be nice to be able to do something like this for earrish web
apps in v3...

What is the current thinking in this area?

vbk