Search:
Type: Posts; User: javinpaul
Search:
Search took 0.02 seconds.
-
July 22nd, 2012, 08:14 AM
Accessing from command prompt is always fast in my opinion. you can get better performance form JDBC by using PreparedStatement, in case if you are not using already, doing batch inserts or update ,...
-
July 22nd, 2012, 08:06 AM
I guess you want to filter numeric string with alphabetic String. on homework front , mods are correct but I am giving you some hint which is applicable in general.
1) There are methods in Java...
-
March 26th, 2012, 05:17 AM
Use StringTokenizer for line by line reading or with any delimiter specified. plain old indexOf() and SubString() can also help.
-
March 26th, 2012, 05:12 AM
Don't forget to share link if you find them good, it will be better for some one else who will look for same kind of tutorial.
-
March 26th, 2012, 05:07 AM
Try this, now finding out what I have changed and why is your job :)
import javax.swing.JOptionPane;
public class Average{
public static void main(String[] args) {
String input,...
-
March 26th, 2012, 04:57 AM
You are right:
1) J2EE is container based and Application server provides vital services like DB connection pooling, transaction management etc.
2) J2EE application are mainly web application...
-
March 10th, 2012, 06:59 AM
have you tried spring security ? it has such feature out of box.
-
March 10th, 2012, 06:57 AM
Indeed having sensible and readable names for variable, method and class is essential for any commercial java program. check this if helps...
-
February 18th, 2012, 12:22 AM
Netbeans has excellent Swing GUI builder, complete drag and drop and with flexibility to add your own code, event handlers and completely integrated with Netbeans. It also come with some rebuilt...
-
February 18th, 2012, 12:19 AM
here are some of question I have collected, may be useful for you : http://javarevisited.blogspot.com/2011/04/top-20-core-java-interview-questions.html
-
February 18th, 2012, 12:17 AM
1. Create Database Schema
2. Use Spring MVC
3. Use Tomcat for Quick and easy development in Eclipse or Netbeans
following MVC pattern.
-
February 18th, 2012, 12:15 AM
Glad to hear that. As a general rule I will look on the line where its coming. e.g.
at UploadServlet.doPost(UploadServlet.java:126)
and any object which is calling method or accessing property...
-
January 22nd, 2012, 01:45 AM
here <> is for representing Generics in java. Generics provide type-safety by checking type of Class at compile time to avoid ClassCastException in runtime e.g.
ArrayList<String> means ArrayList...
-
January 21st, 2012, 08:14 AM
This is the most obvious I have seen :) must be true beginner. Anyway when you get NullPointerException than look at the line and see if any object on which you are calling method, variable or doing...
-
January 21st, 2012, 08:11 AM
Just a side note:
In Java you should trying using camelCase with variable, method or class names e.g. no_of_files_downloaded should be written as noOfFilesDownloaded. not mandatory but this is...
-
January 21st, 2012, 08:08 AM
Are you trying to draw Tree in Swing ?
-
October 8th, 2011, 02:38 AM
do you want to call this method on user action or you just want to call them directly, if you want to call them on user action than put a button and implement ActionListener , otherwise just call...
-
October 8th, 2011, 02:35 AM
It looks you are running a class which doesn't have public static void main () method. Can you post your java command ?
-
October 1st, 2011, 11:59 AM
Also try to understand the Error so that you can solve it by yourself in future.
Test.java:16: cannot find symbol ( this line says that problem is on line 16 on file Test.java)
Can not find...
-
October 1st, 2011, 11:54 AM
Can you provide some more details e.g. how are you calling class, what error are you getting , better paste the error it would be quick to solve.
-
October 1st, 2011, 11:51 AM
public static void main(String args[]) method is only needed to run the program , there is no need for compiling a class. in java an empty class is also valid and compile
-
June 15th, 2011, 07:49 AM
Hi Guys,
Are you aware of any tool or plugin in Java for finding out possible race conditions by reviewing code ? I know its pretty hard to find out race conditions and even harder to reproduce so...
-
January 21st, 2011, 10:39 PM
Hi Guys,
I am a relative new member in this forum , My name is Javin Paul and I am Java programmer. I have question related to garbage collection in Java
Does garbage collection occurs in PERM...
-
January 14th, 2011, 08:53 PM
Hi All,
I am new member , my name is Javin Paul.
I have used Thread in java a lot but not used in C++ , can any one please guide me what is equivalent of java Thread in C++ ?
Thanks
Javin
|
Click Here to Expand Forum to Full Width
|