| Author |
About EJB 1.1 upgrade to EJB 2.0
|
Guoqiao Sun
Ranch Hand
Joined: Jul 18, 2001
Posts: 317
|
|
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
|
Guoqiao Sun<br />SCJP2 SCWCD2<br />Creator of <a href="http://www.jiris.com/" target="_blank" rel="nofollow">www.jiris.com</a>, Java resource, mock exam, forum
|
 |
Vishy Janardhan
Greenhorn
Joined: Jun 17, 2002
Posts: 7
|
|
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
Joined: Jul 18, 2001
Posts: 317
|
|
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
|
 |
Karl Laird
Ranch Hand
Joined: Jul 14, 2001
Posts: 67
|
|
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
|
The Eagle sneers at the Peacock<p>Systems Administrator<br />OrderWare Solutions Ltd<br /><a href="http://www.orderware.net" target="_blank" rel="nofollow">http://www.orderware.net</a>
|
 |
Guoqiao Sun
Ranch Hand
Joined: Jul 18, 2001
Posts: 317
|
|
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
|
 |
 |
|
|
subject: About EJB 1.1 upgrade to EJB 2.0
|
|
|