Giter Site home page Giter Site logo

engine's Introduction

dwcj

Java API for BBj DWC Dynamic Web Client

Setup Instructions

  1. Download and Install BBj 22.12 or higher, on OpenJDK11
  2. Clone this project
  3. Add a custom classpath with
  • if you're developing inside the framework: the compiled class files in the target/classes folder
  • if you're developing with the framework: the dwcj.jar (it builds with Maven)
  • also add (bbj-internal) to this classpath
  • My entry looks like this in BBj.properties (sorry, it's Windows): basis.classpath.dwcj=C:\DWC4JavaWorkspace\dwcj\target\classes\;(bbj_internal)
  1. create a webapp deployment in EM for dwcj.bbj
  • make sure to set the working directory or PREFIX so that DWCjHelper.bbj is found at runtime
  • you can also simply run the program with the correct classpath in GUI, it tries to self-deploy
  1. navigate to

http://localhost:8888/webapp/dwcj

If you see the sample app all is well.

Write your own class

  1. Look at the sample app in the repo
  2. write your own, in your own Java project. Use the classes in org.dwcj.* for UI
  3. Add your stuff to the classpath you created
  4. pass the classname by one of the following

http://localhost:8888/webapp/dwcj?class=your.class.name.Here

OR

in config.bbj: SET DWCJCLASSNAME=your.class.name.Here

OR

as first program arg in EM (just the classname)

Javadoc

The Javadoc of the engine can be found here:

https://dwcjava.github.io/engine/

engine's People

Contributors

matthewhawkins avatar stephanwald avatar hyyan avatar mhawkinsbasis avatar khmarbaise avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.