Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Need some tips...

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Need some tips...

    Hello guys,

    I just new to Java. I'm already in JDBC and i'm using MySQL. My question is what is the best way or practice when making a connection to a database. Do I need to make a new class or just a method? Sorry for my bad english...

    All answer is appreciated... Thanks...

    p.s.

    and guys please give an example thank you very much...
    Last edited by nine05; March 20th, 2011 at 03:48 AM.


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,320
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Need some tips...

    Please do not post the same question twice to the forums. Your other post has been removed.

    The question is quite vague and difficult to answer - everyone has their own 'best way'. I suggest you read about about design patterns, in particular Model?view?controller - Wikipedia, the free encyclopedia

Similar Threads

  1. Looking for tips
    By TimoElPrimo in forum Member Introductions
    Replies: 3
    Last Post: February 15th, 2011, 08:51 PM