This is an old revision of the document!
If you have an application based on JVx' standard Application frame, it's very easy to use ProjX. The standard application doesn't contain a work-screen manager, automatic menu/toolbar creation and automatic logon. This missing features and much more are part of our ProjX application frame. It's a simple RemoteWorkScreen application (defined by JVx). The JVx' standard Application frame is a RemoteApplication without work-screen management. The RemoteWorkScreenApplication extends RemoteApplication and adds work-screen support.
Simply do following:
- Add projx.jar and appsclient.jar to libs/client
- Add appserver.jar to libs/server
- Delete your custom Application class or extend com.sibvisions.apps.projx.ProjX
- Change your launcher (run configuration) if you don't need a custom application and use com.sibvisions.apps.projx.ProjX as first argument (instead of your custom application)
- Add an application.xml to your application package
- Set value of Application.Login.application to your application name
- Change your launcher (run configuration) and add the full qualified resource path of your application.xml as second argument
The launcher should have two arguments, e.g.
com.sibvisions.apps.projx.ProjX
/com/company/shop/application.xml
- (optional) Style your application:
Application.Login.image (e.g. /com/company/shop/images/login.png),
Application.Desktop.image (e.g. /com/company/shop/images/background.jpg),
Application.Desktop.topimage (e.g. /com/company/shop/images/top-shadow.png),
Application.Desktop.background (e.g. 255,255,255) - (optional) Configure autologin:
Application.Login.username
Application.Login.password
(and be sure that Application.authenticator contains com.sibvisions.apps.auth.UserPwdAuthenticator)