1 Reply Latest reply on Dec 14, 2005 12:31 AM by Alejandro Guizar

    Question about Hello World Example

    Roy Forever Newbie

      I would like to know is my understanding correct
      Is the Hello World Example build target doing for the purpose?

      create-schema:
      - Create the database schema for storing executing information
      pack-definition:
      - Pack the business process into a single archive
      - The archive contain BPEL, WSDL and a descriptor
      deploy-definition:
      - Deploy the packed business process
      generate-service:
      - Generate web services for receiving partnerLink side's invoke/reply
      - I don't know is the definition WSDL not enough?
      wscompile:
      - Compile the generated web services with same namespace
      pack-web:
      - Pack the compiled web services into a single web archive
      pack-client:
      - Pack client which allow outside to access the business process
      - I don't know is the web archive not enough to allow outside accessable
      - Or is it do the purpose of grouping?
      pack-application:
      - Pack the web archive, the client into a single archive
      deploy-application:
      - Deploy the packed application
      run-test:
      - For testing

      Thank you very much

        • 1. Re: Question about Hello World Example
          Alejandro Guizar Master

           

          I don't know is the definition WSDL not enough?

          Section 3.2.2 of the jBPM BPEL user guide explains that processes are defined in terms of abstract WSDL definitions (e.g. messages and port types) and XML schema types/elements only. That's the information that goes to the database.
          Nevertheless, the information provided at the abstract level is not enough for a client to interact with the service. You still need protocol-specific details (for example, SOAP actions, namespaces, etc.), referred to as bindings, and actual endpoint access information, provided by ports.

          This is comparable to the clean interface exposed by a session bean against which you program the web tier, as opposed to the deployment descriptors that specify how and where you access an instance of it.

          is the web archive not enough to allow outside accessable

          Yes, it is. The user guide, sect. 3.2.5 explains that the implementation WSDL definition provides enough detail for a client program to be implemented in any platform. Yet we package and deploy an application client JAR on the server so that our test client invokes the service through a strongly-typed dynamic proxy.