Search:

Type: Posts; User: nambill

Page 1 of 3 1 2 3

Search: Search took 0.95 seconds.

  1. Re: JavaSQLException - ORA-00933: command not properly ended

    I don't see anything wrong with you code. So I guess the inputs may bring something wrong. Pay attention to that. Try to print out the final SQL statement to detect where the problem is.
  2. Thread: About casting

    by nambill
    Replies
    5
    Views
    142

    Re: About casting

    Of course 'a' can reference a J_SubClass which is a subtype of J_SuperClass which is declared type of 'a'.
  3. Thread: GUI Builder.

    by nambill
    Replies
    5
    Views
    485

    Re: GUI Builder.

    In Eclipse you can install Window Builder to design GUI just like in NetBeans.
  4. Thread: Java Books

    by nambill
    Replies
    3
    Views
    268

    Re: Java Books

    Hi guys,

    Thinking in Java is obsolete. I think Head First Java or Java, A Beginner Guide is more appropriate.

    Here are some recommends:

    Most Recommended Core Java Books for Serious...
  5. Replies
    11
    Views
    9,914

    Re: Good Java book for beginner?

    Yes, both Head First Java and Thinking in Java are quite old, but the Java language hasn't changed very much since version 1.5, so readers can still be beneficial from these books.

    Remember these...
  6. Replies
    11
    Views
    9,914

    Re: Good Java book for beginner?

    Folks,

    Here are the two best books for Java beginners (but not beginner in programming):

    Head First Java, 2nd edition

    Thinking in Java, 4th edition

    Both include Swing chapter.
  7. Re: Which Is Easier To Learn...Struts, Hibernate, Spring, EJB, JSP

    If your Java = 0, then even you cannot start with the 5 technologies you mentioned. Starting with basic Java is a must. And there are lot of tutorials out there.
  8. Replies
    6
    Views
    641

    Re: Can't connect to the database.

    You can only use 'localhost' if the code is running in the same machine with the database. Otherwise, you have to use exact host name.
    From the exception, it looks like that you are trying to...
  9. Replies
    4
    Views
    457

    Re: Abstract method vs overloading

    Abstract methods/classes leave detailed implementation to sub classes, and every sub classes may implement differently, thus leads to polymorphism in OOP.
  10. Thread: spring mail

    by nambill
    Replies
    1
    Views
    270

    Re: spring mail

    Looks like you need some kind of scheduler in Spring? Try to check Spring AMQP.
  11. Thread: Java basics

    by nambill
    Replies
    5
    Views
    402

    Re: Java basics

    integers are assigned 0 value by default, and objects (String is one of) are assigned null by default.
    So there is no difference if you write:


    int age = 0;

    and


    int age;
  12. Replies
    7
    Views
    1,086

    Re: java.security.AccessControlException

    Hi aussiemcgr,

    If you are still stuck with signing applet issue, this can be of help: How to sign a Java applet
  13. Re: I am trying to connect my java application with SQL Server 2008 but I get error msgs

    The database URL is invalid so JDBC couldn't find an appropriate driver:


    jdbc:microsoft:SQLSERVER://SQLEXPRESS:Student

    It should be:

    ...
  14. Re: How to connect or create database by using mysql to java

    Hi hafiz013,

    you are newbie, try to follow this step by step tutorial: Connect to MySQL database via JDBC
  15. Replies
    2
    Views
    2,327

    Re: file upload size limit

    Here what you need definitely (configure upload limit as well as file types):

    Upload file with Struts 2
  16. Re: How to create my own pdf viewer (like adobe reader) using java?

    There are some open source out there: iTextPDF, JPedal... I created such a program using JPedal and it runs very well. If you are interesting, please PM me.
  17. Thread: jar

    by nambill
    Replies
    5
    Views
    570

    Re: jar

    Here's my recommendation:

    How to create Jar file in Eclipse
  18. Replies
    4
    Views
    743

    Re: Getting started with java spring

    If you are newbie to Spring, I'd suggest you go with this tutorials:

    - Understanding the core of Spring framework.
    - Understanding Spring MVC
    - Understanding Spring AOP
  19. Replies
    4
    Views
    684

    Re: Java Web Application complete tutorial

    hi viper75,

    I found a good tutorial on how to deploy a Java web application on Tomcat.
  20. Re: Please assist, issues with a JDBC connection

    you must enclose the values inside single quote marks ( ' ), for example:


    String sql = "INSERT INTO TheData (IPAddress, URL, IPClass) VALUES ('" + address.getHostAddress() + "')";

    However,...
  21. Replies
    5
    Views
    648

    Re: Use of final keyword

    Hi vilkas,

    You can find some good examples about final keyword here.

    Hope this helps.
  22. Replies
    3
    Views
    203

    Re: Problem when creating login gui

    looks like you are missing an open brace in the if statement.
  23. Re: Attempting something complicated with netbeans (involving GUI), looking for advice

    thanks for sharing your idea. Have you got started? Did you face any problems?
  24. Re: Uploading File to server ( Apache.commons.net)

    This article explains how to upload files to FTP server using Apache commons net in depth:

    How to upload files to FTP server
  25. Replies
    3
    Views
    4,575

    Re: JSP Email Attachments

    It's hard to help without any detailed exception/error faced by the original poster.
    However you can see a working example regarding send e-mail with attachment.
Results 1 to 25 of 69
Page 1 of 3 1 2 3