BBjShip 26.03
BBjShip est un plugin BBj qui déploie des applications webforJ vers BBjServices. Vous construisez et déployez votre application avec le plugin de construction webforJ, soit sur la machine BBj, soit à partir d'une autre machine telle qu'un serveur CI, et l'application s'exécute dans BBjServices comme n'importe quelle autre application que vous gérez dans Enterprise Manager.
BBjShip remplace le plugin d'installation webforJ décrit dans Exécution avec BBjServices, qui est obsolète et sera supprimé dans une future version.
BBjShip fonctionne avec des projets Maven via le webforj-maven-plugin. Le plugin Gradle webforJ ne prend pas en charge BBjShip.
Comment ça fonctionne
Un déploiement se compose de trois parties :
- plugin de construction webforJ : emballe votre application avec ses dépendances et la télécharge vers BBjShip
- BBjShip : installe l'application dans BBjServices et la publie sous
/webapp/<nom de publication> - BBjServices : exécute l'application, que vous gérez dans Enterprise Manager comme n'importe quelle autre application
Pendant le développement, le même plugin de construction exécute votre application depuis votre projet dans les BBjServices de votre propre machine. Les modifications que vous compilez atteignent l'application en cours d'exécution sans nécessiter de déploiement, et les pages ouvertes se mettent à jour, voir BBjServices dans Redéploiement et Rechargement en Direct.
Sujets
Premiers pas
Create a webforJ app that runs with BBjServices from startforJ or the Maven archetypes, run it on your local BBj and deploy it with BBjShip.
Projets Existants
Move an existing webforJ project from the webforJ install plugin to BBjShip with one OpenRewrite run, and what the migration changes in the build and the configuration.
Installation de BBjShip
Install BBjShip on your own machine with the webforJ Maven plugin, or on a shared BBj server with the BBj Plugin Manager.
Déploiement
Package, deploy and undeploy webforJ apps in BBjServices with the bbj-package, bbj-deploy and bbj-undeploy goals of the webforJ Maven plugin.
Ligne de commande
The bbjship commands a BBj administrator runs on the BBj machine to manage the deployment endpoint, deployed apps, development runs and BBjServices.
Dépannage
What the messages of the BBjShip goals and the bbjship command line mean, and what to do about each, for setup, deploys, development runs, the command line and Windows.