File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes .NET & J2EE Interoperability (.NET = which language?) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark ".NET & J2EE Interoperability (.NET = which language?)" Watch ".NET & J2EE Interoperability (.NET = which language?)" New topic

.NET & J2EE Interoperability (.NET = which language?)

Frank Malinowski
Ranch Hand

Joined: Jul 24, 2003
Posts: 30
I am a student finishing up my master's degree in Computer Science and I have a couple of years experience with J2SE and J2ME. I am just beginning to get into J2EE. In fact, I have just started reading Head First EJB. I have have not used .NET at this point. My question is, when you talk about interoperability between the two which language are you using on the .NET platform? It is my understanding that the .NET platform consists of C, C++, C#, Basic, etc.
Thanks, Frank Malinowski
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
.NET language refers to any .NET language components.
Such as VB.NET, ASP.NET, C#, etc.
Since Web Services is language independent, and thus, which language is not important. This is one of the beauty of Web Services.

SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
M.K.A. Monster
Ranch Hand

Joined: May 02, 2002
Posts: 130
You obviously know that Java code is compiled to Java bytecode. All .NET languages are compiled to IL, Intermediate Language. You need the .NET Framework to run the IL applications, just like you need the JVM to run Java bytecode.
At least this is what it was meant to be. I've been working with Reporting Service for MS SQL Server. The code you write must be Visual Basic .NET, I think that's rather strange, because everything is compiled to IL. Web Services can be build in every .NET language including J#.
Mark Monster
Dwight Peltzer

Joined: Jan 12, 2004
Posts: 15
I like the C# optimized language. It is written for .NET. i ALSO enjoy writing in Visual Best wishes.
M.K.A. Monster
Ranch Hand

Joined: May 02, 2002
Posts: 130
I just found out a project which makes C# available for *nix systems.
Byron Estes
Ranch Hand

Joined: Feb 21, 2002
Posts: 313
It may be helpful to think about .NET as a platform/framework, which it is, instead of language. Like J2EE, .NET provides the user with an enviorment to run your code, this environment comes with infrastructure build in so you can spend less time on the low services and more time on the business logic. .NET and J2EE are more alike (at least conceptually) than most people realize and than Sun and Microsoft would like to admit. I've worked with both and have far less objection than I did when Microsoft was not pure OO. The changes they have made have been impressive. Anyone competent with Java will have no problem working in C#. The biggest hassle is working through the platforms. While there are direct parallels between J2EE and .NET as platforms, it can take some time to draw match up the parts in the enterprise stack. The fact that Microsoft still likes to use it's own language of patterns that doesn't match up to most other environments doesn't help, but it is a huge improvement over what it once was.
You might want to take a look at a related article I wrote which was published in Computerworld last year...
J2EE vs .Net: The choice depends on your needs,10801,84155,00.html
[ March 26, 2004: Message edited by: Byron Estes ]
[ March 26, 2004: Message edited by: Byron Estes ]

Byron Estes<br />Sun Certified Enterprise Architect<br />Senior Consulant<br />Blackwell Consulting Services<br />Chicago, IL<br /><a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: .NET & J2EE Interoperability (.NET = which language?)
It's not a secret anymore!