Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 7th, 2005, 06:59 PM
Registered User
 
Join Date: Feb 2005
Location: Rawalpindi, Punjab, Pakistan.
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Using Java Classes from C#

Hi,

I am working on a project which allows Java classes to be used from C#. We are doing this by using .NET remoting using Runtime bridging for communication between the two platforms.

Well one of the imp. module of our project is proxy generator tool.

Proxy-Generator Tool:
The Proxy-generator tool generates proxy classes for the actual Java classes. These proxies act as interfaces between the .Net code and the Java classes. The .Net code only accesses these interfaces that run in the CLR thus making Java objects appear as CLR components. Input to the proxy generator tool will be the Java classes to be used in .Net either as individual files or in a JAR file. For each individual class, the tool will generate a .Net based proxy class with the same name as the original Java class and the methods in each proxy will correspond to the methods in the actual Java class. All generated proxies will be written out to a .Net DLL, a reference to which will be added to the .Net side code. Both Java and .Net have API’s designed to create proxy classes. However certain modifications will be needed to generate .Net based proxies for Java classes.

PROBLEM..................
Well the problem we r facing is that how we can create the proxies for the acutal Java classes. And what information will be stored in this file. Coz we cant use the proxies generated by the .NET Remoting we need a custom generator. If some one knows what the .net remoting proxies are and what they actually contain then that might help us a lot. Coz we have to do something similar to that.


Time to play the GAME!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
tomcat, jsp, java classes Befekadu Apache Tomcat 3 April 2nd, 2009 07:30 AM
Help needed regarding Java classes sadz123 Java Basics 2 February 11th, 2009 08:49 AM
Java classes spudgun2005 J2EE 2 June 21st, 2005 03:24 AM
Compile Java classes to EXE vb_programmer Java GUI 7 December 14th, 2004 08:16 AM
ASP support for classes written in Java... rdwash Classic ASP Components 1 July 18th, 2003 11:16 AM



All times are GMT -4. The time now is 12:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.