[jboss-dev-forums] [JBoss AS7 Development] - Re: Embedded AS

David Lloyd do-not-reply at jboss.com
Tue Nov 9 09:13:36 EST 2010


David Lloyd [http://community.jboss.org/people/david.lloyd%40jboss.com] created the discussion

"Re: Embedded AS"

To view the discussion, visit: http://community.jboss.org/message/570260#570260

--------------------------------------------------------------
> Jason Greene wrote:
> 
> > David Lloyd wrote:
> > 
> > Well, any of the following solutions would work:
> > 1. Run embedded stuff in a fully modularized environment
> > 2. Put everything on the app classpath (and hope there's no duplicate dependencies...)
> > 3. Use a hybrid solution with a customized module repos where no packages are duplicated between modules and the app class path
> > 
> > Just using the app classpath is the simplest, assuming you don't hit any duplicate issues.
> I had typed up this nice really well thought out post, but the forums decided to eat it. So instead I will summarize  :) 
> 
> Basically I think 2 is a non-option as it will be brittle and it directly contradicts with our hide internal impl requirement. Not to mention if we are testing a client server protocol we actually do want the classes to be in separate loaders.

I don't think all our requirements apply for all embedded use cases.  That said I don't think that the flat-classpath embedded arrangement is suitable for testing our own stuff in most cases, but I think some users will want to do it that way.  I agree that long-term we should focus on encouraging users to run in a modularized environment.
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/570260#570260]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20101109/6120f5ca/attachment.html 


More information about the jboss-dev-forums mailing list