Section 4.1.3
1. Can you explain how the ClassLoaders are setup (if any) when embedded GF starts? If we are going to use just the caller's ClassLoader please state that.
[b]*** A quick answer is -- Yes we use the caller's ClassLoader[/b]
2. Are we going to support running JPA applications inside this embedded GF? Typically, JPA implementations (like TopLink) require special ClassLoaders to add Transformers to instrument classes.
[b]This is one of many future complications that we will need to address. But, yes, we do plan to support JPA.[/b]
3. Can you list what services will be available in the embedded GF? (Like Security, Transaction etc.)
[b]All Services that are in the web distribution -- for Prelude[/b]
4. If the Embedding (the caller's) VM already using a NamingManager, does the embedded GF should use that (instead of creating our NamingManager)? Please clarify.
[b]Again this is another complication that will be addresses post-prelude[/b]
Section 4.1.6
The example that uses ScatteredWar seem to suggest that the deployed app need not follow the regular .war structure? Can you elaborate more about the layout (if any) of the apps that can be deployed?
[b]It's pretty simple. You pass in: Name of App, web.xml location, resources location and classes location.[/b]
Also, instead of the user having to create a ScatteredWar, can we not do glassfish.deploy(String appName, File... locations)?
[b]No. ScatteredWar is doing more than just gathering file locations. It is needed...[/b]
Can you explain what exactly is done during glassfish.stop()
[b]All Startup services are released then all Init Services are released.[/b]
Thanks,
--Mahesh
[Message sent by forum member 'bnevins' (bnevins)]
http://forums.java.net/jive/thread.jspa?messageID=287740