Archive for the 'J2EE' Category

Review: Tomcat 6 Developer’s Guide

Monday, March 1, 2010 | Email This Post | | 10 views
(Apache Tomcat, Book Review, Books, J2EE, Liferay, Programming/Coding)

As I had mentioned few weeks back that I was sent Tomcat 6 Developer’s Guide from Packt Publishing for review and what else I had loved to read. Personally I have been working on Apache Tomcat and its different flavors including Liferay Portal Server throughout my professional career. It was a fun ride reading the things which go behind the Apache Tomcat Development and recalling few things which I already knew.

 

This book is very well organized by the author Damodar Chetty specially when it is first of its kind on this subject. A really big help to the developers to understand the Tomcat’s internal functionality in right manner. Book starts with the introduction to the Tomcat, history behind it, brief about its functioning process, components, the installation & configuration of Tomcat plus the setting up of Tomcat development environment with development tools. This book used Eclipse as IDE and MySQL as database for the illustration of development environment. Then it proceeds with making you understand the basics of Servlets, JEE architecture, API and components, Tomcat Servlet Container & Components, lifecycle of Tomcat components and its startup process.

 

Tomcat 6 Developer's Guide

 

After providing the high-level implementation in starting chapters, all the architectural components are torn apart one after other in later chapters with appropriate coding snippets. Book dwells into every component so beautifully that the overlapping between one functionality to other is almost transparent even when all components make altogether different chapters in book. Concepts like Tomcat virtual hosts, URLs and protocol handlers, Context initialization and Startup and Session security, which are generally not very clear to even advanced developers, are explained very well by the author. Although some of the core concepts are just touched or not covered like Realm, SSI, MBeans, Load Balancers but still this book facilitate proper understanding of basic functionality of Tomcat as that being the primary objective, above mentioned components constitute to advanced Tomcat topics which can be expected to be covered in future.

 

As the different components are explained in different subdivisions of book with appropriate references to their connection with related components in other chapters, this book turns out to be more of a continuous study guide than a reference guide. So it is suggested to read this book thoroughly especially when it is written in that way.

 

Personally I feel that this book is equally good for J2EE architects/advanced developers and administrators. Basically this book is written for progressive Java programmers and beauty of this book lies in holding the subject with that particular group in focus.

 

Throughout the book, code examples and flow diagrams are provided where the theory starts becoming complex. This makes it easier to understand the implementation by running the code itself than just grasping the concept. Also different Tips and Tricks spread throughout the book serve as useful notes for alternate scenarios and options available.

 

No Comments » | Spread the word:

Book Review coming soon

Tuesday, December 22, 2009 | Email This Post | | 11 views
(Books, J2EE, Programming/Coding)

Recently I have been contacted by Amit Sharma, Marketing Research Executive from Packt Publishing asking if I will be interested in reviewing their recently published a book titled Tomcat 6 Developer’s Guide. For me, it is just like reviewing something you are very much in and of course, you can’t refuse such an offer when you already consider yourself as kinda subject matter expert in that technology. Therefore, though shamelessly, I have agreed and ordered complimentary e-copy of this book.

 

From Subject Matter Expert, I got reminded of congratulating my roomie Pankaj Kumar Bhardwaj (you have been knowing him as Chunks on this blog) on his new job at AmDocs as Senior Subject Matter Expert (he himself is still not sure what Subject word stands for in his designation!).

 

Something about Packt Publishing – as I have come to know about this publishing house, it is in operation from year 2004 and has been publishing books on versatile IT topics including various systems, applications, and frameworks. Also they are doing good job in supporting and funding Open Source projects by paying royalty from the sale money of the books on corresponding projects.

 

Tomcat 6 Developer's Guide

 

About book, Tomcat 6 Developer’s Guide begins by providing detailed instructions on building a Tomcat distribution. It introduces readers to the conceptual underpinnings of web servers, the Java EE and servlet specifications, and the Tomcat container. Key Tomcat components and the internal workings of each component are explained in detail in this book. Tomcat installation, stepping into key Tomcat components, as well as into your own custom servlets are illustrated with the help of examples.

Some of the key topics covered are -

  • Take your Java EE web programming skills to the next level by getting an expert’s level understanding of the servlet specification and its reference implementation, Apache Tomcat.
  • Build a Tomcat distribution from its source code, and explore the components, classes, and technologies that make up this container.
  • Use standard development tools such as Eclipse, Ant, and Subversion to dissect a Tomcat distribution.
  • Discover the touch points between the servlet specification and a servlet container’s implementation.
  • Acquire specialist grade skills in a range of technologies that contribute to Java server side development

 

So fellas, hopefully you can expect a review from yours truly on this book as soon as I complete reading it.

  

2 Comments » | Spread the word:

Spring 3 released

Thursday, December 17, 2009 | Email This Post | | 3 views
(J2EE, Programming/Coding)

Spring Framework 3.0 is available now and it is coming with lot of new features including full compatibility with JEE 6 runtime environment and next-gen scheduling capabilities.

It can be downloaded from download page here.

 

spring source

 

For more details on new features, this post can be visited.

  

No Comments » | Spread the word:

Web-Services and Me

Monday, November 2, 2009 | Email This Post | | 3 views
(Apache, J2EE, Programming/Coding)

Very personally speaking -

I love Web-services

if (you are a developer, don’t know what they are and interested)

{

      start with Apache Axis2

} else if (you know what they are, know Spring basics and curious about me falling in love with them all-over again

{

      try Apache CXF

}

  

No Comments » | Spread the word:

Eclipse Galileo

Monday, July 13, 2009 | Email This Post | | 718 views
(Eclipse, J2EE, Programming/Coding, Softwares, Tech)

For those Java developers who think that Eclipse is best Java community could ever get out of Open Source other than Java itself, here is the latest release code-named Galileo. Galileo is this year’s release from Eclipse with 33 projects. Last year’s release Ganymede contained 23 projects in comparison.

 

galileo

 

Of course this release is not only meant for JEE developers but for lot many others developers in different domains. Galileo has come in different packages like its predecessors. Different packages have different capabilities and are targeted for specific developer communities. The summary can be found in following table available over Eclipse website -

 

Eclipse Packages

 

Being much into Java, JEE, Modeling and PHP development and little lesser into Plugin Development, Reports, Mobile or C/C++ on different OSs, following are my review comments on latest Eclipse release.

Highlighted functionalities added in Eclipse platform are -

  • Brand new update manager and plugin-installation UI referred to as p2

update manager

  • CDT package has got new and improved debugger for managing parallel programming.
  • Shortcut keys for going between different opened editors and multiple tabs in same editor simplified – along-with Ctrl+F6/Ctrl+Shift+F6, Ctrl+PgDn/Ctrl+PgUp for previous or next editor and Alt+PgDn/Alt+PgUp for previous or next tab.
  • Rectangular selection can be done in editor. Use default shortcut key Alt+Shift+A and you can select any text in rectangular pattern –

rectangular selection

  • In XMLs, fully qualified class-names are hyperlinked.
  • Hyperlinked method calls inside code provide option to go to declaration or implementation

hover 3.5

  • Auto-completion for constructors is included-

constructor auto-completion

  • Hyperlinks in JavaDoc headers (Java / JEE)
  • inheritDoc tag support is included for JavaDoc.
  • The Validation model works quite well as compared to its annoying behavior at some times in Ganymede
  • Compare view is updated and now it includes many new features like hyperlinks, hover displays JavaDoc and outlining etc.

compare view

  • Word document comparison includes Word compare support for showing changes as per revisions
  • New toString() generator has been included

toString

  • Breadcrumb in Debug mode has been enhanced and now it shows active debug context
  • Modeling is one thing which I liked a lot in this release (EMP) showing the emergence of Modeling in pragmatic approach.
  • Now PDT provides internal support for PHP 5.3. PDT has been one of the ambitious projects from Eclipse Development team for quite long time and it has nurtured very well since its first release. Have been using it now and then and realize its power for development of full-fledged PHP web projects.

 

I was little disappointed on finding some of my favorite plugins not working in Galileo – Eclipse team should get serious about downward compatibility of plugins. Also you can face problems while doing development  in emf where you might get errors referring to line numbers while there are no line numbers in source code and there will be errors which appear in dialog boxes than in panes.

  

No Comments » | Spread the word: