Equivalent .NET architecture for a J2EE app?

F

Frank Rachel

So I can focus on the correct areas of research, I was wondering if someone
could give me the .NET equivelents for this J2EE architecture:

JSP's make calls to local JavaBean Controls. The controls do a JNDI lookup
to invoke methods on EJB's. The EJB's use local Java classes, and these
classes use JDBC to do database work.

Example:

Login.jsp contains "import xxx.LoginControl", and invokes the "login"
method.
LoginControl.login does a JNDI lookup for "LoginWorker", which is an EJB. It
invokes the "login" method of the EJB
LoginWorker.login does some stuff, and eventually calls
LoginDataSource.login, which uses JDBC to talk to the database.

What would be the appropriate areas of .NET to concentrate on? (JSP->ASPX,
EJB->?, JDBC->ADO?)

Whats the equivalent of the "Application Server" (WebSphere/etc)?

Thanks.
 
C

Cowboy \(Gregory A. Beamer\) [MVP]

The JSP would be ASPX, essentially, with some difference in the byte compile
and coding methodology.

There is no direct EJB equivalent. You would most likely end up with a
combination of Framework components and custom classes, in your solution.

JDBC and ADO.NET - sort of. But JDBC is, technically, a bit more focused on
the connectivity, much like ODBC. You can use ODBC with ADO.NET, and it is
possible to do the same with JDBC. But, many Java developers call more than
the data conn stack JDBC, so ADO .NET could be an equivalent, if that is the
case. The portion of ADO.NET that sits in the client namepaces, like
SqlClient and OracleClient is technically closer to JDBC, but there are
still some differences.

Much of what you are looking at in Java are Frameworks built on top of the
language. The Framework direction for Sun and Microsoft are widely
different.

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

************************************************
Think Outside the Box!
************************************************
 
G

Guest

Hi Cowboy

Check out: http://msdn.microsoft.com/library/en-us/dnpag/html/jdni_ch02.asp?frame=true and the related chapters there.

Gives you a good understanding of the two platforms and the "equivalence".

Also check out Simon Guest's articles at www.simonguest.com

Simon Guest is an authority on .NET and J2EE interoperability and explains the concepts very well. His book has a chapter which does a similar comparison of the two platforms.

There is no seperate application server in the Windows world - rather the app server is a routing to the application runtime done by the web server (IIS) itself.

Regards

Pandurang
 
G

Guest

Hi Cowboy

Check out: http://msdn.microsoft.com/library/en-us/dnpag/html/jdni_ch02.asp?frame=true and the related chapters there.

Gives you a good understanding of the two platforms and the "equivalence".

Also check out Simon Guest's articles at www.simonguest.com

Simon Guest is an authority on .NET and J2EE interoperability and explains the concepts very well. His book has a chapter which does a similar comparison of the two platforms.

There is no seperate application server in the Windows world - rather the app server is a routing to the application runtime done by the web server (IIS) itself.

Regards

Pandurang
 
G

Guest

Hi Cowboy

Check out: http://msdn.microsoft.com/library/en-us/dnpag/html/jdni_ch02.asp?frame=true and the related chapters there.

Gives you a good understanding of the two platforms and the "equivalence".

Also check out Simon Guest's articles at www.simonguest.com

Simon Guest is an authority on .NET and J2EE interoperability and explains the concepts very well. His book has a chapter which does a similar comparison of the two platforms.

There is no seperate application server in the Windows world - rather the app server is a routing to the application runtime done by the web server (IIS) itself.

Regards

Pandurang
 
G

Guest

Hi Cowboy

Check out: http://msdn.microsoft.com/library/en-us/dnpag/html/jdni_ch02.asp?frame=true and the related chapters there.

Gives you a good understanding of the two platforms and the "equivalence".

Also check out Simon Guest's articles at www.simonguest.com

Simon Guest is an authority on .NET and J2EE interoperability and explains the concepts very well. His book has a chapter which does a similar comparison of the two platforms.

There is no seperate application server in the Windows world - rather the app server is a routing to the application runtime done by the web server (IIS) itself.

Regards

Pandurang
 
G

Guest

Hi Frank

Check out: http://msdn.microsoft.com/library/en-us/dnpag/html/jdni_ch02.asp?frame=true and the related chapters there.

Gives you a good understanding of the two platforms and the "equivalence".

Also check out Simon Guest's articles at www.simonguest.com

Simon Guest is an authority on .NET and J2EE interoperability and explains the concepts very well. His book has a chapter which does a similar comparison of the two platforms.

There is no seperate application server in the Windows world - rather the app server is a routing to the application runtime done by the web server (IIS) itself.

Regards

Pandurang
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top