NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Feeling stupid here...

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
Jontatas



Joined: 30 Oct 2010
Posts: 1

PostPosted: Sun Oct 31, 2010 11:28 pm    Post subject: Feeling stupid here... Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo