• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Starting SCWCD Preparation

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have cleared SCJP 1.6 and am starting with preparation for SCWCD.
However find myself with lot of information and difficult to filter. Please help me out with the latest version of SCWCD and how to go about preparing for it.

Thanks in advance.

Avinash
 
MyExamCloud Software Support
Posts: 734
2
 
Avinash Tiwari
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the information.

When taking a detailed look , it seems the earlier versions of EE 5 and current version EE6 have different names. One mentions as Oracle Certified Professional for Java EE 5 while other mentions Oracle Certified Expert.
Why have they changed the name from Professional (EE 5) to Expert (EE 6). Is there a marked difference or a shift in thinking.

Please help to explain. Also is there any EE 7 in offering if we take a time frame of 6 months.

Thanks
Avinash
 
Jhonson Fernando
MyExamCloud Software Support
Posts: 734
2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oracle has own naming standards for their certification. After acquisition the later version of java certification they changed name certifications as per their own certification naming standard.

Don't have any idea about scwcd version 7 now.
 
Avinash Tiwari
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks again!!

So we can say both are equivalent in terms of their recognition. Only difference is their versions.

As a startup , when going through preparation I find this text for destroy method of servlets

Cleans up whatever resources are being held (e.g., memory, file handles, threads) and makes sure that any persistent state is synchronized with the servlet's current in-memory state.

What do we mean by
"persistent state is synchronized with the servlet's current in-memory state"

Let me know if I can use this thread for any queries/follow up questions for doubts or need to open a new thread in different category.

Thanks
Avinash
 
Creator of Enthuware JWS+ V6
Posts: 3411
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Avinash,

"persistent state is synchronized with the servlet's current in-memory state"


In simple English: the persistent state (Entities) should be flushed to the database before the Servlet is destroyed.

from wikipedia:

A persistence entity is a lightweight Java class whose state is typically persisted to a table in a relational database. Instances of such an entity correspond to individual rows in the table. Entities typically have relationships with other entities, and these relationships are expressed through object/relational metadata. Object/relational metadata can be specified directly in the entity class file by using annotations, or in a separate XML descriptor file distributed with the application.



Regards,
Frits
 
Avinash Tiwari
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Thanks for the info.

So means no inconsistent state of data should be left if servlet is destroyed.

Moving ahead , had another query.
service method is implemented by HttpServlet and has doGet and doPost empty method calls which we generally implement in our servlet which extends this HttpServlet.

However in our servlet can we provide implementation of service method and not doGet and doPost. If yes , how and what things to take into consideration..

Thanks,
Avinash
 
reply
    Bookmark Topic Watch Topic
  • New Topic