Sam Carlac

+ Follow
since Oct 05, 2011
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sam Carlac

Thanks Eugen. It sounds promising!
3 years ago
Hi Eugen,

How much Spring MVC does the leason assume the reader has? Do we need advanced knowledge of Spring MVC to be able to grasp Spring Security?

3 years ago
Hi Eugen,

Im currently working on an OAuth2 project using Spring. Will your course help me with this?

3 years ago
Howdy ya'll,

The last Java programmer cert I completed was SCJP 1.4. I'm planning to start studying for the Java 8 upgrade exam (1Z0-813). Can you please confirm the following:

1) The best book currently for the exam is Jeanne's and Scott's "OCP: Oracle Certified Professional Java SE 8 Programmer II Study Guide". Are there others I can compare this with?

2) Does this book teach you the method signatures which we should memorise (such as the JDBC-related methods) ?

3) Small concern I have about this book is the amount of errata. Is it really that bad to a point where it will distract me? I don't mind referring the errata page before a chapter. But in general is the above book easy to read? It has less pages than the typical K&B books for such an exam.

4) Anything else I should know before I purchase the book? Any discount offers , or second edition planned soon?

Hi Paul and Joseph,

Do you think this book will help readers understand and implement the practical side of the exam (diagrams, modeling, etc.)?

This book sounds very promising!.

Hi Paul and Joseph,

I just have a question around whether or not your book will be helpful if I was looking to use it to do the upgrade multiple choce exam (because I am already OCMJEA 5 certified).

I'm sure I will find it useful but would like to hear your opinion on this.

Mark Cade's deployment diagram doesn't show a load balancer for the clustered databases.

Do you think we will have problems if we don't show this? I simply have a firewall for the databases, but no load balancer.
Eduardo, thanks for your reply.

My SuD simply consumes from the external webservice. The integration logic resides on the integration tier.. But the webservice itself wouldn't actually be part of my tiers, would it?
General question:

I have an external web service (owned by the company) which my SuD integrates with. I also have relational database:

Client tier --> Web / Business logic tier (middle tier) ----> Data tier

The database sits on the Data tier.. But where would the web service sit in this scenario? Should the data tier actually be an EIS which includes database and web service?? Or is it simply seen as an external system, not part of the main tiers?
They encapsulate logic for different things. SessionFacade X really only centralizes transaction management and security, delegating calls to the other two facades.

SessionFacade X has all the methods which SessionFacade A and B have - it just delegates (this is what i don't like). I thought of putting all logic into X, but thought that was a bit messy.

hmm. Im thinking I can leave as is if I explain my reasons properly.

Thanks Jeanne. Good point... But do you see anything wrong with this approach? I fear that it is not the most standard way, and / or it may just be adding unwanted complexity. Has anyone seen this before?
Thanks Eduardo. I think I've come too far to remove the FacesServlet now

I think it's a good way of showing the main MVC concepts, thus the reason I put it there.

Thanks again.
As we all know, JSF Managed beans basically help the UI components, bind values, etc, etc.

So if we have this in our sequence diagram:

JSF <---> FacesServlet <---> ManagedBean <---> xyx

Would the ManagedBean actually "return" values (e.g "return List<Object>") to the FacesController or "bind" / "process" them.

Please clarify.

In my design, I originally had two SessionFacades which were injected into JSF managed beans. I soon realized I didn't like this approach because:

a) the managed beans had two dependencies each to the session facades;
b) the class diagram had too many overlapping (crossing) dependency lines because of this.

So as an alternative, I decided to have a central SessionFacade which the managed beans depend on, and then that SessionFacade in turn uses the other two SessionFacades:

So my question is... Is the SessionFacade(X) actually a BusinessDelegate? Or can this actually be a SessionFacade? It will be injected into the Managed bean via dependency injection.