This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 193627 - Spring : RESTful WS from DB generate code for JEE6
Summary: Spring : RESTful WS from DB generate code for JEE6
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: REST (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Denis Anisimov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-20 08:06 UTC by Denis Anisimov
Modified: 2011-02-16 18:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Sample project (35.25 KB, application/zip)
2011-02-16 13:10 UTC, Jeffrey Rubinoff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Anisimov 2010-12-20 08:06:49 UTC
- Create JEE6 Web Project with Spring  framework.
- Create RESTful from DB .

The result source code is JEE6 centric. 
Spring framework is not involved in the source code generation.

The result should be the same as generation RESTful from entities.
Comment 1 Denis Anisimov 2010-12-20 08:27:58 UTC
changeset:   184602:11bf265f981f
user:        Denis Anisimov <ads@netbeans.org>
date:        Mon Dec 20 11:19:38 2010 +0300
summary:     Fix for BZ#193627 -  Spring : RESTful WS from DB generate code for JEE6
Comment 2 Quality Engineering 2010-12-21 07:54:05 UTC
Integrated into 'main-golden', will be available in build *201012210001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/11bf265f981f
User: Denis Anisimov <ads@netbeans.org>
Log: Fix for BZ#193627 -  Spring : RESTful WS from DB generate code for JEE6
Comment 3 Denis Anisimov 2011-02-16 11:22:50 UTC
*** Bug 195547 has been marked as a duplicate of this bug. ***
Comment 4 Jeffrey Rubinoff 2011-02-16 13:08:55 UTC
So sorry, but I've created two EE6 projects, one with Spring 2.5.6 and one with Spring 3, and run the RESTful WS from DB wizard on them both, and there is still a problem.
The IDE creates the converter classes, but it creates them in the <default package> and the service classes cannot resolve the path to them (nor can they find each other).
Comment 5 Jeffrey Rubinoff 2011-02-16 13:10:53 UTC
Created attachment 106066 [details]
Sample project
Comment 6 Denis Anisimov 2011-02-16 18:27:00 UTC
I don't see how the described behavior relates to THIS issue.
This is absolutely different bug which should be filed separately.

I'm able to create RESTful J2EE6 Web Service and it is not JEE6 centric.
It is based on the Spring.

So please don't reopen this issue unless you can reproduce original scenario.

The issue which you described really exists. Please file it in different bug.
Comment 7 Jeffrey Rubinoff 2011-02-16 18:32:52 UTC
Sorry, Denis, I thought it was a problem with your fix and thus part of same bug. (I thought your fix created converter classes)