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 139814 - Execute Code in Design Time
Summary: Execute Code in Design Time
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ sandipchitale
Depends on:
Reported: 2008-07-13 20:03 UTC by cadorca
Modified: 2008-07-14 21:19 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description cadorca 2008-07-13 20:03:37 UTC
When design applications in visual web the IDE execute my code in design time
for example if I have a class GenericDAO that acces the db to get the objects back and do some stufs before returning
for example a method
public List<Codes> getCodes(){.....acces database, do stufs, ...}
when this objects are binding to a jsp tag for example a table, the IDE execute my method, that method take a lot of
time because the database is in a remote place(only in design time), so I have to wait a lot of time to see my page
rendered in the visual editor, this simple example show the big implications of try to execute the user code in design
time and the big overhead that this represents, including the cases when the code fail because of execution in design time.

I propose changing this from executing code to only be able to bind the method structure(the IDE only take care of build
clases and filter the methods based on the return type), this will IMPROVE A LOT THE DESIGN PERFORMANCE, if you see
another editors like Vidual Studio 2005 they only sync the method structure but not actually execute the code in design
Comment 1 _ sandipchitale 2008-07-14 21:19:17 UTC
We will consider this.