Business Logic Development

With the Nexaweb Studio, you can quickly integrate business logic into your Nexaweb Java or Ajax applications.

Much of your Nexaweb application's business logic is handlers for component events.

This section covers the methods by which you create event handlers and other business logic. For information on how to connect event handlers to component events, see the section in this guide on Connecting Business Logic to the User Interface.

You can run business logic as follows:

Application Type

Options

Java

  • On the client - in the form of Managed Code Objects (MCOs), a Java class that the client loads from the server.

  • On the server - in the form of Servlets and JSP pages.

Ajax

On the client - in the form of Managed Code Objects (MCOs), a JavaScript file that the client runs locally.

Nexaweb Studio manages the placement of business logic code into the appropriate source folders.

For Java, decide where you want the business logic to run (on the client and/or on the server) and then create code in the appropriate format, MCO or JSP.

See the appropriate sections for the type of business logic to create for your application.