How to a JSP application interoperate with a .NET class library

D

Daniel Wilson

I am developing a class library under Visual C++ .NET. I found out
yesterday that a client developing a website to use it is writing JSP
pages running on an Apache server on a Windows box.

Neither of us knows how to connect the applications. He wants me to
provide a java class as a wrapper on my .NET class. I want him to
connect directly to the .NET class or connect to a COM wrapper.

Can anyone point us toward a good way for the two technologies to
interract?

Thanks.

Daniel Wilson
 
C

Chris Smith

[My news server is insisting that the .vjsharp group is invalid, so I
have no choice but to drop it.]

Daniel said:
I am developing a class library under Visual C++ .NET. I found out
yesterday that a client developing a website to use it is writing JSP
pages running on an Apache server on a Windows box.

Neither of us knows how to connect the applications. He wants me to
provide a java class as a wrapper on my .NET class. I want him to
connect directly to the .NET class or connect to a COM wrapper.

Can anyone point us toward a good way for the two technologies to
interract?

If you want these two pieces of code to talk to each other, you have two
options:

1. A dual-language bridge (or "wrapper") can be written, half in C++ and
half in Java and complying with the JNI specification, to mediate
between the two. The only remaining question is who writes this bridge.
That's a business decision for you to work out with your customer.

2. A third-party Java component could be used to facilitate the
communication using DCOM. The only such component I have experience
with (J/Integra) is very expensive, but there's a free alternative
called JACOB which has a good reputation. Of course, it's also
technically an option to write such a thing as this, but that's really
beyond being reasonable for your problem.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
 
S

Sudsy

Can anyone point us toward a good way for the two technologies to
interract?

<sarcasm>
Just use Web Services! Both sides can talk that language, right?
</sarcasm>
 
A

Andy Fish

there is also a borland product called Janeva. I have not used it though

Chris Smith said:
[My news server is insisting that the .vjsharp group is invalid, so I
have no choice but to drop it.]

Daniel said:
I am developing a class library under Visual C++ .NET. I found out
yesterday that a client developing a website to use it is writing JSP
pages running on an Apache server on a Windows box.

Neither of us knows how to connect the applications. He wants me to
provide a java class as a wrapper on my .NET class. I want him to
connect directly to the .NET class or connect to a COM wrapper.

Can anyone point us toward a good way for the two technologies to
interract?

If you want these two pieces of code to talk to each other, you have two
options:

1. A dual-language bridge (or "wrapper") can be written, half in C++ and
half in Java and complying with the JNI specification, to mediate
between the two. The only remaining question is who writes this bridge.
That's a business decision for you to work out with your customer.

2. A third-party Java component could be used to facilitate the
communication using DCOM. The only such component I have experience
with (J/Integra) is very expensive, but there's a free alternative
called JACOB which has a good reputation. Of course, it's also
technically an option to write such a thing as this, but that's really
beyond being reasonable for your problem.

--
www.designacourse.com
The Easiest Way to Train Anyone... Anywhere.

Chris Smith - Lead Software Developer/Technical Trainer
MindIQ Corporation
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,685
Members
48,796
Latest member
Greg L.

Latest Threads

Top