as

Friday, 28 June 2013

What are the different syllabus/course topics in JAVA?

Java is a huge language. When you join Java course, you must ask the questions - What topics will be covered. I have divided JAVA courses in below Parts. This might help you in determining what you want to learn.

Different JAVA Course and Topics Covered in it.
  1. Basic/Core Java      - Data types, Variables, Modifiers, Control Statements, Arrays, Strings, Regular Expression, Files, Exceptions, Interfaces, OOP Concepts, Data Structures, Collections, Multi-threading, Applets, JDBC, Networking, Email, Serialization, Layout Manager, Swing 
  2. Advanced Java        - Tomcat, Weblogic, Jsp, Servlets, JSON,  Rest, Hibernate, Jasper Reports, Generics.
  3. Java Frameworks    - Spring, Struts.
  4. Java Tools                -  maven, Apache ant, iBATIS, log4j.
  5. Java IDEs                 -  Eclipse, NetBeans, JCreator, IntelliJ IDEA, BlueJ, MyEclispe
  6. Java Testing Frameworks - Junit, TestNG
So if you are new to JAVA, I will recommend that you should first learn topics in Basic Java Course and then you can go for advanced course and in the end you must learn frameworks like spring and struts.

What do you think on this topic? Please express your opinion through comment below

What are the steps to install Struts in Windows?


Well - Struts is a java based web application framework used to develop RIA - Rich Internet Applications.
Below are the steps to install and start developing the web application in JAVA.



Once you 4 things mentioned above you can start web application development in JAVA.
Ensure that you have your java variables set up properly before you work on struts framework


What do you think on this topic? Please express your opinion through comment below

What are different System Variables in JAVA?

When working with JAVA, You need to set up/edit  below variables in Windows System.
  • PATH - You need to edit this variable after you install JAVA in windows system. It should contain the value like this C:\jdk1.5.0_20\bin;%PATH% 
  • JAVA_HOME: This variable should be set like C:\jdk1.5.0_20
  • CLASSPATH - This variable contains the paths to folders where JVM must search for classes. For example C:\struts-2.2.3\lib
  • CATALINA_HOME - This variable contains the path to your tomcat container. For example -C:\apache-tomcat-6.0.33 . This is required if you are developing the web based application using jsp and servlet in JAVA
If you think that I have missed any other system environment variables in windows for Java, You can comment below.



What do you think on this topic? Please express your opinion through comment below

Thursday, 27 June 2013

What are the Categories of Exceptions in JAVA

There are 3 categories of Exceptions in JAVA.



  • Checked exceptions:  These exceptions can be found at the time of compilation. For example class not found, method not found


  • Runtime (Unchecked) exceptions: A runtime exception is an exception that can be ignored at the time of compilation. For example - array index out of bound, divide by zero error.


  • Errors: Can not be found at the time of compilation. Here Programmer has no control over these kinds of exceptions. For example JVM running out of memory.


If a method does not handle a checked exception using try catch blocks, the method must declare it using the throws keyword. 

Here is the syntax of Method that throws exception.

public void dosomething(int a ) throws  IOException
 {

 // Method code

 throw new IOException();

 }


Finally block is used along with try catch blocks. Code in finally block is executed regardless of whether exception occurs or not.







Sponsored Links

Popular Posts

Comments

ShareThis