Be aware of the following, general restriction: if
code requires an HTTP session, you cannot access that code unless
it is running on an application server. In particular, if a dedicated
service invokes j2eeLib library functions, you can access the service
from the Preview tab only if the service is deployed on a test server.
When development is all-but complete, you change the service-access
variable declaration and then deploy all the EGL-generated code:
- The initial variable declaration might be as follows:
myService MyServicePart {@BindService{}};
- Here is the replacement:
myService MyServicePart{@dedicatedService};