Example Code Projects
All of these examples are included with JNBridgePro. Download a free trial.
Example Code Projects Below |
||
|---|---|---|
| GUI Element Embedding | Call from Other Side | Java EE App Servers with .NET |
| Java GUI in WPF | Call WinForms from Swing | Glassfish |
| WPF in Java GUI | Call Java from .NET GUI | JBoss |
| Java GUI in WinForms | Call a Java logging package from .NET | WebLogic |
| WinForms in Java GUI | Call a .NET logging package from Java | WebSphere |
Embed Java GUI elements inside WPF application
This example shows how a Java AWT or Swing control can be embedded inside a WPF (Windows Presentation Foundation) application.
Demo Description (PDF) Code Library for Demo (ZIP)Embed WPF elements inside a Java GUI application
This example shows how a .NET WPF control can be embedded inside a Java AWT, SWT, or Swing GUI application.
Demo Description (PDF) Code Library for Demo (ZIP)Embed Java GUI elements inside a .NET Windows Form
This example shows how a Java AWT or Swing control can be embedded inside a .NET Windows Form.
Demo Description (PDF) Code Library for Demo (ZIP)Embed .NET WinForm elements inside a Java GUI application
This example shows how a .NET WinForms control can be embedded inside a Java AWT, SWT, or Swing GUI application.
Demo Description (PDF) Code Library for Demo (ZIP)Integrate a Java-based application with .NET Windows Forms
This example shows how JNBridgePro can be used to construct a Java Swing- based application that calls .NET-based Windows Forms classes. The application can pop up Windows Forms, insert data into them, and extract data from them. You will learn how to generate Java proxies that call the .NET classes, create Java code that calls the proxies, and set up and run the code.
Demo Description (PDF) Code Library for Demo (ZIP)Integrate a .NET-based user interface with a Java back end
This example shows how JNBridgePro can be used to construct a .NET Windows or Web-based application that calls Java classes. You will learn how to generate .NET proxies that call the Java classes, create .NET code that calls the proxies, and set up and run the code.
Demo Description (PDF) Code Library for Demo (ZIP)Call a Java logging package from .NET
This example shows how a program can log information from both Java and .NET using a common logging infrastructure, such as log4j.
See a screen shot demo of this example.
Call a .NET logging package from Java
This example shows how a program can log information from both Java and .NET using a common logging infrastructure, such as log4net.
See a screen shot demo of this example.
Java EE (J2EE) Application Server Examples
| JBoss | Description (PDF) | Code Library (ZIP) |
|---|---|---|
| IBM WebSphere | Description (PDF) | Code Library (ZIP) |
| Oracle WebLogic | Description (PDF) | Code Library (ZIP) |
| Glassfish | Description (PDF) | Code Library (ZIP) |







