Three Tier Architecture

Hello Everyone,

I am a new developer to .NET, previously I was working on J2SE and J2EE and now I have to work on .NET. I have to come up with a design proposition for a Small Business Solution in Three Tier Architecture. In Java I used Enterprise Java Beans with RMI-IIOP. I was wondering if there is something similar or even better in .NET. I would like suggestions on methodologies and possibly some onlline resources to go along with. Thank you for the help in advance.

Imran M Yousuf



Answer this question

Three Tier Architecture

  • NDen

    Hi,
    I am developing a tool that helps to compute the time component spend on database server witb out disturbing the application logic. Can any one help me, how the user tracking is maintained from web application to database server and back to web client.

    From web browser(client) requests webapplication and get the response that can be tracked using ASPSESSION/JSESSIOn. In Three Tier architecture, user request application server and application server requests database server and get the resposne. The response data is then processed and then sending to the web browser. In tow tier, its very mcuh possible, the seesion can be tracked using session identifier. But it threee tier architecute how do you link the session with appserver to database server communication.


    Regards,
    Bala




  • schrepfler

    Thanks for the reply.
    I used a combination of Session Beans and Entity Beans for my purposes and I did that to remoting the business logic of the application. COM+ will serve my purpose. It would be really helpfull if you could send me links of some online resources (I will also be searching but yours would more to the point) and refer me a book for reading. Thank you once again.

    Imran


  • Lynx David

    For Enterprise Services, look no further than Christian Nagel's book. There's also a dedicated newsgroup on this topic: microsoft.public.dotnet.framework.component_services.

    There's no "componentized" active record similar to EJB in .NET, but there are quite a few ORM tools available, including NHibernate.

    Note that in .NET developer's certainly don't shun Stored Procedure like J2EE developers often do (or at least did in the heyday of EJB 2.x).


  • JamesEvs

    Imran,

    it would be useful to understand what kind of EJB (SLSB, SFSB, EB, MDB) you were using and why you did that — remoting, clustering, O/R mapping, etc.

    There are COM+ based Enterprise Services, which offer functionality that is very similar to what you can do with SLSB (e.g. remoting, declarative transaction management, pooling).

    But then, there's also MSMQ, .NET Remoting, Web Services, and of course the upcoming, all-embracing Windows Communication Foundation (aka "Indigo").


  • Three Tier Architecture