llblgen for java apps?

Posts   
 
    
netLearner
User
Posts: 150
Joined: 18-Oct-2003
# Posted on: 20-May-2004 17:41:34   

Hi Frans,

Just wondering if you have any idea if there is a similar OR mapper in java which is close to llblgen Pro. Please let me know.

Thanks.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39826
Joined: 17-Aug-2003
# Posted on: 20-May-2004 18:09:46   

What!? You're going over to the Dark Side? wink stuck_out_tongue_winking_eye

O/R mapping is done in java in a variety of ways: through EJB-CMP (JBoss/others) or through own O/R mapping frameworks.

The most used free one is Hibernate. There is no cheap tool which has a nice gui and which generates a lot of code for you, based on the db. The one which is said to be the best O/R mapper on the planet, TopLink, does have a nice gui however, but you have to pay Top Dollar as well. TopLink is owned by Oracle.

So I think it depends on the total framework in which your java application has to run in: do you plan to run it inside an EJB-CMP compatible application server, it's best to opt for a persistence framework which 'plugs' itself into that framework, otherwise you'd probably should try out what everybody else uses: hibernate, which requires that you have to do some coding yourself (but there are code generators for Java as well, so perhaps you can use these, however often they're textfile based)

Btw, Toplink's mapping tool is included in JDeveloper, Toplink runtime is still commercial. Any CMP compatible persistence layer can use mappings created by standard mapping tools targeting CMP persistence layers, most common IDE's seem to have those.

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 18-Jun-2004 14:54:25   

Hi Otis

Is there any specific reason why there is no Java templates?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39826
Joined: 17-Aug-2003
# Posted on: 18-Jun-2004 15:01:01   

wayne wrote:

Hi Otis

Is there any specific reason why there is no Java templates?

You mean J# templates?

I'm not sure if that's worth the effort. I have the strong feeling J# is only around because MS uses it as a tool to get more developers on .NET.

Frans Bouma | Lead developer LLBLGen Pro
wayne avatar
wayne
User
Posts: 611
Joined: 07-Apr-2004
# Posted on: 18-Jun-2004 15:17:04   

Yes, sorry J# templates?

I assume that all the fundamental classes are the same and that only the syntax is different?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39826
Joined: 17-Aug-2003
# Posted on: 18-Jun-2004 15:35:18   

I don't know. I really don't know J# (have done some java years ago), so it will take a lot of time for not that much people, as C# code can be used in a J# solution without problems.

Frans Bouma | Lead developer LLBLGen Pro