CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: javinpaul

Search: Search took 0.02 seconds.

  1. Replies
    1
    Views
    4,215

    Re: Informix JDBC Performance

    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 ,...
  2. Replies
    2
    Views
    629

    Re: Throwing string exception with integers

    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...
  3. Thread: j2me

    by javinpaul
    Replies
    1
    Views
    989

    Re: j2me

    Use StringTokenizer for line by line reading or with any delimiter specified. plain old indexOf() and SubString() can also help.
  4. Replies
    4
    Views
    6,623

    Re: mysql and Java links

    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.
  5. Replies
    5
    Views
    4,217

    Re: Average grade program

    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,...
  6. Replies
    6
    Views
    1,570

    Re: Trying to figure out Java EE

    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...
  7. Re: How to redirect to login page if not logged in

    have you tried spring security ? it has such feature out of box.
  8. Replies
    5
    Views
    1,717

    Re: Java If Statement

    Indeed having sensible and readable names for variable, method and class is essential for any commercial java program. check this if helps...
  9. Thread: Gui builder

    by javinpaul
    Replies
    6
    Views
    1,267

    Re: Gui builder

    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...
  10. Replies
    15
    Views
    7,962

    Re: job interview questions,where to find?

    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
  11. Replies
    1
    Views
    1,103

    Re: Help How to proceed with the requirements

    1. Create Database Schema
    2. Use Spring MVC
    3. Use Tomcat for Quick and easy development in Eclipse or Netbeans

    following MVC pattern.
  12. Replies
    2
    Views
    8,754

    Re: java.lang.NullPointerException

    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...
  13. Replies
    18
    Views
    6,594

    Re: link Arraylist in java

    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...
  14. Re: Why is this coming up with a NullPointerException Error

    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...
  15. Replies
    5
    Views
    1,533

    Re: polymorphism with different parameter

    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...
  16. Replies
    18
    Views
    6,594

    Re: link Arraylist in java

    Are you trying to draw Tree in Swing ?
  17. Re: Newb with (probably) a fundamental misunderstanding

    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...
  18. Replies
    3
    Views
    888

    Re: NoClassDefFoundErr

    It looks you are running a class which doesn't have public static void main () method. Can you post your java command ?
  19. Replies
    2
    Views
    1,908

    Re: Java hashmap help

    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...
  20. Replies
    6
    Views
    1,743

    Re: class extension

    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.
  21. Thread: main method

    by javinpaul
    Replies
    5
    Views
    1,010

    Re: main method

    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
  22. Replies
    0
    Views
    2,699

    Tool for finding race conditions

    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...
  23. Does garbage collection occurs in PERM Area of Java Heap ?

    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...
  24. Replies
    6
    Views
    1,650

    Equivalent of "Thread" java in C++

    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
Results 1 to 24 of 24





Click Here to Expand Forum to Full Width

Featured