• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

ejb and rational rose

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
how do i model EJBs using UMl in rational rose 98 enterprise edition. reference to any sample rational rose file doing so would be great, also how do i make automatic code generation in rational rose work for java.
 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
u can represent entity beans as class with stereotype set to entity. session beans can be represented as class with stereotype control.
in rose - select the class(s) and right click to generate Java. or go to tools Java and click on generate code.

 
sushil bajracharya
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thank you avijeet for the reply.
yes i've tried the automatic code genaration by right clicking or using the tools menu but nothing happens when i do so. what may be the problem ?

Originally posted by Avijeet Dash:
u can represent entity beans as class with stereotype set to entity. session beans can be represented as class with stereotype control.
in rose - select the class(s) and right click to generate Java. or go to tools Java and click on generate code.


 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Sushil,
Check out whether your rational rose is able to locate J2EE or Weblogic related Classes.
If this is possible then you can create a class in logical view.
here when you create a new class,just right click and go for
Open Specification and there you have General specifications,
in this Class name, Type, and Stereotype is there,
for stereotype select BSC.Entity, or BSC.Session
this way you can create a model.
After creating model
go to tools
select WeblogicAC and Export model as....
This will create tast file,
Which then will be used for generate Code ....
For that you can use

java theory.smart.compiler.SmartGenerator -trace g -tast %MY_HOME%\xxx.tast -root %MY_HOME%\src -deployment_root %MY_HOME%\src\deploy -dd -classes xxx.yyy.EntityName

I think this will help you.
Regards
Jaisinh
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
quote:
--------------------------------------------------------------------------------
Originally posted by Avijeet Dash:
u can represent entity beans as class with stereotype set to entity.
Avijeet,
I think the stereotype to be set for the entity bean class in Rose is ' business enity ' instead of ' entity ' because even though code wise there might not be any difference but conceptually there is - the entity beans taking part in the business or enterprise application. What do u feel.
 
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by sushil bajracharya:
how do i model EJBs using UMl in rational rose 98 enterprise edition. reference to any sample rational rose file doing so would be great, also how do i make automatic code generation in rational rose work for java.


I may sound inconsiderate, but I think if you would have a lot more convenience with Together than apposed to use Rational. Together's integration with Web Logic deployment and having EJB patterns is a lot more superior.

------------------
Thank you.
- Simon See
simon-ivy@usa.net
-after office hours-
necro-mani-cide
 
Ranch Hand
Posts: 1157
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I had been using Ensemble Systems Rose Link for JDeveloper, which "reverse-engineers" Oracle JDeveloper IDE projects into UML.Similarly any changes made in the UMl artifacts are reflected back in JDeveloper projects.I have used this extensively for doing my assignments in EJB.
I guess the Ensemble link for Oracle JDeveloper IDE has ceased to exist.It may be because Oracle has come with a new version of JDeveloper Release 9i, which has an integrated UML Modelling kit in it.It seems to be a great integrated tool, atleast from the convenience point of view - how it is going to do in the market we will have to wait and watch!
Hope this helps,
Sandeep
SCJP2, OCSD(Oracle JDeveloper), OCED(Oracle Internet Platform)
[This message has been edited by Desai Sandeep (edited August 29, 2001).]
 
Jes Sie
Ranch Hand
Posts: 188
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sandeep,
Can you pls pass me some info on Oracle 9i in terms of UML integration?

------------------
Thank you.
- Simon See
simon-ivy@usa.net
-after office hours-
necro-mani-cide
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic