Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

To the author, Mr. Bill

 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This probably isn't a fair question, but could you give me a comparison of your book vs. the "Jython Essentials" from O'Reilley?
I read the info on both from amazon, and it sounds like yours would be more useful. But I wonder, who is the intended audience? How much Python do you expect us to know?
Thanks for the info!
Burk
 
Robert W Bill
Author
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure it's a fair question, but I haven't received my "Jython Essentials" yet. I knew this would come up, and I'm bummed that I don't have an answer yet. Sorry.
What I can say is that the intended audience for "Jython for Java Programmers" is those who have a basic understanding of Java. I do not expect readers to know any Python/Jython, just the basic understanding of Java.
 
Doug Wang
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Robert W Bill:
What I can say is that the intended audience for "Jython for Java Programmers" is those who have a basic understanding of Java. I do not expect readers to know any Python/Jython, just the basic understanding of Java.

Great. That's because Jython is for Java programmers. I can't wait to read your book.
Mr. Bill, could you please list some tasks I can achieve with Jython(I know only few of them)?
 
Shawn Meyers
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ohh and MR. Bill, congrats on "the very first Jython book",, to quote the Jython home page,, It's great that people write books like this,, and now I see from within this topic there's another book out there about Jython, great,!!,now I can add two more books to my regular pile at B&N,lol,what's money if you can't spend it! Awe what the heck,I've been craving some new books Gonna have to rent out a book shelf in my local library soon the ones here are packed, once again, thanks for your contribution to the world of Python/Java,, I know Python, and am learning java at a sickeningly rapid rate(the dreams I have about the code I was trying to figure out really help lol,,so that way when I wake up i can whip out my Palm and get to work on the busride on the way to work ),but anyway I've been wondering how I could use Jy since I've had it for a few months already,,hope your book shines some insight upon my ponderings.
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Shawn,
Have they finally got a Python/Jython interpreter for the Palm? Or ar you just entering source code for later?
I looked at Python a while ago, but since then I've been swamped -- looks like I need to get back to it!
Burk
 
Mapraputa Is
Leverager of our synergies
Sheriff
Posts: 10065
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For not to start a new blitz-thread, I used this
How can we call Jython interpreter from our Java code? (for application scripting purposes, for example).
 
Shawn Meyers
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah!!good question,,somthing I would like to know
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's an example. Also here.
[ April 10, 2002: Message edited by: Jim Yingst ]
 
Doug Wang
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Map,
Seems that you are very interested in embedding Jython scripting into Java application and starting off your exploring. Cool plan.
 
Mapraputa Is
Leverager of our synergies
Sheriff
Posts: 10065
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Few years ago we had a contract with a government institution in a rather bureaucratic country. They wanted some kind of information system, but all my attempts to figure out what exactly they need failed. Basically all they wanted was "something cool that we can report to our bosses" Since I had plenty of (paid!) time and no particular requirements , I started to implement a kind of generic IS which allowed users to define their own entities and attributes, to put information and to query them. Yeah, I know, there is such thing as "databases", but I had to do something 8 hours a day? Anyway, I wrote a bunch of... um... modules (it wasn't OO language) and GUI for users to call them. Now all decent databases have their own built-in languages and I was thinking in this direction, but did not go so far
I am interested in "scriptable" applications since then, more in theoretical plan, though There is the whole "Generative Software Engineering" movement which is said to replace OOP paradigm some day (hm), and AOP (Aspect-Oriented Programming) is one of its sprouts.
 
Robert W Bill
Author
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's great to see the interest in embedding Jython. It really works well in so many situations, and it's so simple to do. I noticed someone else already added links to the online embedding examples, so I won't repeat those. I find new places to embed it all the time. Out of the tremendous number of tasks for embedding, I'd have to say that the tasks it really shines at are automation, rules/constraints, report generation, dynamic code generation/execution, and any time classes change frequently.
 
Wouter Zelle
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to ask the author a different question:
In another thread it was advised that one should learn Python before delving into Jython. What is your opinion on this? My goal is to learn both Jython and Python in the future.
 
Mapraputa Is
Leverager of our synergies
Sheriff
Posts: 10065
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JavaWorld has an article about embedding scripts in a Java application: Scripting power saves the day for your Java apps
 
Shawn Meyers
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To answer your question Burk,, they do make Pippy, which is Python for Palm, but as far as one for Jython goes, not yet. But usually what I do anyway is use the Palm with a text editor and then irftp it over to my desktop or laptop when I am at it. But yes they do have an interperter for Python, Pippy,, a little compacted, but it's there
 
Burk Hufnagel
Ranch Hand
Posts: 814
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think pippy is the one I read about. I remember beiong happy until I found out that you had to write the code and "compile" it on your PC then port the .prc file to the Palm.
I wonder if anybody will make a PocketC style version of Python for the Palm? It would be really cool to have it all on one box.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic