May 9th, 2009, 01:19 AM
Using Spring to run an enterprise messaging application vs WebLogic
I'm new to Spring and a novice at understanding the concepts of application servers and j2ee, so please bear with me if i screw up some concepts.
A little background:
My company currently uses WebLogic to run a messaging interface/app that acts as the middleware between an in-house thick client and a vendor busienss engine. The app also has data source connections to an oracle db.
[thick client] <--jms--> [ Our WebLogic app ] <--jms--> [vendor engine]
[oracle DB] <-WL DB SOURCE->
-Our Weblogic app runs on 2 sun servers as a single cluster for failover support and load balancing.
-The application provides asynchronous service to the thick client (stateless is the term i think).
-The only ejb we use are message driven beans, nothing else.
- We use tangosol caching to lookup data quickly for optimization purposes
- we don't use servlets or other stuff related to web dev
Our app does things like translate the data that the thick client sends into comprehensible data for the vendor engine and also does certain business logic that's customized for our needs to feed into the engine.
We use a custom proprietary framework written in java, which uses XML to configure objects, like how certain requests/replies are handled.
We are evaluating ways to save money on licensing by going away from Weblogic. I understand this would involve rewriting our code to fit with the new framework/app server.
1) Do you think using Spring framework only with no enterprise app server can serve well to fit our needs? (failover, clusters, load balancing, messaging, scalability, etc). The core question for me is, can I use Spring framework to suit my needs or do I also need some type of app server to go along with Spring for my needs? A developer on the team said he used spring 2.5.6 and activemq to simulate load balancing on a single machine (by running two "server" processes and running a client to send multiple requests to the two servers.). I think the concept was called "message driven pojo (http://blog.springsource.com/2006/08/11/message-driven-pojos/)"
2) (stupid question) What's the fundamental difference between Spring and WebLogic? Is it the fact that WebLogic is just a j2ee container and spring isn't? If I understand correctly from what I've read, an application built on the Spring framework can adhere to J2EE standards still, so I'm having difficulty understanding why people just not move away from app servers and go to spring, which is a lot cheaper and can do more I assume.
3) Any other suggestions on alternatives to WebLogic? Perhaps using Spring with another app server, or using a different app server by itself, etc?
4) Please feel free to provide some buzz words I should research on my own and I'll try to do my own DD if you show me the right door .
ps. i did use search and read for bit... the closest relevant topic i could find was this but it wasn't fully answered.
Last edited by firstblud; May 9th, 2009 at 02:32 AM.