Archive

Posts Tagged ‘Java’

Book Review: The Definitive Guide to Jython

March 24th, 2010 Comments off

The Definitive Guide to Jython
http://apress.com/book/view/1430225270

The authors describe this book as having the intended audience of a Java developer wishing to use a dynamic language other than Groovy orJRuby. This is a very accurate assessment.

The first section serves as a quick introduction to the Python language, however should not be completely skipped even by seasoned Python developers. As a Python and Java developer, it was good to see comparisons of similar features from both languages. In many cases, the authors took the time to show code examples from both languages, side by side.

The book then leads into practical application of Jython. In addition to sections on how to call Java code from within your Jython scripts, extremely detailed instructions are given for calling Jython code from within Java. Also, the reader is taken through instructions on setting up Jython with their IDE (a must for any Java developer) and using JDBC calls from within your scripts.

Next, the reader is taken on a journey through using Jython with JSP, Django, Pylons, Swing integration, and – very importantly – eployment to Java application servers such as JBoss and Glassfish. Readers are then exposed to testing techniques for Python/Jython,and details on Concurrency in Java and Jython.

The book ends with several Appendixes which should not be missed. Parsing XML with Jython? It’s there. Writing Ant task? Yep.

I give the book a 4 out of 5. The only thing that would have made the book better would have been to spend a little less time talking about Python syntax and explaining only the differences between the languages. My thought is that if someone buys this book, they have likely already read an introductory book on Python and will spend much of the first 160 pages reviewing what they already know. This could have been condensed to about 15 pages by showing only the differences between the languages. However, as I mentioned before, the comparisons of features, and the places where the integration points are mentioned, are worth reading that section.

I should warn Python developers looking to learn more about Java. This book is not for you. Many of the topics covered assume the reader has existing knowledge of Java, including application servers and GUI development with Swing.

If you are looking for a book on Jython, this is the only book I would consider buying. I highly recommend it for any developer looking to gain the speed and ease of Python within their projects. So, go out and buy the book. Support the authors for the obvious hard work they put into making such a great book.

Stepping out of your comfort zone and standing up for yourself

February 6th, 2010 1 comment

Looking back, I have generally been the type of person who lets people dictate to me what it is that I am going to do. I make my desires known, but don’t do anything to make it a point that my desires will be the outcome. Today I took a big step and stood up for myself. After a couple of years of being led to believe that I would finally move into a full time development position, and then being stuck in a designer/analyst position, I laid it all out on the table. I let my boss know that either we start making the move, or I would need to look at other opportunities.

I’m very happy to report that it actually went over well. As I understand, we will be developing a plan to train someone to start stepping into my position as I start stepping into a much more development focused role. It was the perfect time to make the move as I am currently needed and we are about to be in a position that we will be short on developers. I’ll continue to post and update on how things go over the next few weeks. I’m tired of getting stepped on and ready to take my destiny in my own hands.

Only two more weeks left until PyCon! I’m excited to get out and see the greater Python community.

Lesson learned: You don’t get anywhere without taking risk. It was really scary to make a play like I did today, but the outcome may be worth it.

Why it’s impossible to become an expert programmer

September 22nd, 2009 Comments off

That’s a heavy title for this post. I’m referencing an article by Justin James. In the article, the author makes the point that, in today’s world, you can never really become an expert programmer, due to the complexity of the languages and frameworks. He makes a great point. This is one of the reasons why I’ve found it so difficult. It isn’t just a matter of knowing Java, you have to know a laundry list of frameworks to really do anything or get that next job. He says the trick is not knowing everything, but being enough of a generalist that you know where to look. I’m finding this especially true in web development where it takes two to three different languages just to work on the GUI. It’s a good thing we love learning so much…

Lesson learned: You don’t have to be an expert in everything. Get good at a few things and make sure you know where to find the answer for the rest.