all groups > vj# > february 2004 >
You're in the

vj#

group:

A set of .Net library for Java


A set of .Net library for Java Ivan
2/17/2004 4:04:13 PM
vj#:
hi all,

I'm looking for a .Net stub library for Java which allow me to write J#
code used any System.* package in Java RAD tool.

Any ideas ?

Thanks
RE: A set of .Net library for Java mikegreonline NO[at]SPAM microsoft.com
2/17/2004 9:31:53 PM
| I'm looking for a .Net stub library for Java which allow me to write J#
| code used any System.* package in Java RAD tool.
|


I'm not quite sure what you are asking for. J# supports the standard JDK
1.1.4 API as well as all of the .Net Runtime classes. If you are looking
for managed implementations of some third party Java packages, you will
need to contact the company that wrote the packages.

Thanks,

Michael Green
Microsoft Developer Support
Re: A set of .Net library for Java Gary Morris
2/18/2004 2:36:16 PM
Uhhh... WE HEARD YOU THE FIRST TIME! AUGHHHHH!

Re: A set of .Net library for Java Ivan
2/18/2004 5:56:11 PM
Sorry,

Actually I'm looking for pluggable jar of stub classes representing
..Net System package for Java which allow for coding in .Net libraries
on RAD tools other than Visual Studio.Net

I cant used any Java RAD Tools to write J# code which accessing System
package.

Thanks

[quoted text, click to view]
Re: A set of .Net library for Java Ivan
2/18/2004 5:57:17 PM
Sorry,

Actually I'm looking for pluggable jar of stub classes representing
..Net System package for Java which allow for coding in .Net libraries
on RAD tools other than Visual Studio.Net

I cant used any Java RAD Tools to write J# code which accessing System
package.

Thanks

[quoted text, click to view]
Re: A set of .Net library for Java Ivan
2/18/2004 5:58:09 PM
Sorry,

Actually I'm looking for pluggable jar of stub classes representing
..Net System package for Java which allow for coding in .Net libraries
on RAD tools other than Visual Studio.Net

I cant used any Java RAD Tools to write J# code which accessing System
package.

Thanks

[quoted text, click to view]
Re: A set of .Net library for Java Ivan
2/18/2004 5:58:49 PM
Sorry,

Actually I'm looking for pluggable jar of stub classes representing
..Net System package for Java which allow for coding in .Net libraries
on RAD tools other than Visual Studio.Net

I cant used any Java RAD Tools to write J# code which accessing System
package.

Thanks

[quoted text, click to view]
Re: A set of .Net library for Java Ivan
2/18/2004 5:59:28 PM
Sorry,

Actually I'm looking for pluggable jar of stub classes representing
..Net System package for Java which allow for coding in .Net libraries
on RAD tools other than Visual Studio.Net

I cant used any Java RAD Tools to write J# code which accessing System
package.

Thanks

[quoted text, click to view]
Re: A set of .Net library for Java Ivan
2/18/2004 6:00:19 PM
Sorry,

Actually I'm looking for pluggable jar of stub classes representing
..Net System package for Java which allow for coding in .Net libraries
on RAD tools other than Visual Studio.Net

I cant used any Java RAD Tools to write J# code which accessing System
package.

Thanks

[quoted text, click to view]
Re: A set of .Net library for Java Ivan
2/19/2004 8:13:56 AM
sorry... I'm didnt know the message was sent out in the 1st place....


[quoted text, click to view]
Re: A set of .Net library for Java mikegreonline NO[at]SPAM microsoft.com
2/19/2004 10:37:16 PM
I don't know of any Java stubs for the .Net Framework. Keep in mind that
J# was meant to help you migrate away from Java and onto .Net, not the
other way around.

Thanks,

Michael Green
Microsoft Developer Support
Re: A set of .Net library for Java Ivan
2/20/2004 10:18:59 AM
thanks

[quoted text, click to view]
Re: A set of .Net library for Java George Birbilis [MVP J#] [9880]
3/13/2004 10:57:37 PM
[quoted text, click to view]

What Ivan means is classes with dummy implementation ("stubs") that
represent the .NET framework System.* or other package classes. Obviously he
wants to use productivity tools of other Java IDE (like Borland JBuilder) to
write his source code and then build using the J# compiler (could add a
plugin to JBuilder for example or a custom menu item at the tools menu to
call the J# compiler)

I've done similar with JBuilder in the past, was building code that
contained both MSJava and SunJava stuff and was loading the appropriate
classes at runtime depending on whether it found out it was running in
MSJava or not. My pattern was using interfaces in the main program code and
talk to interfaces only, not concrete classes, plus loading classes that
implemented those interfaces dynamically (like plugins), depending on the
Java Runtime I found (MS or Sun one). The MS version of my code would use
say ActiveX controls for multimedia whereas the Sun Java part would use JMF,
QTJava etc. Was using such a thing at the TV and Browser components of
E-Slate (http://e-slate.cti.gr) before the platform moved to Java2 (wasn't
my decision at the time, but proved to not be a bad decision since MSJava VM
died eventually)

So Ivan, you could maybe use Rational Rose or similar tool to get UML out of
the .NET classes, then spit out Java stubs for those class definitions.
Another nice tool that can also do Java decompilation into UML is Poseidon
UML, but it doesn't support .NET (yet). Supports Sun Java and C++ for now.
Why not send them a suggestion? .NET supports introspection so it shouldn't
be very hard to add .NET library->UML support so that you can then do .NET
library->UML->Sun Java stubs as you were wanting in the first place

or you can write a direct .NET library->Java stub yourself using J# or other
..NET
language and the reflection/introspection API offered by .NET

cheers,
George

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
George Birbilis <birbilis@kagi.com> [MVP J#] [9880]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ QuickTime VCL and ActiveX controls (for PowerPoint/VB/Delphi etc.)
+ Plugs VCL and ActiveX controls (InterProcess/Internet communication)
+ TransFormations, VB6 forms to ASP.net WebForms convertion
http://www.kagi.com/birbilis
+ Robotics
http://www.mech.upatras.gr/~robgroup
.........................................................................


AddThis Social Bookmark Button