473,835 Members | 1,735 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Equivalent .NET architecture for a J2EE app?

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.LoginContro l", and invokes the "login"
method.
LoginControl.lo gin does a JNDI lookup for "LoginWorke r", which is an EJB. It
invokes the "login" method of the EJB
LoginWorker.log in 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 "Applicatio n Server" (WebSphere/etc)?

Thanks.
Jul 21 '05 #1
6 5172
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!
*************** *************** *************** ***
"Frank Rachel" <fr*****@navisy s.com> wrote in message
news:%2******** **********@TK2M SFTNGP09.phx.gb l...
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.LoginContro l", and invokes the "login"
method.
LoginControl.lo gin does a JNDI lookup for "LoginWorke r", which is an EJB. It invokes the "login" method of the EJB
LoginWorker.log in 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 "Applicatio n Server" (WebSphere/etc)?

Thanks.

Jul 21 '05 #2

Hi Cowboy

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

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

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

Simon Guest is an authority on .NET and J2EE interoperabilit y 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
--
blog: pandurang.think ingMS.com
Jul 21 '05 #3
Hi Cowboy

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

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

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

Simon Guest is an authority on .NET and J2EE interoperabilit y 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
--
blog: pandurang.think ingMS.com
Jul 21 '05 #4
Hi Cowboy

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

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

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

Simon Guest is an authority on .NET and J2EE interoperabilit y 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
--
blog: pandurang.think ingMS.com
--
blog: pandurang.think ingMS.com
"Cowboy (Gregory A. Beamer) [MVP]" wrote:
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!
*************** *************** *************** ***
"Frank Rachel" <fr*****@navisy s.com> wrote in message
news:%2******** **********@TK2M SFTNGP09.phx.gb l...
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.LoginContro l", and invokes the "login"
method.
LoginControl.lo gin does a JNDI lookup for "LoginWorke r", which is an EJB.

It
invokes the "login" method of the EJB
LoginWorker.log in 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 "Applicatio n Server" (WebSphere/etc)?

Thanks.


Jul 21 '05 #5
Hi Cowboy

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

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

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

Simon Guest is an authority on .NET and J2EE interoperabilit y 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
--
blog: pandurang.think ingMS.com
Jul 21 '05 #6
Hi Frank

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

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

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

Simon Guest is an authority on .NET and J2EE interoperabilit y 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
--
blog: pandurang.think ingMS.com
Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3276
by: prabhat | last post by:
Hi, I am teaching myself J2EE. I have couple of books but how can I get practical experience? I installed trial version of IBM-websphere but it seems too complex for a beginner in J2EE. I have WindowsXP. Suggestions are welcome.
0
2031
by: Jim Collins | last post by:
This position requires that you be a U.S. citizen and hold an active SSBI clearance. This position offers highly competitive compensation with excellent benefits in a highly professional work environment. We respect and appreciate technical ability and reward outstanding performance with recognition and tangible awards. Please reply with "J2EE Architect" in the subject line of your email. Email your resume to jimcollins at gmail.com ...
0
1315
by: Max Ischenko | last post by:
Hi, all. I think many would agree that the community-agreed standards could boost the development of the applications in a defined areas. In particular, the lack of J2EE-like standards about servlets or transactions impedes development of web/enterpise applications. It shoudn't be overly complex and elaborate like J2EE but it could be much simple, like, say, DB-API. As it is now, when developing non-trivial Python application we have...
2
4324
by: Silvana Di Martino | last post by:
My group recently received its first request for the the development of a really large and complex enterprise-level application, the kind of app that would require the use of tools like Enterprise Java Beans and J2EE (it is something very similar to the "Titan Cruise" example supplied by Richard Monson Haefel in his fine book "Enetrprise JavaBeans", for the people who read it). Of course, being all Pythonists, we wonder if there was any...
124
4979
by: 43 | last post by:
how come m$Office isn't written in .net? how come Open Office isn't written in j2ee? how come dbms systems aren't written in either? how come browsers aren't written in either? how come RealPlayer, MediaPlayer and all applications that need speed are written in c++ ? (except for
2
1508
by: martin koenig | last post by:
Hi All I have an assignment where I have to report on which of the above as applied to a required IT system is the better. Since I'm advanced in J2EE, Do you know of any good web resources for .NET doco? In particular I need to understand .NET in terms of layers of architecture including transaction management, presentation tier, and database tier. Also
13
1592
by: Jonathan Li | last post by:
Hi there, I posted a thread in another group. I could not get satisfactory feedback. I would like to try if anybody in this group can help me out. My plan was, to develop components at server side (something like EJBs). For data entry and operation application functions, I can use C#.Net. For reporting and enquiry functions, I can use ASP.Net. You may aware that these two packages have a lot in common. Under J2EE environment, I know...
6
349
by: Frank Rachel | last post by:
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"
3
6632
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
0
9808
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10812
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10561
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10235
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9346
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6966
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5638
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4434
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3089
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.