Skip to main content

Web Development with DWC

BBj's Dynamic Web Client (DWC) allows BBj programs to run in a web browser with no frontend code required. Any BBj GUI program can be deployed to the web through the BBj Enterprise Manager.

Watch the video: DWC Web Development Introduction

Deploying Your First DWC App

BBj handles both backend and frontend -- write a BBj program, register events, and run it in the browser. BBj does the rest.

Any of the programs from this course can be deployed to the DWC client. Follow these steps:

  1. Start Enterprise Manager: http://localhost:8888/bbjem/em
  2. Log in using admin / admin123 as credentials
  3. Navigate to "Web" - "Applications" and hit the "+" Sign
  4. In the dialog, give your app a Name, point it to the program file and set the working directory. Check "DWC enabled"

The URL pattern would be http://localhost:8888/webapp/Sample for the parameters above.

Deploy one of the programs from the earlier chapters to verify your configuration.

tip

The Spiderweb-Button in Eclipse does the deployment steps for you, but starts the (older) BUI version of the program. You might still find it useful to skip the manual setup in Enterprise Manager.

Next Steps: The DWC Course

Now that you can deploy a basic BBj application to the web, you're ready to learn about CSS layouts, styling, theming, responsive design, and more advanced DWC features.

Continue your learning with the DWC Course, which covers:

  • Browser Developer Tools and CSS
  • CSS Custom Properties and Themes
  • Flow Layouts and Responsive Design
  • DWC Controls and Extended Attributes
  • Icon Pools and Control Validation
  • Embedding 3rd Party Components
  • And much more...