Introducing J-Integra®® ASP-Java Bridging

What does J-Integra® ASP-Java Bridging offer?

J-Integra®® allows the ASP developer to interact with Java classes running on any JVM and on any platform. Reusing existing Java code is vital in today's time-to-market driven Web site development. By providing Microsoft Active Server Pages (ASP) developers with the ability to seamlessly integrate with Java-based technologies, we open the door for building heterogeneous solutions where the most suitable technologies are used where they work best.

J-Integra® is a bi-directional Java-COM Bridge that enables Java developers to access COM objects as if they were Java classes, and enables COM developers to access Java classes as if they were COM objects. It includes a pure Java implementation of Microsoft's Distributed COM (DCOM) protocol, which means that you can use J-Integra® on any platform and any JVM—so the Java classes you are working with can run on a UNIX platform or even a mainframe.

Introduction to ASP

Microsoft ASP is a server-side scripting technology supported by Microsoft Internet Information Server (IIS) on Microsoft operating systems such as Windows NT and Windows 2000.

Using ASP, you can create dynamic interactive Web content using scripts written in VBScript or JScript. ASP also supports languages such as PERL or Python, available as add-on packages.

To build an ASP page, you create a HTML file and embed the scripting commands within special HTML tags. When the client browser requests this file, the Web server detects that the file contains scripting directives (because of the .asp file extension) and will pass the file through the ASP script interpreter.


You can access a Java Class from Active Server Pages using J-Integra®'s DCOM bridge,
which makes your Java classes look like DCOM objects to ASP


Or you can access a Java Class from Active Server Pages using J-Integra®'s native mode,
which loads the JVM in-process into the ASP environment

This technology is analogous to Java Server Pages in the Java world. In fact, when you create your ASP pages using JScript, the end result looks very similar to JSP.

What makes ASP powerful is its ability to interact with COM objects from within the script. This allows the page developer to manipulate databases, personalize the Web page for the user, use different HTML features based on the browser type and, interact with business logic implemented as COM objects hosted in Microsoft Transaction Server (MTS). There are thousands of COM objects available on Windows platforms, either built in as part of the operating system or installed as part of third party applications.

What is in the development kit?

The J-Integra® kit includes all of the J-Integra® runtime libraries that you need to access Java classes from your ASP pages. Also bundled are several examples demonstrating how to access various Java technologies such as EJBs hosted in a J2EE application server and posting messages to a Java Message Services (JMS) queue.

Where to start?

By far the simplest ASP-Java example in the documentation is Accessing a Simple Java Class from Active Server Pages. This example quickly gets you up and running with an ASP script, which interacts with a simple Java class running in a Java Virtual Machine (JVM). This example takes you step by step through the process, so even if you haven't used ASP before you should be able to quickly get this working. This example introduces you to the steps involved in accessing any Java class from ASP.

To find out more about ASP please see here.