• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

About EJB 1.1 upgrade to EJB 2.0

 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wrote all my project using EJB 1.1. I am wondering how much work it needed to upgrade this beans to EJB 2.0.
Is there any existing tool to do such kind of thing?
Anyone with experience please share!
Thanks in advance.
Guoqiao
 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sun,
It really depends on what you did in your project (i.e. was it just a session bean, how did you handle persistence etc...).
Vish
 
Guoqiao Sun
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Vishy:
In my case, I use both EntityBean and SessionBean. For EntityBean, I use CMP but write many customized finder method.
For those, will be difficult to upgrade?
Thanks for your reply!
Guoqiao

Originally posted by Vishy Janardhan:
Sun,
It really depends on what you did in your project (i.e. was it just a session bean, how did you handle persistence etc...).
Vish

 
Ranch Hand
Posts: 67
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The major upgrade hassle will probably be in the setting up of the abstract schema. There are tools out there that help with the mappings of abstract schema to physical schema, but most of these leave the two looking pretty similar often defeating alot of the advantages.
Yes your custom finders will all need to be re-written - but the EJBql is fairly similar to SQL in many respects so as long as you werent using too many sophisticated SQL functions the changes will be mostly template and easy to make
 
Guoqiao Sun
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Dear Karl:
Thank you so much for your reply! I got better idea of what I should do now!
Thanks again!
Guoqiao

Originally posted by Karl Laird:
The major upgrade hassle will probably be in the setting up of the abstract schema. There are tools out there that help with the mappings of abstract schema to physical schema, but most of these leave the two looking pretty similar often defeating alot of the advantages.
Yes your custom finders will all need to be re-written - but the EJBql is fairly similar to SQL in many respects so as long as you werent using too many sophisticated SQL functions the changes will be mostly template and easy to make

 
Nothing up my sleeve ... and ... presto! A tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic