This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
Can anyone tell me (or post a link) any tutorials on how can i connect through a remote database(Note that i used java persistence api and this is a desktop application)? I've tried overriding the values on my persistence xml file but i always got a timeout error.