[Mono-list] server-sided concepts in Mono / ASP.NET vs. Java EE
opgenorth at gmail.com
Wed Jun 17 09:23:15 EDT 2009
On Wed, Jun 17, 2009 at 00:11, Kristian Rink<lists at zimmer428.net> wrote:
> - In Java EE, I am sort of used to write code, pack both my compiled code
> and additional resources (images, XML, whatever) into a .war or .jar file
To deploy a .NET web app one typically copies all the files over to
the web server. You could put everything into a ZIP file and just
unzip on your application server.
> - In most situations, I try my best to keep things separated, in most cases
> making use of EJBs (or Spring beans) for backend / business logic and
> something like JSPs, JSFs, ... for providing user interfaces. (How) Can I
> have a separation of concerns like this in a Mono based server sided
> application? Talking about this, does anyone have any experiences using the
> Springframework.NET atop Mono?
Using one of the MVC frameworks, like MonoRail or ASP.NET MVC, is
probably your best bet (either one - they're both good IMHO). There
are plenty of IoC frameworks for .NET - I've used (and like) both
Castle Windsor and StructureMap. If you go the MonoRail route, odds
are you'll naturally fall into Castle Windsor.
> - Talking about database integration, does Mono offer features like O/R
> mapping or container managed persistence to store / retrieve domain objects
Coming from the Java space, you're probably familiar with Hibernate,
so I would say you should check out NHibernate.
More information about the Mono-list