  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | JSP - A mailing list about Java Server Pages specification and reference | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | C++ - Java communication | C++ - Java communication 2004-03-01 - By Tim Brown
Back Sounds like a good approach.
Perhaps OpenAdaptor would also suffice. Take a look at http://www.openadaptor.org
It's written in Java, but I believe there is some C++ stuff lying around in CVS. You might be able to write a Java adaptor to JNI into your C++ code...
Thanks,
Tim
Please respond to An interest list for Sun Java Center J2EE Pattern Catalog <J2EEPATTERNS-INTEREST@(protected)> Sent by: An interest list for Sun Java Center J2EE Pattern Catalog <J2EEPATTERNS-INTEREST@(protected)> To: J2EEPATTERNS-INTEREST@(protected) cc:
Subject: Re: [J2EEPAT-INT] C++ - Java communication
Hi, I would rather suggest to use a customized solution using HTTP as a transport mechanism.
There are C++ libraries that support HTTP transport functions like POST, GET etc., and you can implement a standard Controller servlet to receive these transactions and take'em into the appserver domain where you implement your services.
This approach supports the future migration to webservices. Since you are building your messaging on top HTTP stack, you can extend this to have security, reliability etc., all transparent to the application.
Thanks Laks
"Aaron Tubman" <aharon@(protected)> To: J2EEPATTERNS-INTEREST@(protected) Sent by: "An interest cc: (bcc: Lakshmi Narayanan/NYC/Empire) list for Sun Java Center Subject: C++ - Java communication J2EE Pattern Catalog" <J2EEPATTERNS-INTEREST@(protected) VA.SUN.COM>
03/01/2004 04:35 AM Please respond to "An interest list for Sun Java Center J2EE Pattern Catalog"
Hi,
Our system has two code-bases C++ and Java. We search for transport layer between C++ and Java that satisfy the following requirements: 1. Support synchronous and a-synchronous message passing 2. Easy development 3. point-to-point and publish-subscribe(optional) 4. Reliability 5. Low cost 6. Performance 7. Standard
We have checked two approaches:
1. JMS ? no C++ support 2. Tibco that is too expensive for our case. 3. Web services require a lot of development
Somebody knows other approaches?
Thanks
Aaron Tubman
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
"WellChoice, Inc." made the following annotations on 03/01/2004 12:52:28 PM -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- Attention! This electronic message contains information that may be legally confidential and/or privileged. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Release/Disclosure Statement
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
<br><font size=2 face="sans-serif">Sounds like a good approach.</font> <br> <br><font size=2 face="sans-serif">Perhaps OpenAdaptor would also suffice. Take a look at http://www.openadaptor.org</font> <br> <br><font size=2 face="sans-serif">It's written in Java, but I believe there is some C++ stuff lying around in CVS. You might be able to write a Java adaptor to JNI into your C++ code...</font> <br> <br><font size=2 face="sans-serif">Thanks,</font> <br> <br><font size=2 face="sans-serif">Tim</font> <br> <br> <br> <p><font size=1 color=#800080 face="sans-serif">Please respond to An interest list for Sun Java Center J2EE Pattern Catalog <J2EEPATTERNS-INTEREST@(protected) .SUN.COM></font> <p><font size=1 color=#800080 face="sans-serif">Sent by: An interest list for Sun Java Center J2EE Pattern Catalog <J2EEPATTERNS-INTEREST@(protected)></font> <p><font size=1 color=#800080 face="sans-serif">To: </font><font size=1 face="sans-serif">J2EEPATTERNS-INTEREST@(protected)< /font> <br><font size=1 color=#800080 face="sans-serif">cc: </font> <br> <br><font size=1 color=#800080 face="sans-serif">Subject: </font><font size=1 face="sans-serif">Re: [J2EEPAT-INT] C++ - Java communication</font> <br> <br><font size=2><tt>Hi,<br> I would rather suggest to use a customized solution using HTTP as a<br> transport mechanism.<br> <br> There are C++ libraries that support HTTP transport functions like POST,<br> GET etc., and you can implement a standard Controller servlet to receive<br> these transactions and take'em into the appserver domain where you<br> implement your services.<br> <br> This approach supports the future migration to webservices. Since you are<br> building your messaging on top HTTP stack, you can extend this to have<br> security, reliability etc., all transparent to the application.<br> <br> Thanks<br> Laks<br> <br> <br> <br> <br> "Aaron Tubman" <br> <aharon@(protected)> To: J2EEPATTERNS-INTEREST@(protected) <br> Sent by: "An interest cc: (bcc: Lakshmi Narayanan/NYC/Empire) <br> list for Sun Java Center Subject: C++ - Java communication <br> J2EE Pattern Catalog" <br> <J2EEPATTERNS-INTEREST@(protected) <br> VA.SUN.COM> <br> <br> <br> 03/01/2004 04:35 AM <br> Please respond to "An <br> interest list for Sun <br> Java Center J2EE Pattern <br> Catalog" <br> <br> <br> <br> <br> <br> <br> Hi,<br> <br> Our system has two code-bases C++ and Java.<br> We search for transport layer between C++ and Java that satisfy the<br> following requirements:<br> 1. Support synchronous and a-synchronous message passing<br> 2. Easy development<br> 3. point-to-point and publish-subscribe(optional) <br> 4. Reliability<br> 5. Low cost<br> 6. Performance<br> 7. Standard<br> <br> We have checked two approaches:<br> <br> 1. JMS ? no C++ support<br> 2. Tibco that is too expensive for our case.<br> 3. Web services require a lot of development<br> <br> Somebody knows other approaches?<br> <br> Thanks<br> <br> Aaron Tubman<br> <br> <br> <br> <br> ====================================================================<br> Companion Site: http://www.corej2eepatterns.com J2EE BluePrints:<br> http://java.sun.com/blueprints/corej2eepatterns List Archive:<br> http://archives.java.sun.com/archives/j2eepatterns-interest.html<br> Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to<br> listserv@(protected)<br> <br> <br> <br> <br> <br> <br> <br> <br> <br> "WellChoice, Inc." made the following<br> annotations on 03/01/2004 12:52:28 PM<br> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- <br> Attention! This electronic message contains information that may be legally confidential and/or privileged. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Release/Disclosure Statement<br> <br> ====================================================================<br> Companion Site: http://www.corej2eepatterns.com<br> J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns<br> List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html <br> Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected) .sun.com<br> </tt></font> <br> <br> ==================================================================== Companion Site: http://www.corej2eepatterns.com J2EE BluePrints: http://java.sun.com/blueprints/corej2eepatterns List Archive: http://archives.java.sun.com/archives/j2eepatterns-interest.html Unsubscribing: email "signoff J2EEPATTERNS-INTEREST" to listserv@(protected)
|
|
 |