• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 275
  • Last Modified:

JSP to call C to access Tuxedo

Hi, all
Have anyone tried using JSP to access a C dll by using JNI?
Does JSP and Servlet make any different?

Now I have to use JSP to call a C dll that will connect to tuxedo services.
Have anyone tried that?

Please tell me about the feasibility on the above topic.
Thanks
Joey
0
monjoes
Asked:
monjoes
1 Solution
 
kennethxuCommented:
You cannot do JNI directly in your JSP page. You must develop a java class (you might want to call it a bean), which use JNI to access C methods. Then your jsp page can make use of this java class to talk to tuxedo.

JNI tutorial: http://java.sun.com/docs/books/tutorial/native1.1/
0
 
monjoesAuthor Commented:
PashaMod,
Basically Kennethxu provided a link for more information.
In the mean time, I looked somewhere else and I have a good answer now.
So I am coming back here and don't know how to close the question other than accept the comment from kennethxu.
There were not that I didn't like it.
Thanks.
Joey
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now