Porting Applications from WebSphere to WebLogic?
JFP queries: "I work for a division of a manufacturing company. We're currently running IBM WebSphere 3.5. We are considering a switch to BEA WebLogic 6./7. Has anyone had luck with IBM's upgrade path? Has anyone else ported a WebSphere 3.5 application to WebLogic? If so, how much of code did you have to rewrite? Are there any 'gotcha!'s that you ran into that you would care to pass along?"
Is your Websphere app unit tested? Use JUnit, and potentially add-ons like Cactus and HttpUnit so you've got some way of verifying your port.
If you decide you need a consultant, remember that the only thing worse than an expensive consultant is a cheap one.
In addition to moving from WebSphere to WebLogic, does anyone know about moving from JBoss to WebLogic. We're deploying applications on JBoss now (since it's free) but the corporation is looking at moving to WebLogic. Is Java truly the Write Once. Run Anywhere platform Sun was once pushing?
by tony clifton on Friday July 19, @02:31 P (#3918646)
(User #134762 Info)
Did I mention that I'm a consultant?
Funny i should read this right now. My company is moving from Silverstream to WebSphere. I'm having the joyous experience of learning the application, and my company is trying to decide which platform is best (UltraSparc II Vs. RS/6000 vs. UltraSPARC III). Seeing people want to move is making me want to know how badly Websphere sucks..
Aren't porting and java supposed to be oxymoronic? ;-)
-Bill
SlashSig Karma: Excellent (mostly affected by moderatio
THey have a bunch of discussions about the various App Server platforms and porting between them.
My question is wrt the form processing: How much of your code is written using IBMs custom libraries. This is the point that is going to burn you. And BEA has there own, different solution to the same problem. You may want to look into Struts or Velocity instead, to avoid being locked in to the Vendor.
Why are you switching away from IBM?
Open Source Identity Management: FreeIPA.org
The fact that I am not a fan of Java or JSP in the first place didn't help that I was taunting the professional support the whole time.
But from what I saw and heard the developers said it was trivial to go from ASP to JSP though.
Disclaimer: Don't work for them, but my company is evaluating their product.
www.HearMySoulSpeak.com
Has anyone else ported a WebSphere 3.5 application to WebLogic?
:)
I haven't done that, but I did the opposite: migrating from welogic to websphere (and also jboss/tomcat)
Besides some minor problems (easily solvable) on the jsp tags, the main difference between the app servers are the features that are not defined in the J2EE specification yet, and so are implemented in different ways by each app server. In particular:
- authentication mechanism (this is a PITA if you are implementing your own authentication, like we do
- custom services (jboss supports MBeans, which might be the standard in the future, but websphere and weblogic have their own way to do that)
- how to start/stop/restart the app server
- how/where to define JNDI objects (like user transacation and data sources)
Overall, I think moving from websphere to weblogic would be easier than the opposite way (websphere is a powerfull tool, but in my opinion it is pretty hard to configure/mantain).
Felipe
The biggest problem with upgrading from WebSphere 3.5 to anything is that it is pre J2EE 1.2 so it isn't very compliant. The deployment descriptors are not proprietary and the configuration is locked away in the Websphere Admin Database.
Upgrading from 3.5 to 4.0 is not a great process, The server config comes across okay and most of your DDs will come over, but you are required to make sure all your code is supported on the new platform. if you've got old JSPs (.91 or lower) or use EJB 1.0 you will need to hand edit them, the upgrade will fail. Also, if you are using deprecated IBM APIs you need to figure out which ones those are and stop using them. In the end when all is said and done, you are now stuck on websphere 4.0. Its fairly stable, but a beast to administer.
Upgrading to BEA is pretty good. I haven't worked with 7.0 but 6.1 works like a champ. Its really standards compliant. As long as you've got to do some rework I would reccomend this option.
Also, you may wish to check out Cacheon I saw their demo at Java One and I was pretty impressed. I don't know if they handle your particular problem, but they definitely do automated J2EE Migration.
Porting to BEA?!?! How funny... my company is currently porting from BEA to Tomcat/JBoss. We are running everything from WLS5.1-WLS7, Commerce server and WLI.
BEA is so kind as to put there own interpertation of standards (M$ anyone?) inside of their app servers. The custering configuration is awkward and limiting (try restarting a VM if you are serving real traffic. The listener starts before the VM is ready oops.) They don't allow a component architecture, the JMS implementation is dog slow (not to mention that it will only run on one VM).
I think it's a great product for $10K a CPU. But then again we're serving 2 million transactions a day on a pair of Tomcat servers.
Why not do a real port and go to c#?
Beware....
"The similarities of sysadmins and drug dealers: both measure stuff in K's, and both have users."
I would recommend avoiding weblogic like the plague. Weblogic crashed many times a week, we opened tickets with BEA and they accused us of having crappy code. Well, we scrapped weblogic in favor of an open source alternative and guess what? The same code has NOT CRASHED ONCE. If you are looking for support, look somewhere other than BEA. They won't even talk to you until you've got the latest service pack applied. BUT, a netcraft histigraph of their site revealed they didn't apply the latest patches and at times they've backed off patches that their hell desk was telling me to apply. I work in a large corporation and the only reason upper mgmt was willing to scrap weblogic in favor of an open source alternative was desperation. Weblogic sucked THAT BAD. What about performance? Our site's performance is measured by an independent company. The moment we scrapped weblogic, we recieved a 30% performance INCREASE.
Has anyone considered moving to Oracle 9iAS? What do you think about it?
Same site:
.NET
1) Perl
2) ATG Dynamo
3) MS
All in about 2.5 years.
I think the site would best be served from Perl creating static web pages, sorta how Salon does it. Oh well.
Live web cams
My experience is that upgrading without a very good reason can be more trouble than it is worth.
"I don't think it's selfish, to eat defenseless shellfish." -NOFX
This technical paper "Moving from Websphere to WebLogic" may help you.
J2EE Classloading
Will give you a good overview of the issue. Note that there are different MODES for Websphere that means it works differently for classloading between versions. I think that the Websphere 3.51 version is different to most servers in classloading.
You will get ClassDefNotFound errors in most situations that this problem is seen.
We support 8 J2EE servers with our product and we find that server configuration is the biggest headache when getting the same application working on all the servers.