Win a copy of Microservices in Action this week in the Web Services forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Using Java From ASP  RSS feed

 
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
ranger
Posts: 17314
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Mark Spritzler
ranger
Posts: 17314
11
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I looked at the Microsoft page that you posted. It is pretty straight-forward if you have the javareg utility.

Mark
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!