Re: Is it possible for an inbound connector to invoke servlet?
Simon Aquilina <[email protected]> Thu, 4 Dec 2008 14:41:05 +0100
| Newsgroups | gmane.comp.java.sun.connector |
|---|---|
| Message-ID | <[email protected]> |
--_dd02bc69-c51e-49f6-ae42-de4365ea4ad7_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi again=2C Since I did not receive any reply I thought to send another email with the = additional re-search I did. Basically from the diagram on slide five (5) of= the presentation 'Java=99 EE Connectors Demystified' by Binod P.G=2C Georg= e Tharakan=2C Sivakumar Thyagarajan it is clear that a custom connector sho= uld be able to invoke a deployed servlet. Having said that I still cannot understand how this can be done. In the doc= ument 'J2EE=99 Connector Architecture Specification' there is a whole chapt= er on how to invoke an EJB (Chapter 13) however I cannot find anything abou= t Servlet Invokation. I also downloaded the Servlet Specification document = but cannot really map the two together (probabbly due to my little knowledg= e about the subject). I have also checked how the Http Connector of Tomcat = works and here I found out that the Tomcat when loaded the Http Connector w= ill provide an Adapter in order to invoke Servlets however do not know if t= his is also the case for a JEE Application Server=2C nor do I know if I hav= e to set some extra configuration to have such an object available. Thanks and Regards=2C Simon J. Aquilina From: [email protected] To: [email protected] Subject: Is it possible for an inbound connector to invoke servlet? Date: Mon=2C 1 Dec 2008 21:00:10 +0100 Hi=2C I am not sure if this is the right place to ask this question. My question is related to inbound connectors. From what I can understand an application server will start a Resource Adapter (RA). Then when a Message Driven Bean (MDB) is deployed the related RA are informed. The RA would then create an Endpoint Consumer. When a message is received from an EIS the Endpoint Consumer will call a method from the MDB.=20 Now my plan was to develop something similar to the http protocol. The Enterprise Information System (EIS) makes a request=2C the request is processed=2C and a response is returned in XML (or format understood by the EIS). Because of this similarity I was wondering=3B Is it possible that an inbound connector invokes a deployed servlet?=20 Thanks and Regards=2C Simon J. Invite your mail contacts to join your friends list with Windows Live Space= s. It's easy! Try it! _________________________________________________________________ Discover the new Windows Vista http://search.msn.com/results.aspx?q=3Dwindows+vista&mkt=3Den-US&form=3DQBR= E= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D To unsubscribe, send email to [email protected] and include in the body of the message "signoff CONNECTOR-INTEREST". For general help, send email to [email protected] and include in the body of the message "help". --_dd02bc69-c51e-49f6-ae42-de4365ea4ad7_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable <html> <head> <style> .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 10pt=3B font-family:Verdana } </style> </head> <body class=3D'hmmessage'> Hi again=2C<br><br>Since I did not receive any reply I thought to send anot= her email with the additional re-search I did. Basically from the diagram o= n slide five (5) of the presentation 'Java=99 EE Connectors Demystified' by= Binod P.G=2C George Tharakan=2C Sivakumar Thyagarajan it is clear that a c= ustom connector should be able to invoke a deployed servlet.<br><br>Having = said that I still cannot understand how this can be done. In the document '= J2EE=99 Connector Architecture Specification' there is a whole chapter on h= ow to invoke an EJB (Chapter 13) however I cannot find anything about Servl= et Invokation. I also downloaded the Servlet Specification document but can= not really map the two together (probabbly due to my little knowledge about= the subject). I have also checked how the Http Connector of Tomcat works a= nd here I found out that the Tomcat when loaded the Http Connector will pro= vide an Adapter in order to invoke Servlets however do not know if this is = also the case for a JEE Application Server=2C nor do I know if I have to se= t some extra configuration to have such an object available.<br><br>Thanks = and Regards=2C<br>Simon J. Aquilina<br><br><hr id=3D"stopSpelling">From: si= [email protected]<br>To: [email protected]<br>Subject: Is it p= ossible for an inbound connector to invoke servlet?<br>Date: Mon=2C 1 Dec 2= 008 21:00:10 +0100<br><br> <style> .ExternalClass .EC_hmmessage P {padding:0px=3B} .ExternalClass body.EC_hmmessage {font-size:10pt=3Bfont-family:Verdana=3B} </style> <style> @page {=3B} .ExternalClass P {margin-bottom:0.21cm=3Bline-height:150%=3Btext-align:justify=3B} .ExternalClass P.EC_western {font-family:"=3BCalibri"=3B=2C sans-serif=3B} </style> <p class=3D"EC_western" align=3D"left">Hi=2C<br><br>I am not sure if this i= s the right place to ask this question. My question is related to inbound connectors. From what I can understand an application server will start a Resource Adapter (RA). Then when a Message Driven Bean (MDB) is deployed the related RA are informed. The RA would then create an Endpoint Consumer. When a message is received from an EIS the Endpoint Consumer will call a method from the MDB. <br><br>Now my plan was to develop something similar to the http protocol. The Enterprise Information System (EIS) makes a request=2C the request is processed=2C and a response is returned in XML (or format understood by the EIS). Because of this similarity I was wondering=3B Is it possible that an inbound connector invokes a deployed servlet? <br><br>Thanks and Regards=2C<br>Simon J.<br><br></p> <br><br><br><br><hr>Invite your mail contacts to join your friends list wit= h Windows Live Spaces. It's easy! <a href=3D"http://spaces.live.com/spacesa= pi.aspx?wx_action=3Dcreate&=3Bwx_url=3D/friends.aspx&=3Bmkt=3Den-us">= Try it!</a><br /><hr />Discover the new Windows Vista <a href=3D'http://sea= rch.msn.com/results.aspx?q=3Dwindows+vista&mkt=3Den-US&form=3DQBRE' target= =3D'_new'>Learn more!</a></body> </html>= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D To unsubscribe, send email to [email protected] and include in the body of the message "signoff CONNECTOR-INTEREST". For general help, send email to [email protected] and include in the body of the message "help". --_dd02bc69-c51e-49f6-ae42-de4365ea4ad7_--