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 70116 - Call EJB from JSP via EJBs wizards and/or auto create scriptlet code
Summary: Call EJB from JSP via EJBs wizards and/or auto create scriptlet code
Status: NEW
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: martin_adamek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-08 22:08 UTC by aascotty
Modified: 2007-09-17 20:33 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aascotty 2005-12-08 22:08:56 UTC
I'd like to suggest an enhancement to the IDE in terms of right clicking a 
context menu from the source editor and have the IDE automatically create in a 
JSP page the necessary scriptlet code, JSTL or custom JSP tag to call an 
Enterprise Java Bean(Session Bean/Entity Bean) rather than having to create 
the code myself from scratch.  This capability only exists from a servlet 
class (not the servlet class translated from a JSP page) or Java class in 
general.
 
Is this capability in the works or is there a logical reason why it does not 
exist in NetBeans 4.1?
 
Scott
Comment 1 Martin Adamek 2005-12-09 07:12:56 UTC
It is not possible to have it in 5.0. High resistance mode starts on Sunday and
UI freeze was many weeks ago. Sorry.
Comment 2 Petr Blaha 2005-12-09 09:34:41 UTC
One reason is you shouldn't put this functionality as call EJB, .... in view.
Use rather business delegeate pattern. This pattern reduces coupling between
presentation-tier clients and business services. The Business Delegate hides the
underlying implementation details of the business service, such as lookup and
access details of the EJB architecture.
Comment 3 Alexander Kouznetsov 2006-09-28 18:53:05 UTC
There is an inconsistency - you can create code for EJB lookup in Servlet and cannot in JSP.
Comment 4 Jiri Prox 2007-09-17 20:33:00 UTC
Obsolete milestone, please reevaluate