Techbyageek - techbyageek.com - TechByAGeek

Latest News:

How to Run Multiple instances of tomcat on one machine ? 6 Nov 2012 | 01:03 pm

I came across a requirement where I wanted to run multiple instances of tomcat on one machine. Follow the steps in order to run multiple instance of tomcat on one machine. Step 1: Open conf\server.xml...

Top 8 Java Serialization Interview Questions 22 Oct 2012 | 11:56 am

Serialization is one of the favorite topics when it comes to Java interview , here I am including a list of questions on Serialization which are most frequently asked during a Java interview. 1. How t...

Default values of instance variables in Java 22 Oct 2012 | 10:53 am

If you are having members in your class and you don’t assign any values to them they are initialized by default values. Here is the list of default values which all the member are assigned to Default ...

When you should mark instance variables as transient in Java? 19 Oct 2012 | 03:45 pm

As we know that transient is a keyword in Java which when applied to member variables will prevent them getting serialized. Now let us see what kind of scenarios will lead you to take such a decision,...

What is a final class in Java ? 9 Jul 2012 | 02:02 pm

A final class (it is specified by prefixing the class with the name “final”) is a class which can’t be extended or sub classed. Note: You can’t make an abstract class final since abstract class need ...

What is the purpose of garbage collection in Java ? 9 Jul 2012 | 01:59 pm

Purpose of Garbage collection in java is to identify the objects which are no longer in use by the program (dangling references) and reclaim the space occupied by them so that it can be reused. In Jav...

How to configure a JSP file in web.xml? 2 May 2012 | 06:45 pm

Yes you read it right you can configure a JSP file in web.xml, now the question which might come in your mind is why, the reason for configuring it is when you need the init parameters passed through ...

How to define a method in a JSP Page? 1 May 2012 | 10:49 pm

Yes you read it right you can define a method in a JSP page, although you hardly need it but there is a way of defining a method in JSP page. Here is an example of how you can do it. <%! public Stri...

How to get the name of the Operating System Architecture using Java 24 Apr 2012 | 06:30 pm

As you know that Java is platform independent and at times there can be a requirement in your software to get the Architecture of the Operating System on which the application is running. Here is an ...

How to get the number of processors using Java ? 24 Apr 2012 | 05:50 pm

If you are having a requirement to get the number of of the Processors that are avaiable to JVM here is the method to get it. Output: Number of processors available to JVM are 1 My machine showed on...

Related Keywords:

java verbose in your program, printnl to file

Recently parsed news:

Recent searches: