Title: SV: [Eap-list] EJB Support in Ariadna
Say I have an ejb-jar named: tj-ejb.
The tj-ejb context menu should contain options like:
    - New Entity Bean
    - New Session Bean
    - New Message Driven Bean
    - Build (ejb-jar)
    - Verify
    (if idea warns/notifies me about verification errors, then this menu item is redundant)
 
The result of all of those menu items should be a popup asking about the ejb-name. Based on ejb-name the names of Remote, Local, Bean, Home and PK classes should be set. Suffixes and prefixes for those tasks should go under Project Properties -> EJB Settings.
 
Being in either the Local/Remote interface or in the Bean Class and pressing something similar to: Ctrl+I or Ctrl+O (or how about alt+insert) for Implement Method or Override Method should add that method to:
    - The Remote/Local interface
    - The Bean
    - under transaction settings in ejb-jar.xml (but this should be optional either on a Per Project baseis, Per Bean basis or ask the user every time)
This "add business method" action should also be available from the context menu of an exisiting bean.
 
Some smooth way of adding a cmp field from either the remote/local interface or the bean class would be cool too. It would work in the same manner the "add business method" does. (changes made in all necessary places etc).
 
Warnings for stuff like:
    - Hey, method "A()" is in the remote/localinterface, but is not yet defined in the BeanClass would be cool if it was brought to my attention with that "Import class", "declare final" thingy.
 
Adding finders should work the same way that adding cmp-fields and adding business methods do, i.e.: both a context menu item and some generate this or that from the home interface sourcefile (Alt+insert).
 
I think the Structure View should tell me stuff like:
 
+ Journal
|
+-- (RW)      startDate:Date
+-- (RO) (ER) owner:Profile
+-- (ID) (RO) id:String
+-- addSession(s:Session):void
 
Where:
    RW == Read/Write
        RO == Read Only
        ID == Primary Key
        ER == EJB Relation (something that describes that this is one end of a relation)
 
The RW and RO abbreviations are already in your icon sets with that pad lock thing. But the other would be some new icons.
 
Also it would be cool to somehow see which ejb entity beans are related to (ejb-relation:wise) to each other. I don't have a good suggestion for that though. (UML Diagram is as I understand it not an option).
 
 
 
Keep up the good work. Pandora rocks them all, Ariadna soon rocks Pandora :)
 
 
best regards,
Patrik Andersson
 
 
-----Ursprungligt meddelande-----
Från: Mike Aizatsky [mailto:[EMAIL PROTECTED]]
Skickat: den 7 februari 2002 18:47
Till: [EMAIL PROTECTED]
Ämne: RE: [Eap-list] EJB Support in Ariadna

Patrik,

 

We are thinking about implementing such functionality. It will also be really helpful for us if you try to compose the list of generations which will be helpful for you, because were are not actively developing EJBs and sometimes not sure about the desired functionality.

 

Best regards,

Mike Aizatsky.

------------------------------

IntelliJ Software, "Develop with pleasure!" http://www.intellij.com

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Patrik Andersson
Sent: Thursday, February 07, 2002 8:34 PM
To: '[EMAIL PROTECTED]'
Subject: SV: [Eap-list] EJB Support in Ariadna

 

Sounds good to me.
What is the thoughts on having context menu options like: new cmp field, new relation, transactions etc ? Too highlevel? Are there any thoughts as to renaming cmp fields and having that change made to all places necessary (ejb-jar.xml, local/remote-interface, beanclass)

regards,
Patrik Andersson

-----Ursprungligt meddelande-----
Fran: Kelly Ray Jensen [mailto:[EMAIL PROTECTED]]
Skickat: den 7 februari 2002 17:57
Till: [EMAIL PROTECTED]
Amne: RE: [Eap-list] EJB Support in Ariadna

 

+1

On Thu, 2002-02-07 at 09:46, Mike Aizatsky wrote:
> 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
>




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

Reply via email to