« Return to Thread: porting spring/hibernate app to jython/django

Re: porting spring/hibernate app to jython/django

by Aljosa Mohorovic-3 :: Rate this Message:

Reply to Author | View in Thread

On Sat, Jun 13, 2009 at 9:03 PM, Leo Soto M.<leo.soto@...> wrote:
>> is it possible to combine parts of jython/django to integrate with
>> existing java apps, in this case spring/hibernate?
>
> Sure!
>
> You can, for example, use Django's views/templates/urls.py (and
> perhaps forms and the others rendering-related helpers) while still
> using hibernate as the ORM.

i guess the best entry point is replacing spring url handler with
django urls but i don't know how to start.
any docs you could recommend or some source code where i can figure
out how to start?

> You will loose stuff which depends on Django's ORM like the Admin and
> Auth (and perhaps Sessions). There are ways to workaround the problem,
> but I don't know if this is relevant in your use case. I suspect you
> just want a simpler way for your app to interact with HTTP and the
> browser and Django is a good solution for that.

plan is to completely replace spring/hibernate with django (there was
some talk that ibm will open source django DB2 support) but i would
like to be realistic and not rush in.

Aljosa Mohorovic

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Jython-users mailing list
Jython-users@...
https://lists.sourceforge.net/lists/listinfo/jython-users

 « Return to Thread: porting spring/hibernate app to jython/django