From: <Ron...@Ne...> - 2002-01-28 13:29:42
|
There is a new book out, "Jython for Java Programmers," by Robert Bill, published by New Riders. dman <ds...@ri...>@lists.sourceforge.net on 01/26/2002 10:51:33 AM Sent by: jyt...@li... To: jyt...@li... cc: Subject: Re: [Jython-users] Where is Good guide to Jython?? On Sat, Jan 26, 2002 at 05:10:00PM +0530, Jiger Patel wrote: | Hi all, | I am totally new to jython/python. I just wanted to know if there | was anything available on the net for begineers in jython. | Any links to tutorials, sample codes, articles, intro, intermediate topics | like Activestate maintains for python. Something more than the docs that | come with jython. Also is anyone writing Full Docs just the one that comes | with Python. Basically start with the python docs. See Guido's "Tutorial" on python.org or Alan Gauld's tutorial (I don't have URL handy, but google will turn it up) depending on your level of programming experience. Jython _is_ python -- it is an implementation of the python language and much of the standard library. The docs on jython's web site are to alert people to the differences between cpython and jython and to introduce the special features (javabean support). If you're new to programming and want answers to basic questions the python tutor list is a good place to look. (tu...@py...) HTH, -D -- The light of the righteous shines brightly, but the lamp of the wicked is snuffed out. Proverbs 13:9 _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |
From: Jiger P. <jig...@ho...> - 2002-01-31 05:37:51
|
Hi Mats, Could you tell me what all is covered in Robert's book 'Jython for Java Programmer'. Is is worth a buy, Does it cover topics from begineers to Advance. I dont want any intro on Java. But definately need good groundup on python/jython. If it covers good topics on jython then I would definately think of buying one. also if any one could give a similar review on 'Jython Essentials' by O'Reilly. Thanks & Awaiting ur replies, Jiger >From: Mats Wichmann <ma...@la...> >To: Terry Hancock <ha...@an...> >CC: jyt...@li... >Subject: Re: [Jython-users] Where is Good guide to Jython?? >Date: Mon, 28 Jan 2002 17:48:10 -0700 > >At 01:31 PM 1/26/2002 -0800, you wrote: > >dman wrote: > >> experience. Jython _is_ python -- it is an implementation of the > >> python language and much of the standard library. The docs on > >> jython's web site are to alert people to the differences between > >> cpython and jython and to introduce the special features (javabean > >> support). > > > >O'Reilly is coming out with "Jython Essentials" in March, > >I'm hoping that will be good. > >Don't discount Robert Bill's book. I got an advance copy (electronic) >and just had a chance to glance at it before life got busy, and it >didn't seem anything special. But now that I'm going through the >printed book in detail, I'm very impressed. > > >IMHO, based on what I've seen on the jython site, experience > >with Java is assumed, and Python is taught. I'd REALLY like > >to see something from the opposite perspective, if any of > >you folks have the ability/inclination to write it. As a > >Python programmer, the attraction of Jython is being able > >to run Python code in new places, such as in-browser applets, > >and rapidly-installable applications on client computers. > >Well, I was in talks to do a Jython book a number of months >back. The project ended up having its wings fall off (permanently, >I won't be competing with the two current books), but we >did examine in considerable detail what the markets might be. >My prospective publisher was not convinced that marketing a >book as "Java for Python programmers" would fly at all, while >"Python for Java programmers" might have some chance. Since >nobody's offering to pay for it, I'm not going to be writing >either title! > >Some folks have tried to kick off a collaborative effort to >develop some tutorials. I thought I was going to participate, >but as I said, things got busy. If you're interested in >pitching Jython as a kinder, gentler, approach to using Java, >you could try - I think a discussion wiki is already set up. >Maybe the time is right now, where it apparently wasn't last >go-round. > >Good luck, > >Mats > > >_______________________________________________ >Jython-users mailing list >Jyt...@li... >https://lists.sourceforge.net/lists/listinfo/jython-users _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com |
From: Jan W. <j.w...@sc...> - 2002-01-31 07:16:48
|
On Thu, Jan 31, 2002 at 11:07:38AM +0530, Jiger Patel wrote: > Hi Mats, > Could you tell me what all is covered in Robert's book 'Jython f= or=20 > Java Programmer'. Is is worth a buy, Does it cover topics from begineer= s to=20 > Advance. I dont want any intro on Java. But definately need good ground= up=20 > on python/jython. If it covers good topics on jython then I would=20 > definately think of buying one. also if any one could give a similar re= view=20 > on 'Jython Essentials' by O'Reilly. It starts with a very thorough introduction in jython, in 7 chapters goin= g from syntax to advanced classes. Then follow two chapters on jython and java, = in which he looks in jython internals (jythonc, the jython-to-class-compiler= ) and integrating jython in java. The last three chapters cover GUI, database a= nd servlet programming with jython. It requires working knowledge of Java, and you should have a solid progra= mming background.=20 So I recommend it for Java programmers who want do look into Jython. For = Python programmers it repeats a lot of material they already know from Python, b= ut, since this is the first Jython book, perhaps they find it also interestin= g. Well, for me, knwoing Python and having been programming in Jython for ab= out half a year, there are also new and interesting parts in it, e.g. how use= Java threads in your Jython program. Cheerio, --=20 J.W...@sc... - Fon +4970719457-257 Fax-211 science+computing ag - Hagellocher Weg 71-75 - 72070 T=FCbingen As it seems to me, in Perl you have to be an expert to correctly make a n= ested data structure like, say, a list of hashes of instances. In Python, you h= ave to be an idiot not to be able to do it, because you just write it down. (= Peter Norvig, comp.lang.functional) |
From: Mats W. <ma...@la...> - 2002-02-01 20:19:13
|
At 08:16 AM 1/31/2002 +0100, Jan Wender wrote: >On Thu, Jan 31, 2002 at 11:07:38AM +0530, Jiger Patel wrote: >> Hi Mats, >> Could you tell me what all is covered in Robert's book 'Jython for >> Java Programmer'. Is is worth a buy, Does it cover topics from begineers to >> Advance. I dont want any intro on Java. But definately need good groundup >> on python/jython. If it covers good topics on jython then I would >> definately think of buying one. also if any one could give a similar review >> on 'Jython Essentials' by O'Reilly. >It starts with a very thorough introduction in jython, in 7 chapters going from >syntax to advanced classes. Since you asked me by name, I'll say that I think this is a pretty fair summary. I'd perhaps add that the first section is as Jython-focused as it makes sense to be; i.e. examples often use Java types, Java classes are inherited, extended, etc. and issues like how to provide static methods in Jython get a thorough shakeout. I believe each chapter in the first part also includes a section the explicitly calls out differences between Java and Jython. In other words it's not an introduction to CPython followed by some Jython-specific bits. I'm looking forward to the O'Reilly book for comparison purposes! Mats |
From: Noel R. <no...@ya...> - 2002-02-06 16:10:25
|
> if any one could give a similar review on 'Jython Essentials' by O'Reilly. I guess I'm qualified to jump in and talk about _Jython Essentials_. Our goal was to have the book be useful for both Python and Java programmers. That said, structurally, it's hard to do an introductory Jython book without spending time introducing the Python language. After we do that, we have a couple of chapters on Jython/Java integration, both on using Java data from Jython and subclassing Java from Jython. We tried to give usage examples that would be helpful either to a Java programmer who wasn't familiar with standard Python or to a Python programmer who wasn't familiar with Java. So we have a chapter on the use and availability of common Python library modules, and chapters or sections on JavaBeans, Swing, zxJDBC, Java-based XML tools, and Servlets. Finally, there are chapters on using embedded Jython interpreters and on using jythonc compilation. Appendices included an updated and expanded Jython/CPython differences list, and a quick-reference translation between basic Java constructs and Python constructs. So there is lots of useful information for both Python and Java programmers. And here's my shameless plug... we're online at <http://www.oreilly.com/catalog/jythoness/>. I hope this information is helpful. Samuele, anything to add? Thanks, Noel Rappin _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: <Ron...@Ne...> - 2002-01-31 13:40:57
|
Robert's book is not an intro book. It teaches a practicing programmer how Jython fits in as a usable tool and how to use Jython and Java together. "Jiger Patel" <jig...@ho...>@lists.sourceforge.net on 01/31/2002 12:37:38 AM Sent by: jyt...@li... To: jyt...@li... cc: Subject: Re: [Jython-users] Where is Good guide to Jython?? Hi Mats, Could you tell me what all is covered in Robert's book 'Jython for Java Programmer'. Is is worth a buy, Does it cover topics from begineers to Advance. I dont want any intro on Java. But definately need good groundup on python/jython. If it covers good topics on jython then I would definately think of buying one. also if any one could give a similar review on 'Jython Essentials' by O'Reilly. Thanks & Awaiting ur replies, Jiger >From: Mats Wichmann <ma...@la...> >To: Terry Hancock <ha...@an...> >CC: jyt...@li... >Subject: Re: [Jython-users] Where is Good guide to Jython?? >Date: Mon, 28 Jan 2002 17:48:10 -0700 > >At 01:31 PM 1/26/2002 -0800, you wrote: > >dman wrote: > >> experience. Jython _is_ python -- it is an implementation of the > >> python language and much of the standard library. The docs on > >> jython's web site are to alert people to the differences between > >> cpython and jython and to introduce the special features (javabean > >> support). > > > >O'Reilly is coming out with "Jython Essentials" in March, > >I'm hoping that will be good. > >Don't discount Robert Bill's book. I got an advance copy (electronic) >and just had a chance to glance at it before life got busy, and it >didn't seem anything special. But now that I'm going through the >printed book in detail, I'm very impressed. > > >IMHO, based on what I've seen on the jython site, experience > >with Java is assumed, and Python is taught. I'd REALLY like > >to see something from the opposite perspective, if any of > >you folks have the ability/inclination to write it. As a > >Python programmer, the attraction of Jython is being able > >to run Python code in new places, such as in-browser applets, > >and rapidly-installable applications on client computers. > >Well, I was in talks to do a Jython book a number of months >back. The project ended up having its wings fall off (permanently, >I won't be competing with the two current books), but we >did examine in considerable detail what the markets might be. >My prospective publisher was not convinced that marketing a >book as "Java for Python programmers" would fly at all, while >"Python for Java programmers" might have some chance. Since >nobody's offering to pay for it, I'm not going to be writing >either title! > >Some folks have tried to kick off a collaborative effort to >develop some tutorials. I thought I was going to participate, >but as I said, things got busy. If you're interested in >pitching Jython as a kinder, gentler, approach to using Java, >you could try - I think a discussion wiki is already set up. >Maybe the time is right now, where it apparently wasn't last >go-round. > >Good luck, > >Mats > > >_______________________________________________ >Jython-users mailing list >Jyt...@li... >https://lists.sourceforge.net/lists/listinfo/jython-users _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |
From: rbill <rb...@di...> - 2002-01-31 14:44:47
|
On Thu, 31 Jan 2002, rbill wrote: On Thu, 31 Jan 2002, Jiger Patel wrote: > Hi Mats, > Could you tell me what all is covered in Robert's book 'Jython for > Java Programmer'. Is is worth a buy, Does it cover topics from begineers to > Advance. I dont want any intro on Java. But definately need good groundup on > python/jython. If it covers good topics on jython then I would definately > think of buying one. also if any one could give a similar review on 'Jython > Essentials' by O'Reilly. > > Thanks & Awaiting ur replies, > Jiger Hi Jiger, I couldn't resist sending my review of the book :) "Jython for Java Programmers" is primarily intended to show the Java programmer how good they could have it with Jython, and hopefully attract Jython users/developers from the Java community. Python knowledge is not assumed, but basic Java knowledge is. Seven chapters focus on the Jython/Python language description, and examples use enough Java classes to make a point about Jython's usefulness in a Java framework. This part has been well received by Java programmers, but it is less valuable for those already knee-deep in Python. The remaining five chapters are jythonc, embedding, GUIs, DBs (zxJDBC), and Web (Tomcat). These were intended for Java or Python programmers, and feedback indicates that theses chapters have been appreciated by Pythoneers. The Java 'angle' was chosen because that seemed to be a target audience that is big, could increase Jython users more so than trying to convert Python programmers, and is an audience that would really benefit. After all, Python programmers already have things pretty good, but Java programmers work too hard :) A note to the jython-announce list has been slow coming because I had plans to finish some web docs for Jython to announce at the same time. Too many suprises have been popping up, so those won't be finished anytime soon, so I guess I'll send something to jython-announce today. Thanks for your interest Jiger. <shameless_plug> The New Riders info on the book (and links to bookstores) is at: http://www.newriders.com/books/title.cfm?isbn=0735711119 </shameless_plug> BTW, Thanks Mats, Ronald and Jan! Regards, Robert |
From: Guy Gascoigne-P. <gg...@tr...> - 2002-01-31 19:53:36
|
I have to say that I like "Jython for Java Programmers" a lot. It assumes that you know Java and don't really know Python - which fit me pretty well :-) There is a good chunk of jython introduction, enough to get you started though I'd still recommend getting something such as "Python Essential Reference" by David Beazley which is also very good. The part that I really liked in this book is the information on integrating Jython as an embedded script interpreter. I'm doing that right now and have found that this book as saved me a lot of time, good examples and useful explanations. For me, this part alone would justify buying the book. The bulk of the book deals with issues to do with integrating java and jython, how to extend one with the other. Guy -----Original Message----- From: Jiger Patel [mailto:jig...@ho...] Sent: Wednesday, January 30, 2002 9:38 PM To: jyt...@li... Subject: Re: [Jython-users] Where is Good guide to Jython?? Hi Mats, Could you tell me what all is covered in Robert's book 'Jython for Java Programmer'. Is is worth a buy, Does it cover topics from begineers to Advance. I dont want any intro on Java. But definately need good groundup on python/jython. If it covers good topics on jython then I would definately think of buying one. also if any one could give a similar review on 'Jython Essentials' by O'Reilly. Thanks & Awaiting ur replies, Jiger >From: Mats Wichmann <ma...@la...> >To: Terry Hancock <ha...@an...> >CC: jyt...@li... >Subject: Re: [Jython-users] Where is Good guide to Jython?? >Date: Mon, 28 Jan 2002 17:48:10 -0700 > >At 01:31 PM 1/26/2002 -0800, you wrote: > >dman wrote: > >> experience. Jython _is_ python -- it is an implementation of the > >> python language and much of the standard library. The docs on > >> jython's web site are to alert people to the differences between > >> cpython and jython and to introduce the special features (javabean > >> support). > > > >O'Reilly is coming out with "Jython Essentials" in March, > >I'm hoping that will be good. > >Don't discount Robert Bill's book. I got an advance copy (electronic) >and just had a chance to glance at it before life got busy, and it >didn't seem anything special. But now that I'm going through the >printed book in detail, I'm very impressed. > > >IMHO, based on what I've seen on the jython site, experience > >with Java is assumed, and Python is taught. I'd REALLY like > >to see something from the opposite perspective, if any of > >you folks have the ability/inclination to write it. As a > >Python programmer, the attraction of Jython is being able > >to run Python code in new places, such as in-browser applets, > >and rapidly-installable applications on client computers. > >Well, I was in talks to do a Jython book a number of months >back. The project ended up having its wings fall off (permanently, >I won't be competing with the two current books), but we >did examine in considerable detail what the markets might be. >My prospective publisher was not convinced that marketing a >book as "Java for Python programmers" would fly at all, while >"Python for Java programmers" might have some chance. Since >nobody's offering to pay for it, I'm not going to be writing >either title! > >Some folks have tried to kick off a collaborative effort to >develop some tutorials. I thought I was going to participate, >but as I said, things got busy. If you're interested in >pitching Jython as a kinder, gentler, approach to using Java, >you could try - I think a discussion wiki is already set up. >Maybe the time is right now, where it apparently wasn't last >go-round. > >Good luck, > >Mats > > >_______________________________________________ >Jython-users mailing list >Jyt...@li... >https://lists.sourceforge.net/lists/listinfo/jython-users _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com _______________________________________________ Jython-users mailing list Jyt...@li... https://lists.sourceforge.net/lists/listinfo/jython-users |