Title: RE: [Eap-list] EJB Support in Ariadna

That'll be a good start.  But probably more consideration might be needed to support different kinds of J2EE servers out there.  Would be reasonable for IDEA to "discover" the EJB's (or EJB group as you called it) in a project?  For example, scan for the ejb-jar.xml and figure out the classes and resources.

Also, this is where the Open API would come in handy.  Every EJB group can have a context menu item, say, "Build EJB", and user can tie that menu item to an external task or an ant task.  I think I'll be good.

What do you guys think?


Thanks,
Mike Liu



 -----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]  On Behalf Of Mike Aizatsky
Sent:   Thursday, February 07, 2002 8:46 AM
To:     [EMAIL PROTECTED]
Subject:        RE: [Eap-list] EJB Support in Ariadna

Jacques,

EJB support in IDEA is in its very early stage and many questions are
still open & many decisions are arguable.

After small discussion we'd like to propose the following modification
to the EJB configuration. Every EJB group will consist of the EJB source
path and the arbitrary set of files. All files you add to the EJB group
will be shown in the EJB view under the group's node (you can add e.g.
jndi.properties there for faster access). If you add specify ejb-jar.xml
file to the group, its information will be used for determining EJB
structure. What do you think?

Best regards,
Mike Aizatsky.
------------------------------
IntelliJ Software, "Develop with pleasure!" http://www.intellij.com


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
On
> Behalf Of Jacques Morel
> Sent: Thursday, February 07, 2002 6:22 PM
> To: [EMAIL PROTECTED]
> Subject: RE: [Eap-list] EJB Support in Ariadna
>
> The current setup is very intrusive on the necessary layout of your
ejb
> project. IntelliJ has been great so far at not constraining the layout
of
> a project like Eclipse does for example.
> We have our ejbs in our normal source path and our ejb-jar.xml in some
> other directory without META-INF. We deal with a META-INF directory
only
> when we create the ejb jars.
> It would be nice to have the EJB group path be the path to the
ejb-jar.xml
> not a sub tree with constrained layout.
>
> -----Original Message-----
> From: Mike Aizatsky [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 4:46 AM
> To: [EMAIL PROTECTED]
> Subject: [Eap-list] EJB Support in Ariadna
>
>
> Hi, All
>
> In order to IDEA correctly recognizes EJBs in your project, ejb group
> paths should contain ejb-jar.xml file in META-INF folder. I.e. if you
> add C:\MyProject\EJB as EJB group your ejb-jar.xml should located in
> C:\MyProjects\EJB\META-INF\ejb-jar.xml.
>
> You shouldn't also add EJB group folder to project roots/source paths.
>
> Best regards,
> Mike Aizatsky.
> ------------------------------
> IntelliJ Software, "Develop with pleasure!" http://www.intellij.com
>
>
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list
>
>
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to