About Question enthuware.ocpjp.v7.2.1215 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
The_Nick
Posts: 132
Joined: Thu May 16, 2013 9:23 am
Contact:

About Question enthuware.ocpjp.v7.2.1215 :

Post by The_Nick »

Hi,
What do you mean with Provider in this context?
Can you provide any real life example?

Thanks in advance! (this is probably my last question since tomorrow I have the exam :roll: )

Thanks in advance.

The_Nick

admin
Site Admin
Posts: 10398
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1215 :

Post by admin »

Provider is the one that understands a given URI and does something with it. JDBC connection string is a real life example. When you try to create a Connection, registered drivers are asked if they understand that connection string (which is nothing but a URI), so the drivers are the providers in this case. In case of file:// the file system is the provider.

HTH,
Paul.

icepeanuts
Posts: 53
Joined: Thu Nov 22, 2012 12:01 am
Contact:

Re: About Question enthuware.ocpjp.v7.2.1215 :

Post by icepeanuts »

What does it exactly mean by "preconditions"? Could you give me an example? Thanks.

admin
Site Admin
Posts: 10398
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1215 :

Post by admin »

pre condition could be anything that is required by the provider to access that url. In other words, if the provider understand the uri but is unable to work with it because something is wrong with it or something is missing. I don't have an example but if you need more details, you will need to check with the JavaDoc published by Oracle.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests