NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
Jontatas
Joined: 30 Oct 2010 Posts: 1
|
Posted: Sun Oct 31, 2010 11:28 pm Post subject: Feeling stupid here... |
|
|
I've spent the better part of this weekend trying to get a simple working example working of a web service using an MS SQL database as persistent store to no avail.
I feel as if I'm missing something simple, been rummaging through all the examples on netbeans.org and I can't quite find what I need.
In short, what I'd like to do is the following:
Using an Enterprise Java EE project.
Make an entity bean from a table in MS SQL Express 2008
Make a session bean with methods that return data in the form of a List<T>
Build a web service that uses the said session bean to supply a client with data.
I keep getting all sorts of errors but mostly NullPointerExceptions and a lot of ClassNotFoundError for jTDS, I also tried the MS drivers but that didn't get me further.
Is there a simple build pattern for doing this that I'm overlooking here?
TIA
/Jontatas |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|