From: Samuele P. <ped...@op...> - 2007-04-25 18:46:14
|
Charlie Groves wrote: > > >> 2a) Many Jython programs will likely never touch a database. This is then >> clutter that just gets carried along. >> >> 2b) Many Java developers use ORM frameworks such as Cayenne or Hibernate. >> Jython allows access to these libraries. Thus, the JDBC stuff is just >> clutter that gets carried along for the ride with no real gain. >> > > zxJDBC is an implementation of Python's DB-API, so it's really more > for Python programmers coming to Java than for Java programmers coming > to Python. It may be clutter for someone who already has an excellent > Java ORM framework, but it's a lifesaver for someone who has written a > bunch of Python code using the DB-API and wants to get it to run on > Java. That same person using Java for the first time to port Python > code is also going to have more trouble adding external jars to make > this work. > something like is also likely useful if we intend to support python web frameworks, for them DB-API like api are a easier match than Java ORMs |