--- Brad Cox <[EMAIL PROTECTED]> wrote:
> At 7:31 AM -0800 11/18/03, Konstantin Priblouda
> wrote:
> >XDcolet is source code generator and nothing
> more....
> >So it certainly can not implement this. However, it
> >can assist you in this task.
> 
> Thanks! I've been reconsidering this whole EJB
> assumption and am 
> looking at Hibernate seriously. Mainly interested in
> EJB to isolate 
> me from app server/database non-portability issues.

EJB would give you new level of portability problems
:)
Especialy ejb 2.x with EJB QL... 


> >I would model my domain data, use hibernate as
> >persistence layer, (maybe ) create SLSB for
> accessing
> >hibernated datastore ( depends on your architecture
> )
> 
> Did that, but still don't see a way to avoid monthly
> transaction 
> tables. Suggestions?


You can model your domain data in a way, that no 
relation goes out of transaction ( say transaction
knows nothing about accounts, or whatever is in your
domain ) 

And then you have object "month", which has collection
of transactions. And this collection happens to select
only those which belong to certain month. 
( either date based, or with ID of month ) 

Then you can archive your transactions away without
breaking relations. 

> >If you to this clever, you will end with a
> transaction
> >log which  can be safely archived / truncated.
> 
> Could you explain. I really don't see the path here.

See above. 

> >Another cool feature of hibernate is using of
> POJOs,
> >so you do not have overhead of EJB layer.
> 
> Sounds great.
> 
> >After all, throw in decent MVC framework ( webwork
> is
> >highly recomended ) and you get really cool
> >application
> >with a good performance.
> 
> The legacy app is built precisely this way, with
> POJO objects driving 
> JDBC calls. See http://virtualschool.edu/jwaa for
> details. 

bad gateway :)

> Performance is great. But JDBC hardwires mysql SQL
> pecularities into 
> the app and I really want to avoid that.

Then hibernate is your choice. YOu have your java
beans and mapping files. And you can forget about 
database. 

And it has couple of cool features, and is really
fast... 

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree


-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to