This content has been marked as final.
Show 4 replies
-
1. Re: Ear and EJB no WAR problem
kapitanpetko Jan 18, 2010 2:42 AM (in response to pieter.martin)Why to you need Seam in the first place if you have only one MDB?
-
2. Re: Ear and EJB no WAR problem
pieter.martin Jan 18, 2010 7:38 AM (in response to pieter.martin)Well cause I quite like having seam around. This MDB is just a demo for now but it will have to make use of other Seam components.
In the mean time I added a empty WAR, but it would be nice not to have to do that.
Thanks
Pieter -
3. Re: Ear and EJB no WAR problem
kapitanpetko Jan 18, 2010 7:53 AM (in response to pieter.martin)
pieter martin wrote on Jan 18, 2010 07:38:
Well cause I quite like having seam around. This MDB is just a demo for now but it will have to make use of other Seam components.OK...
In the mean time I added a empty WAR, but it would be nice not to have to do that.Seam is initialized with a servlet listener, so you need a web app for that. If really try want to do it without a
webapp, look for ideas in the Lifecycle class. Specifically, beginApplication/beginCall/endCall/endApplication.
You'll have to initalize Seam yourself, and you will get only event and application scopes (since there is no webapp).Either that or live with an empty war.
HTH
-
4. Re: Ear and EJB no WAR problem
pieter.martin Jan 18, 2010 12:38 PM (in response to pieter.martin)Ok thanks, I think I'll go for the empty web app for now.
Pieter