aspose file tools*
The moose likes Java in General and the fly likes Using Java From ASP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Using Java From ASP" Watch "Using Java From ASP" New topic
Author

Using Java From ASP

Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Does anyone know how to use a Java class from an ASP page? I'm working on a project in which I'd like to be able to do so, but I'm having trouble getting it to work.

I found this on msdn.microsoft.com that explains how to do it but, in order to complete the process, I need to get the javareg utility which, supposedly, is included with Microsoft's Java SDK. Unfortunately, I can't find that SDK available for download anywhere.

I've got a number of competing influences on this project. First of all, the customer that this application is intended for has no one on staff that knows anything at all about web applications and, more importantly, application servers. Therefore, I'd just as soon use IIS because it's simply packaged with Windows and, for the most part is simple to use.

On the other hand, I'm not nearly as fluent with VBScript as I am with Java so I'd prefer to do the "heavy lifting" of the application with Java. So, if I put those pieces together, I end up with a situation in which I need to invoke methods on a Java class from an ASP page.

So, with that in mind, anyone have any experience with this?

Thanks,
Corey


SCJP Tipline, etc.
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

There is a product called JIntegra which is a Com to Java bridge. It won't allow you to use Java(tm) directly in the ASP page, but It could use VB classes that uses JIntegra to use Java classes in the VB code. Or if the code needs to run on client side, why not use Javascript instead.

Just my two cents, and I am by no means a Web expert.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17257
    
    6

I looked at the Microsoft page that you posted. It is pretty straight-forward if you have the javareg utility.

Mark
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Using Java From ASP