• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Passed SCJA 1 and SCJP 6 and still lost?

 
Jason Kirschner
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I passed my SCJA in Feb with 90% an My SCJP 6 this month with 72%, but i still don't feel i have sufficient knowledge to design systems or develop good quality code/systems with. I come from an informix background and i am concerned that i will bring procedure based thinking to an Object Based Language. I am extremely strong in SQL , but i am not sure the best way to implement SQL code in Java. I am looking for a book that can cover best practice design and coding principles. Some example topics that i am looking for is

1) managing database connections and appropriate wrapping SQL code (Do i create separate object for my queries etc or access the database in my objects)
2) passing objects by reference or passing actual values (when to do which)
3) Methods to ensure re-usable code

I am thinking of doing my SCJD next, but i am concerned that there is no database access in the project, and in my 13 years of programming i am yet to work on a project that does not have a database.

thanks
Jason
 
Joe Harry
Ranch Hand
Posts: 10128
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!

Good luck with your SCJD!
 
vaibhav mishra
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
congratulation double

and surely you will find your way
best of luck for SCJD
 
Pavan Menon
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, Some practical knowledge is sufficient to use SQL queries with Java in an 100% O-O manner. Remember! think every thing as an object while doing java. As you mentioned, procedural concept can be used in java but that will look inefficient, tight coupling and cumbersome.

So many books are available in market which guides you to code/design in effective manner. One book is listed below.

Best Practices Java/JDBC




Congrats for passing SCJA/SCJP in less time. Its an achievement.

If you can spend some time by practically implementing the same, then definetely you can avoid your worries.

All the best!
 
Bob Ruth
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have both of these titles and think very highly of them. They both focus on taking a programming problem and developing a Java Application. The first is targeted specifically for the SCJD which, to me, it a sign that it will attempt to "bring you up" to develop a proper object oriented solution.

The latter text is a little broader in focus. It has three sections. Section one is a review of Java programming facilities, Section two is object oriented analysis and design, Section three is an actual project. While section one and three certainly focus on Java, Section two is pretty generic reading and applies across languages.

In my opinion they are both excellent texts.

The Sun Certified Java Developer Exam with J2SE 5 Second Edition

Beginning Java Objects: From Concept to Code, Second Edition
[ July 23, 2008: Message edited by: Bob Ruth ]
 
Jason Kirschner
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your responses, i am busy ordering these books, they seem to be exactly what I need. I find the hardest part of reskilling from procedural code to OO is that i dont know what questions to ask.

Thanks
Jason
 
Bob Ruth
Ranch Hand
Posts: 320
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Amen, brother! The good news is that it does seem to come easier with a little time and experience.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Congratulations!

-Cameron McKenzie
 
Kai Witte
Ranch Hand
Posts: 356
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

your background will be a great help in your further studies! To finish the foundation in Java & OO I recommend "Thinking in Java", which also has a great chapter about how to do a small software project. After that continue OO with "Design Patterns" and learn Java best practices in "Effective Java".

About DB access with Java:
  • The DAO pattern is common.
  • JPA is a ORM standard which might be worth a try.
  • In a Java EE environment it is a whole different and very long story, though. Much is solved there for you already, you only have to learn how to use it.


  • Not too many books! Very few are good, and only 2 a must.
    [ July 25, 2008: Message edited by: Kai Witte ]
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic