From: Aljosa M. <alj...@gm...> - 2009-06-15 01:07:28
|
On Sat, Jun 13, 2009 at 9:03 PM, Leo Soto M.<leo...@gm...> 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 |