Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!

Arun Rao

Ranch Hand
+ Follow
since Jan 23, 2004
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Arun Rao

do you still have this? and do you know if I can use it for any sun exam?
9 years ago
I see only one email address.. So I would imagine architect-submit@oracle.com is correct.
do you have the hibernate package? and a path like this?

<mapping resource="Hibernate/Consumer.hbm.xml"/>

As Cameron said it looks like the resource is not available at run time. Did you try to debug and what is the error you get? If possible post the stack trace.
You are looking at either 310-220 or 310-230.

310-231 is an upgrade exam if you already have 310-220.

The diff between the two is majorly as you mentioned JAX-RPC and JAX-WS. It also covers some aspects of WSIT, RESTful WebServices, JASON etc. I would suggest you go for the newer one as JAX-WS has pretty much replaced RPC.

a/
The mess is not that bad actually. I signed up thru the register link on oracle site for Part II. Once you have logged in, it does say the right Exam number and the cost is $125. I have not bought the test yet. But the instructions that says on the register link seems to be accurate. I'm not complaining if it is $125.
Spec writers are to be blamed .. .. Just kidding.

I was going through the spec myself after I posted and I did not find anything specific related not to use the alias. If there is anything in the spec please let me know.

And I agree with you regarding vendor specific implementations of a certain spec. It can lead into serious problems when you change the 3rd party jars because of architectural decisions in a company. For eg., we moved from openJPA to Hibernate pretty recently and there were a lot of things we had to refactor to accommodate the new implementation.
Looks like you ran out of threads in the pool. Look for unclosed resultset, connections or query statements. Also check for the permission on the database if it is allowing multiple connections from your application user.
Mike,

You are right about the Spec. JPA specs do not allow aliasing the fetch joins. However Hibernate(thru HQL) do allow to do alias joins. I think EclipseLink followed JPA spec to the T.

Here is more on that bug (feature request)

https://bugs.eclipse.org/bugs/show_bug.cgi?id=293775
Thanks guys. I have read your previous version of the book and I liked what i read. Can't wait to go thru this new one.
One of the most confusing or rather a tedious implementations of JPA is the object relational mapping. In my experience, when the database is super normalized it becomes hard to annotate them. For eg, consider a two tables order and activity and both have one to many relationships with properties. Property table itself has a composite foreign key for identified by either order entity or activity entity and has the primary key of the corresponding table to annotate if it belongs to either order or activity. We implemented OpenJpa and ended up creating two entities names OrderProperty and ActivityProperty both pointing to the same table. But i'm not sure if it was the right approach. Does the book cover or give tips to handle such scenarios?
Hi Authors,

How does the book cover vendor specific implementations of JPA? Like Weblogic, Jboss etc? Does it provide sample projects showing the implementation?
You ideally would want to cluster the two app servers. Other option would be to retrieve the object from the db every time you do some operation so you are ensured the data is fresh.
I passed the cert today with 97%. I agree with a lot of people here in the forum that it is very very theoretical. But if you have studied enough, it is not very difficult. I had quite a bit of practical knowledge coding Web Services in Java. Here is a list of study materials.

1. Richard Monson's book for SOAP, UDDI, JAXR. JAXP
2. Web Services Up and Running book for JAX-WS, JAX-WS security, WSDL
3, Sun Tutorial for WSIT
4. Ivan's notes for Design patterns, Best Practices. (this guy rocks, and knows what he is doing. thanks a bunch)
5. Slides from javapassion.net and worked on each assignments using Netbeans.


Hope this will help some one.

Thanks
Sorry my bad.. I dont know what i was smoking.. It is EJB 3.