NetBeans Forums

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

Test RESTful Web Services in Enterprise Application

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



Joined: 12 Mar 2009
Posts: 13

PostPosted: Thu Mar 12, 2009 11:05 am    Post subject: Test RESTful Web Services in Enterprise Application Reply with quote

Hello,
I'm using NetBeans 6.5 (Build 200811100001 if it matters) to build an enterprise application with two modules: ejb and web.
The ejb module contain few Entity Beans and few Stateless Session Beans, I'm new to Java so I'm keeping it simple, later I may split the interface from the implementation but for now it's fine for me to combine them.

In the web module I would like to have a RESTful web service which will be the interface of that application (not user interface, system interface).

I have the project build and deployed successfully, my problem is that I can't generate the RESTful web service test page since I can't deploy the web-module alone, only as part of the enterprise application.

This is the output when I select Test RESTful Web Services in the context menu of the web application module:

Code:

moduleID=Aurora-web
deployment started : 0%
Deploying application in domain failed; Error loading deployment descriptors for module [Aurora-web] -- Cannot resolve reference Unresolved Ejb-Ref org.dna.aurora.web.resources.ObjectTypesResource/entityRepository@jndi: @null@org.dna.aurora.core.ObjectTypeFacadeLocal@Session@null
/Users/idoran/Development/Java/Aurora/Aurora-web/nbproject/build-impl.xml:664: The module has not been deployed.
BUILD FAILED (total time: 3 seconds)


As you can see from the code, it fail to find a reference to EJB from the EJB module.

How can I test the restful web service as part of enterprise application?

Thank you,
Ido.
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