CSLA for java?

CSLA for java?

Old forum URL: forums.lhotka.net/forums/t/2202.aspx


ianinspain posted on Wednesday, January 24, 2007

Hi there,

I doing a bit of cross platform development and wondered if anybody has come across a CSLA type framework for JAVA?

I know about hibernate but all this does is map the relational database to a class.. if i am not mistaken ??

Which is probably something i want to use with JAVA but does anyone know if there is some type of CSLA type BO system that is compatible with JAVA?

The application i have written resides in C# using csla etc... but i now want to port it to JAVA for use on LINUX etc... so i was hoping to base much of the code base around the original concept i.e. the use of CSLA type system etc etc

Any help or ideas ...r eallly appreciated thansk..

Ian

ajj3085 replied on Wednesday, January 24, 2007

There isn't, to my knowledge.  You are correct about Hibernate; here NHibernate is used in the DataPortal_xxx methods to talk to a database in a platform independate way.  But it doesn't replace Csla.

You could probably port Csla (assuming Rocky doesn't mind).  There are a few places where .Net attributes are used, but I think that would be the only hurdle to overcome.  I'm not aware of anything else that could be a problem, but I haven't done very much in Java either...

ianinspain replied on Thursday, January 25, 2007

Thanks for the info... wow i didn't realise NHibernate could be used to do DB independately...   thats great.. so i techically could use ORACLE, SQL SERVER and the code doesn't change?'

Wow... do you have more info on this?

Ian


ianinspain replied on Thursday, January 25, 2007

I managed to find something...

http://www.springframework.org/documentation



but really interested in hearing more about hibernate .... with CSLA.... and database independency

ajj3085 replied on Thursday, January 25, 2007

Search the forum, there are other posts on using NHibernate with Csla.

I'm not sure I care for spring; it seems like it would make coding and maintenance really difficult, because its possible you get a large amount of code injected, and its not obvious where the code comes from.  That could make debugging difficult, and I'm not sure I like the idea of actual code being changed simply by changing a configuration file..

ajj3085 replied on Thursday, January 25, 2007

Here's the list of databases supported by nhibernate: http://www.hibernate.org/361.html

You really have to look at NHibernate itself though; I personally have no experience with it.

Ashraf Ali replied on Wednesday, January 24, 2007

I love this post :) :)

guyroch replied on Wednesday, January 24, 2007

Sure it does, each time I sit down at my desk to do Csla stuff I do it with a nice cup of Java with cream and sugar.

Sorry, I just couldn't resist :)

david.wendelken replied on Thursday, January 25, 2007

ianinspain:
Hi there,

I doing a bit of cross platform development and wondered if anybody has come across a CSLA type framework for JAVA?

Check out Oracle Corporation's "Business Objects for Java" framework.

 

Copyright (c) Marimer LLC