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 142197 - No item 'Enterpsies Java Beans' in 'Services' page for Visual Web JSF EJB 3.0 data binding
Summary: No item 'Enterpsies Java Beans' in 'Services' page for Visual Web JSF EJB 3.0...
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P1 blocker (vote)
Assignee: Mark Dey
Depends on:
Reported: 2008-07-30 06:28 UTC by vincent_kwinsey
Modified: 2008-08-04 15:31 UTC (History)
1 user (show)

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description vincent_kwinsey 2008-07-30 06:28:56 UTC
In NB help is said that one can import EJB set into 'Services' page 'Enterprise Java Beans' items and picture is shown 
(this is in chapter about web page data binding with EJBs), but there is only item 'Enterprise Beans (2.x)' in the 
Services page and it naturally doesn't allow to import EJB 3.0. This feature is of utmost importance, because it 
allows clean and architecturally correct databinding between Visual Web Faces and EJBs 3.0 and it is important even 
more because there is no documentation how to do this binding in the JSP code of web page in the absent of visual 
tools in the NB IDE. In its present for J2EE development VWF JSF/EJB3.0 is impossible in the NB. Proble is in NB6.1 
irrelevant of any updates and also in NB 6.5M1. Detected both on XP and Vista.
Comment 1 Jayashri Visvanathan 2008-07-31 17:55:01 UTC
EJB 3.0 was never supported by Visual JSF framework and it is not in roadmap. So this is not a defect. Changing to
Comment 2 vincent_kwinsey 2008-08-01 06:30:19 UTC
You are invited to read NB6.5M1 Help documentation under title: Web Applications -> Creating Web Applications -> 
Binding Components to Data -> Enterprise JAvaBeans...

Here it is:
Binding a Visual Web JSF Table Component to an Enterprise JavaBean Method
See Also 
In projects with Visual Web JSF support, after you add the Enterprise JavaBean component (enterprise bean) to the IDE 
and to the page, you can call an enterprise bean method by binding it to a Table component. You can use this technique 
to view the results of the method, but you cannot update it. You do not need to write any Java code.

At present on my computer the Help system of NB6.5M1 is working only, not NB6.1, but I will check in the evening on 
the other computer - I am sure that the same feature is described in NB6.1 Help system as well. So - clearly - there 
is bug in one place - in the IDE or in the Help content. Under the title 'About Enterprise JavaBean Components in 
Visual Web JSF Applications' is text with link 'Services Window' where is the picture where 'Enterprise JavaBeans' is 
clearly shown.
Comment 3 Jayashri Visvanathan 2008-08-01 16:34:37 UTC
There is probably a misunderstanding. I am not saying EJB is not supported but EJB 3.0 is not supported and is not in
the road map. EJB 2.1 is supported starting 6.0. Is that inline with you are seeing ? Please confirm.

Comment 4 vincent_kwinsey 2008-08-04 06:35:00 UTC
OK, I surrender - the EJB spec version is not mentioned in chapter 'Web Applications -> Creating Web Applications -> 
Binding Components to Data -> Enterprise JavaBeans', and so - it could be 2.1 and not 3.0 as I thought. So - this is 
really a feature request.

But anyway - it is incredible, that there is suppport for EJB 3.0 modules, I guess, at least from NB 5.5 if not 
earlier, and no support for Visual Components even not in NB6.5. First book about 3.0 I read in 2006, Oracle 
JDeveloper has support for this spec at least more than year, even IBM Rational Developer has beta version with 
support for EJB3.0, and I guess JBoss IDE for Seams has this support too... I guess - one can use EJB3.0 in Visual Web 
JSF, but he or she should add this in JSP code in editor and not in visual designer, so - in anyway - it could be 
great that someone would take this task to write nice tutorial about this.
Comment 5 John Baker 2008-08-04 15:29:21 UTC
There is a tutorial on using JPA with Visual Web
Comment 6 Jayashri Visvanathan 2008-08-04 15:31:10 UTC
thanks. I agree that it would be good to clarify in the help that only EJB 2.1 is supported. I understand its important
but its a resource issue. NetBeans does support it, we just don't support drag and drag binding for EJB 3.0 as part of
Visual JSF framework.