Hi I'm a newbie and I've just started experimenting with Axis2 running the
samples.
I've some questions:

What's about exposing a data interface of a pojo server application through
ws?

I'll try to explain me better...

Imagine that data I need to access from my serviceimpl class are stored into
an inmemory complex datamodel of my application. 

This is a pojo application but has an embedded servlet container used as web
console.
Datamodel application is populated and updated through the its business
logic.
The application, inside its main method, starts the embedded servlet
container (jetty or tomcat embedded).
Axis2 and the serviceimpl class are deployed inside the embedded servlet
container.

Now from my serviceimpl class I need to access my datamodel which resides on
the business layer.

How can I glue axis2/web layer invokations to the business layer?

Laying in the same jvm (and probably sharing the same classloaders) should I
use a singleton adapter?

Most of WS tutorials, for the sake of simplicity, shows serviceimpl classes
"self contained" which just have values created inside them, furthermore
they shows how to add WS to exisisting web applications.


Thank you in advance

--
Davide
-- 
View this message in context: 
http://www.nabble.com/data-access-between-service-impl-and-application-layer%3A-best-approach-tf2873181.html#a8030648
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to