db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Naveen Murthy" <nmur...@datalinx.net>
Subject RE: Deploying torque as a separate service
Date Thu, 14 Feb 2008 23:02:00 GMT
yes, that would definitely work.

you could create a spring "business object" bean/proxy and within in u can delegate the calls
to lower level dataaccess objects that use torque. in this case, if the clients of ur service
are on a different m/c, then ull have to expose the service to them using 'lighweight remoting'
or webservices so that they can access it.

for services layer u can think of it in the following way..
delivery mechanism  -> business objs -> data access objs -> backend

A good opensource based solution for this cud be-->

Axis/webservices -> spring -> torque/hibernate -> <whatever db>

depending on ur client requirments, other delivery mechanisms applicable cud messaging/JMS
based or  even ejb/rmi.

thx


-----Original Message-----
From: Raj [mailto:nwiraj@yahoo.com]
Sent: Thu 2/14/2008 8:54 AM
To: Apache Torque Users List
Subject: Re: Deploying torque as a separate service
 
I have not used Spring-framework, but wanted to know
if I can wrap the Torque objects as a service using
spring?

Thanks

--- Raj <nwiraj@yahoo.com> wrote:

> Greetings All,
> 
> We are looking to deploy apache-torque based
> business/persistence layer as a separate component
> that can be accessed by multiple clients. 
> 
> Currently we have it inside a war file. We need to
> do
> this since we will have multiple web & non-web
> clients
> accessing the business/persistence layer.
> 
> One approach is to wrap the torque based
> business/persistence component as a REST service and
> deploy it in a separate tomcat instance or as
> separate
> web-app.
> 
> Appserver: Tomcat 5.5 
> 
> Any other ideas that will reduce this
> migration/redesign work?
> 
> Thanks in advance,
> Raj
> 
> 
>      
>
____________________________________________________________________________________
> Looking for last minute shopping deals?  
> Find them fast with Yahoo! Search. 
>
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> torque-user-unsubscribe@db.apache.org
> For additional commands, e-mail:
> torque-user-help@db.apache.org
> 
> 



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org





Mime
View raw message