Wednesday, October 21, 2009

Chapter 11: J2EE – The Eclipse Way


Why Tools?

Often we repeatedly do something which turns out to be time consuming and frustrating  over a period of time. Not only in computing but this happens in general. Most of the times, we tend to automate it & make it easier to accomplish.
So the aim of software is to automate these type human tasks and save time, effort, money. But the funny part is that the developer who creates a software also has a set of repeated tasks. What are the possibilities ?
For example, let’s take the compilation of servlets. what are we doing there ?
  1. We write the servlet program, save it as filename.java under the src folder.
  2. We compile it and A filename.class gets created.
  3. We copy (or cut) the .class file and paste it in classes folder.
  4. Reload the application.
Now even if we make a small change, we have to repeat all 4 steps. Consider if we have some 50 servlets in the src folder, repeating them lead to horrible software development.

Code for Code

Tools are developed these days to make software development quick and easy. These tools are usually termed as IDE (Integrated Development  Environment). So i tagged “Code for Code”, just because people write code to develop a tool which will be used to code :) Like “Tit for Tat”.

Advantage of Tools

Using a tool for software development makes life easy for a programmer.
Basically speaking (oops, it’s writing actually :)) tools gives,
  • Efficiency: Enhances coding productivity.
  • Speed: Lesser development time.
Technically speaking, a tool has the following common features.
  1. Syntax highlighting for better visibility.
  2. Validation mechanisms that helps get rid of errors during development itself.
  3. Code Assists that provides technical insights.
  4. Automatic compilations & builds.

What: Eclipse IDE

Eclipse is a free, open-source multi-language software development environment comprising an IDE and a plug-in system to extend it. It is written primarily in Java and can be used to develop applications in Java and, by means of the various plug-ins, in other languages as well, including C, C++, COBOL, Python, Perl, PHP, and others.
(Taken from Wikepedia)

Eclipse: Installation

Installing eclipse is equal to unzipping a .zip file. Only two steps.
  1. Download eclipse (click here to download)
  2. Unzip the downloaded file (to anywhere in your hard disk).
That’s it. Installation complete. Start coding. Have fun. Enjoy the pleasure of the advantages.

Tomcat Plug-in for Eclipse

Eclipse is a tool which has a limited set of features after installation. It provides a feature called plug-in using which we can add any feature later. Tomcat has provided a plug-in for eclipse using which we can start/stop the tomcat server from eclipse itself.
When we create a Tomcat project, eclipse will automatically create the standard folder structure for you. Like the WEB-INF, src, classes etc.,

Tomcat Plug-in: Installation

Again, Installing an eclipse plug-in is equal to unzipping a .zip file. Only two steps.
  1. Download Tomcat Plug-in for eclipse (click here to download)
  2. Unzip the downloaded file (to <eclipse-install-dir> \ plugins folder).

Download Video Source: High-Quality : 18 MB

Click below arrow to download….

20 comments:

  1. you are great! Thankyou very much!

    ReplyDelete
  2. thank you! very much!!! the last video has not completed properly, if you find time. can you tell us more, using eclipse? thanks again!

    ReplyDelete
  3. Excellent Job.. I am a java programmer for 10 yrs. But still I have downloaded all ur videos and gine through them.. Keep up the good work...Thankyou very much!

    ReplyDelete
  4. I am a newbie to J2EE though i know a little Java. Your tutorial is very easy to follow. Good Job! looking forward for more tutorials.

    ReplyDelete
  5. you are genius, thank u sooooooooooo much

    ReplyDelete
  6. thank you! so much!!!
    I am java fresher
    This video very useful with improve my java skill.
    Thank u very much.

    ReplyDelete
  7. please post some more j2ee topics please annaa...

    ReplyDelete
  8. Nice work it helps me so much....Actualy i dont knw wat is basic also...Nw Its cleared my doubt...Thank You Nanba....Thamizhan Rockz...!!!

    ReplyDelete
  9. And Please my king request please add more videos...It will help student to improve their knowledge through our mother tongue language pls Help us...

    ReplyDelete
  10. Many people are asking me to post more.

    I am planning for the same. Please give me some time.

    ReplyDelete
  11. Excellent job you have done. Kindly complete the tutorial for Eclipse

    ReplyDelete
  12. hi, brother
    i want more information about how to use jsp and servlets in eclips and how to create load (jsp+servlets+db connection in eclips)and how to use in swings in eclips pls will take one example program that is enough to me .

    pls

    ReplyDelete
  13. hi your tutorial was excellent, it's too simple and good, thank dear, i need some information
    1)pl tell me how to use the existing CSS file in netbeans.
    2)which software are you using for SCREEN CAPTURE.

    please tell me because i'm going to do the project in netbeans i need to capture the screen also...
    i'm waiting for you comments.............

    ReplyDelete
    Replies
    1. Net beans, I have not worked on. Check the internet for answers. For software, it's Camtasia Studio

      Delete
  14. thank you friends.................

    ReplyDelete
  15. hi, brother
    i want more information about how to use jsp and servlets in eclipse. and also pls upload ur chapter-11 remaining videos

    ReplyDelete
  16. Very nice thanks a lot for uploading such a nice videos.

    ReplyDelete
  17. thank you very much vignesh. super tutorial. and i want j2ee last session(part 11) video.it is not complete. then am waiting the further video of java tutorial.

    ReplyDelete
  18. Awaiting for J2EE chapter 12 and so on...... please./

    ReplyDelete

Our Google Group

Our Facebook Group