Mailing List
Home
Forum Home
Maven - Project building tool
Axis - Java SOAP implementation
Cocoon - MVC web framework based on XML/XSL
Lucene - Full-featured text search engine APIs
Fop - Create PDF, PCL, PS, SVG, XML driven by XSL formatting objects.
Log4J - A log library
POI - Java Excel, Word and other Microsoft Office files manipulating library
Oracle database error code ...
Subjects
log4j warning: No appenders could be found
java security AccessControlException: access denied (java io FilePermission clie
java lang InstantiationException: org apache tools ant Main
Apache Axis Tutorial
Struts <logic iterate >
log4j properties How to parse outpu to multiple files
configuring log4j with BEA Weblogic 8 1
How to use XSL FOP Java together
JSP precompile
Servlet File Download dialog problem (IE6,Adobe 6 0)
Proposal: Adding jar manifest classpath in jar and war plugins
Unsupported major minor version 48 0 problem while running the an
   telope task
java security AccessControlException: access denied (java io FilePermission
axis wsdl2java Ant Task usage
net sf hibernate MappingException: Error reading resource: test/User hbm xml
Building EAR ANT Script for websphere 5 0
CREATING WAR Files
jsp data into Excel
Classpath problem
Jboss 3 2 3+ vs Tomcat Axis Question
RE: How to include jars and add them into the MANIFEST MF/Class Path
attribute
Printing problem
InstantiationException
Couldn 't find trusted certificate
Please : How can one install ant 1 6 0 under Eclipse 2 1 ?
Excel: Too many different cell formats
Running junit tests fails
XDoclet, Struts and Maven: Where to start? SOLUTION
1 3 final: now giving me java io FileNotFoundException (Too many
open files)
AXIS: tomcat timeout ?
 
J2EE Support

J2EE Support

2006-06-28       - By Warren Crossing

 Back
Reply:     <<     11     12     13     14     15  

I use axis1-4 for ws based auth and session management, this ties
directly into my sessionbean using the providers and handlers from axis1-4.

If the context has a session then it talks to the same session bean
serviceobject.  If the context has credentials then they are passed into
jni to look up the ejb service object.

What I hope get from this architecture is container based transaction
and security support without exposing transactions or neccessarily
security through the wsdl. I could add another handler to map security etc..

I noticed when the session is reaped on timeout that remove() is not
called on the session bean.  I might clone EJBProvider and implement
ServiceLifecycle so I can call remove() on the destroy() event.

So why go to this effort in architecture to essentially pass the buck to
the next component? I am essentially exposing a call-control sip stack
through the ws. I have no place to do any core logic, or event routing,
in the ws layer or in the stack as they both maintain session state and
transactions in completley different ways, ie cookies and dialogs.

What I really want is a transactional context to say "detect the call
has ended ! debit close the session and modify some database state,
handle failure case, make endpoint callbacks etc" which I can't get from
the sip stack (aka black box) and don't trust the web server to do
(reliably).

Another reason is I automagically get pooling of service objects. Sure I
have to authenticate twice a session, once in the ws and once in jni -
ejb, but I don't have to worry about dos and cross host usage.  I don't
really need session failover but that's another point for the ejb
container (if supported).

I also get ejb timers facility and concurrency and synchronization. So I
think its a win for coupling the two architectures togeather.

IMHO WS is not an application framework it's just another
remoting/messaging technology primarily for .NET and monkey JEE interop.
Otherwise why not just use IIOP? It's much faster! =)

Interested in your feedback.



michel.lequim@(protected) wrote:
> Hi, axis 1 & 2 work in a J2EE environment
>
>
> Michel Lequim
>
> -- --Original Message-- --
> From: axis-user-return-45997 (See http://urn-45997.ora-code.com)-michel.lequim=fortis.com@(protected)
> [mailto:axis-user-return-45997 (See http://urn-45997.ora-code.com)-michel.lequim=fortis.com@(protected)]
> On Behalf Of Andrew Lindley
> Sent: Friday, June 16, 2006 11:54 AM
> To: axis-user@(protected)
> Subject: [AXIS2] J2EE Support
>
> I was just wondering, why neither AXIS, nor AXIS2 do support J2EE - is
>
> this correct?
> JBoss e.g. has this feature.
>
> Is this information correct?
>
> thanks,
>

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To unsubscribe, e-mail: axis-user-unsubscribe@(protected)
For additional commands, e-mail: axis-user-help@(protected)