Hi Vince,
I agree this is something we should think about for NetBeans 7.0. I am
not sure if anyone has the cycles to think about the design now, but I
agree we will need to think about this sometime in the future.
Petr
Vince Kraemer wrote:
> One of the interesting demos that I saw at one of the Java EE pods was
> the use of an EJB embedded into a web application project.
>
> It was cool, since the EJB container was doing the transaction
> management for data access... instead of me.
>
> That got me to thinking... how will NetBeans support Java EE 6 development?
>
> It should be easy to add the wizard that creates an EJB into the web app
> project's "available templates".
>
> It should be easy to add the smarts to have the "Call EJB" action
> identify and present the EJBs that are embedded in a web app to the
> developer to use.
>
> And that will be a great start.
>
> But, after I have a web-app that has a bunch of really useful beans
> embedded in it... how will NetBeans help me get them OUT of the web app,
> so they can be used in other projects? Will there be a menu item on
> the web project to convert it to an EAR project (and its requisite
> module projects) or create a new EAR project, based on the code in the
> web-app? How about a menu item that just builds the embedded ejb-jar
> archive?
>
> vbk
>