Questo contenuto non è disponibile nella lingua selezionata.

5.4. Creating a Drools Project


Procedure 5.4. Creating a New JBDS Project

  1. From the main menu, select File New Project.
    Select Drools Drools Project.
  2. Enter a name for the project into the Project name: text box and click Next.

    Note

    JBDS provides the option to add a sample HelloWorld Rule file to the project. Accept this default to test the sample project in the next step.
  3. To test the project, right click the Java file that contains the main method and select Run run as Java Application.
    The output will be displayed in the console tab.
  1. From the navigation panel locate the sample.bpmn or sample.drl file.
    The sample.drl file is located by opening the test drools project and navigating to src/main/rules/.
  2. Right click the file and select Guvnor Add and click Next; expand the repository displayed to locate the package the file should be added to and click Finish.
  3. View the process or rule by logging onto the BRMS user interface.
    From the navigation panel, select Knowledge Bases and expand the package explorer to locate the package.
    Select Technical rule assets and click Open from the list of rules.
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni sulla documentazione di Red Hat

Aiutiamo gli utenti Red Hat a innovarsi e raggiungere i propri obiettivi con i nostri prodotti e servizi grazie a contenuti di cui possono fidarsi. Esplora i nostri ultimi aggiornamenti.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Theme

© 2026 Red Hat
Torna in cima