Aqualogic BPM and Java Server Faces

Hi, I want to know if you can control the workflow from a jsf application outside the BPM environment, if not some way to integrate JSF and the BPM flow.
i'll appreciate your help.

Hi,
     There are a couple of ways to interface with a BPM Process deployed in ALBPM from an external Java based application:
     a) You can use PAPI (Process API) which is a Java API. You can write code to query instances and also process them through this API as far as they do not have Client components as part of the implementation (like forms). In the event that you have forms, you may need to use the WAPI or HTML API. You may also use PAPI-WS as an alternative for querying isntances.
     b) You can query the instances using PAPI or PAPI-WS and then use WAPI or the HTML API for processing instances in interactive activities that may have interactive components as part of their implementation (an interactive activity implemented with a screenflow rendering BPM Object Presentations or a JSP).
     Information about PAPI, can be found in the Enterprise distributions in the client/papi folder.
     Information about the HTML API can be found in the Studio On Line Help. You can look by "HTML" and find useful links.
     Hope this helps !
          eduardoc.

Similar Messages

  • Difference between Java Server Faces and Apache Struts

    Hi ,
    I'm quite new to Java Server Faces and Apache Struts. I wonder are they two comparable Frameworks for web presentation?
    And can anybody elaborate please, if they differ in what aspects?
    Thanks
    Jaffar Shaikh

    Here are slides from a presentation by Craig McClanahan that compares them (I believe you can search for other articles on this topic): http://www.baychi.org/calendar/files/Struts-And-Faces/Struts-And-Faces.pdf

  • Pls help   how to check the condition in java server faces.....???

    Hi All
    I have strucked with code pls help....
    How can i check the codition in java server faces.....?
    like in my Application when user provides the in put like some state name in the next page i have to display some url for that state .......if he provide some other state name it will be different url .....pls help me how can i do that,,,,,,???
    thanks in advance..

    There are certainly ways to do that. E.g. using the rendered attribute, using conditional statements in EL, using a specialized getter for that (lazily loaded if necessary), etcetera. But your functional requirement is unclear, so I can't go in detail with that.
    In the future, please try to write normal English sentences. Don't write like SMS talk and save the periods and commas. The more effort you put in your question, the more chance you will be taken for serious and the more effort others will post in their answers.
    Also, in the future, JSF related questions should be posted in the JSF forum.
    Edited by: BalusC on 12-aug-2008 7:47

  • Java server faces submit button

    i'm running a java server faces example in tomcat.In that example i'm having a text field and a submit button, both are visible, but when i run the same example in JBoss app server the submit button is not visible ........whats the problem?
    Thanks in advance.
    Ajay

    Thanks!
    i'm using jwsdp-1.2. Actually there is no need to
    configure anything in jwsdp-1.2. But running example
    out of jwsdp-1.2 may need some configuration that i
    don't know....
    You're correct that some extra steps are needed to run elsewhere than JWSDP 1.2:
    http://java.sun.com/j2ee/javaserverfaces/docs/Deployment_Guide.html
    however, it's very difficult to determine what might be wrong without seeing your JSP source code and associated Java classes, plus any error messages that might be getting written to the log files.
    Craig McClanahan

  • Fundamental flaws in Java Server Faces

    Fundamental flaws in Java Server Faces (JSF)
    After working with Struts framework for many years I wanted to try something new and decided to investigate JSF. I was very impressed with my initial evaluation and recently used it in one of my project. Middle of the project I released many glaring issue with the framework and had to break my head to complete the project on time.
    One of the major reasons why I choose JSF was that it had a clean way of mapping a form to a bean(s) and a nice way to perform form actions and navigation between forms.
    Although the framework is very promising in many ways, I think the framework is not yet complete and the developer has to fix lot of holes to make the application to work properly.
    Following are the glaring functionality that is missing or confusing or messed up in JSF.
    1)     JSF does not provide a way to disable PROCESS_VALIDATION phase. For some reason if one wants to skip one phase another, JSF has made it near to impossible to skip.
    2)     The framework does not provide an easy way to invoke an action method directly by calling a URL (Similar to Struts action method invocation). This is very essential because many/most of the time one needs to check the authorizations of the user to view a page.
    3)     JSF does not support form GET method. They are giving all sorts of reasons not to do this. It�s practically very difficult to develop an application with just POST operations.
    4)     There should be an easy way for the developer to tell JSF not to copy the request to the backing bean or at least skip the event phase that copies the request to the backing bean.
    5)     JSF does many operations in each phases. JSF should not overload multiple operations in one phase. Custom validation should be separated from native framework validation. Calling a command button with immediate set to true should be a separate phase event. This should not be mixed with other operation.
    6)     It is very difficult or near to impossible to programmatically unit test JSF application. I don�t know what they thought when they developed this framework. Dude�s we are in the TDD time period, not 4GL.
    7)     In my opinion one or more backing beans can be linked to a page and a page can be made up of one or more jsp�s. The fundamental flaw with the JSF is that JSF tries to dynamically map a jsp collection to beans. I don�t know who decided this model. They should have implemented such that the user in the faces xml or dynamically say what beans maps to a jsp page. Then they can copy the request objects to the bean and then do other stuff. This way the framework will give lot of control to the developer. In my opinion, if they have to do this then they will have to implement the �struts� action controller framework and then extend the JSF framework on top of it.
    8)     The framework has some piece of implementation very easy like mapping the bean to the form and command actions and the others near to impossible to understand or make it to work.
    I am surprised to see big players like IBM and Oracle backing this product. What I don�t understand is why? What are they betting for?
    Anyway, I will definitely keep an eye on the JSF progress. But for now, let me take care of my bum. It was a bumpy ride working with JSF framework.

    I am not very experience or expert in jsf...
    But i would like share my thought/ answer on this issue.
    1) JSF does not provide a way to disable PROCESS_VALIDATION phase. For some reason if one wants to skip one phase another, JSF has made it near to impossible to skip.
    - YES.....jsf make it impossible to disable validation. But it does make it possible to skip some validation with immediate attribute. Anyway..based on My experienc working on immediate attribute.....it was not so easy/flexible to skip the validation as compared to struts..
    2) The framework does not provide an easy way to invoke an action method directly by calling a URL (Similar to Struts action method invocation). This is very essential because many/most of the time one needs to check the authorizations of the user to view a page.
    -I am not sure about this.......But i personally think jsf does not provide this functionality.
    3) JSF does not support form GET method. They are giving all sorts of reasons not to do this. It�s practically very difficult to develop an application with just POST operations.
    - YES....I personally also feel that this is a BIG disadvantage...
    4) There should be an easy way for the developer to tell JSF not to copy the request to the backing bean or at least skip the event phase that copies the request to the backing bean.
    - YES...agreed.....jsf should make this easier..
    5) JSF does many operations in each phases. JSF should not overload multiple operations in one phase. Custom validation should be separated from native framework validation. Calling a command button with immediate set to true should be a separate phase event. This should not be mixed with other operation.
    - No comment..
    6) It is very difficult or near to impossible to programmatically unit test JSF application. I don�t know what they thought when they developed this framework. Dude�s we are in the TDD time period, not 4GL.
    7) In my opinion one or more backing beans can be linked to a page and a page can be made up of one or more jsp�s. The fundamental flaw with the JSF is that JSF tries to dynamically map a jsp collection to beans. I don�t know who decided this model. They should have implemented such that the user in the faces xml or dynamically say what beans maps to a jsp page. Then they can copy the request objects to the bean and then do other stuff. This way the framework will give lot of control to the developer. In my opinion, if they have to do this then they will have to implement the �struts� action controller framework and then extend the JSF framework on top of it.
    - No really understand what u trying to say...But I dun think this should be a isssue...
    8) The framework has some piece of implementation very easy like mapping the bean to the form and command actions and the others near to impossible to understand or make it to work.
    - What is the "other" mean???

  • Recommended portel type for Java Server Faces in Portal 10G

    Hi all,
    What is the best [or recommended] portlet type to use to interact with Java Server Faces in Oracle Portal 10G. We a planning to use a WSRP portlet type in our current project and would like to know if this is a good/feasible approach, or whether another portlet type would be recommended.
    Thanks in advance!

    Entry-level stuff is linked from http://www.jsftutorials.net/
    Samples with tables... eg. the MyFaces examples which show all myfaces components. http://myfaces.apache.org -> just download the binaries and sources and check out the samples
    hth
    Alexander

  • Support for Java Server FAce in Workshop

    Dear All,
    Does anyone have any idea if and when Workshop will include support for the Java
    Server Faces (JSF) framework?
    Thank you
    Abe

    While I cannot share any specific product plans from any vendor, I would like to point out that all of the vendors of IDEs in the Java web application space are members of the JSR-127 expert group that is defining JavaServer Faces. Indeed, one of the primary design goals for the APIs is to ensure that development tools have sufficient information available to create high quality user interfaces at design time, so we're doing all we can to enable this kind of thing.
    As JavaServer Faces matures, I think you will be very pleased with the quality and quantity of tools support for it.
    Craig McClanahan

  • Struts/Java Server Faces

    Plese send info : In which cases it is beter to use struts framework and in which cases Java Server Faces .

    They actually compliment each other. You can use Struts with JSF.
    Read the overview on JSF and you will see.
    Sal

  • Java Server Faces on BEA

    Hi
    Is it possible to perform Java Server Faces (Sun) on Bea 8.1 Sp4?
    I can't get this started. Do you have any hints/experiences?

    Yes, WLS 8.1 SP4 should support JSF. Unfortunately we do not have an example to get you started. I'll enter a request for such.
    If you encounter issues or have further questions, try our WebApp newsgroup: weblogic.developer.interest.servlet

  • Javascript in java server faces

    Hi All,
    is it possible to use javascript in java server faces. If it is possible, How to get component (textbox, listbox, combo box) values in java script ?

    Yes. Use document.getElementById().

  • XMLsocket and java server

    Hi
    I would like to developp a client which connects on a java
    server.
    When i run my program on my developement computer, it works
    (maybe because the server and the flex application are on the same
    machine.)
    But when i want to run the flex application from another
    computer I can't manage to get connected...
    First question : is it possible to connect flex appli to java
    server through internet or network
    Example
    123.2.2.2:18000 this is the (false) ip on my javaserver (the
    port 18000 is open)
    and I want to connect to it with a flex application from
    another computer.
    Thank you for you help
    Nicolas

    Hi,
    I discovered your topic too late so I made a duplicate topic
    about socket and java server.
    I spend quite a long time trying to solve this problem and I
    don't have the solution !
    It should be a common question so I guess the answer is so
    easy than I can't see it !!
    TechNote seams to say that you have to put the
    crossdomain.xml file on the root of the (html) server and not on
    the server where the flash file is.
    The problem is that I don't have or need a web server as my
    java server is doing the job. So I don't think it is the answer.
    Did you find the answer ?
    THX
    Jean-Yves

  • Java server faces mvc pattern

    Well i dont know any knowledge of java servr faces.Dows java Server faces encapsulate mvc pattern like struts other then html tag library.
    Thanks.

    JSF only addresses the "user interface" framework portion of a web application. You can perhaps think of it as standardizing the "V" in MVC (I don't know if this is quite right, is it so Craig?). We wish that there will be another JSR in the future that standardizes rest of the "C" of the MVC.
    -Mete

  • Data transfer between C client and Java server

    Hello there
    I am working on a project where I have to develop a Client based on C and Server based on Java. The client can connect to Java server and it then sends a integer/string to Java server. But.. Java server unable to receive that and throws an IOException.
    I use write method to send the integer buffer to the socket.
    int out_buffer = 0;
    int *pbuf;
    pbuf = &out_buffer;
         if (write(acskfd, pbuf, 4)< 0){
                   syslog(LOG_ERR,"Write failed. %s(%d)", strerror(errno), errno);
                   printf("\tCLIENT:\tWrite failed\n");
                   exit(1);
    In Java, i use DatainputStream and readnInt method to read the integer from the stream.
    cl_sock = socket_out.accept();
    DataInputStream sInput =new DataInputStream(cl_sock.getInputStream()) ;
    int cmd = sInput.readInt();
    Am I missing someting.. Any suggestions would be really really helpful.
    Thanks
    Ithaca
    PS: I running both programs in the same machine.
    In C part, I also use host to network byte order conversion (serv_addr.sin_port = htons(portno).

    I would suggest writing a Java client to perform the same tasks as the C client.
    Then if the Java client does, or does not work this can help dteremine which end is at fault.
    Are you flushing your data from the client?

  • UDP DatagramPacket sent between C (client) and Java (server)

    Hi,
    I have a problem sending a struct from C to Java UDP server.
    In the C (client) program, the struct is defined as
    typedef strurct dataType_s {
    char name[52];
    char add[52];
    long x;
    long y;
    } dataType;
    dataType data;
    strcpy(data.name, "sun");
    strcpy(data.add, "com");
    data.x = 100;
    data.y = 50;
    sendto(sock, (struct dataType*)&dataType, sizeof(dataType), (struct sockaddr*)&dest, sizeof(dest))
    In the Java server side, I have the following code.
    byte[] buffer = new Byte[1024];
    DatagramPacket packet = new DatagramPacket(buffer, 1024);
    udpSock.receive(buffer);
    byte[] data = buffer.getData();
    String name = new String(data, 0, 52);
    String add = new String(data, 52, 52);
    String _xx = new String(data, 104, 4);
    String _yy = new String(data, 108, 4);
    Byte x = new Byte(xx.getBytes());
    long x = _x.longValue();
    Byte y = new Byte(yy.getBytes());
    long y = _y.longValue();
    I am having problem to read the contents of x and y above. The string name and add received by the server
    are correct. However, I receive garbage value
    for x (long) and y (long). In fact, I get expection
    that I cannot create Byte x and Byte y as shown
    above. Any idea of how to send a mixture of types
    from C/C++ to Java server?
    Thanks a lot.
    Kelvin ([email protected])

    sendto(sock, (struct dataType*)&dataType,
    sizeof(dataType), (struct sockaddr*)&dest,
    sizeof(dest))You have to check the alignment of your structs. You can't be sure that a long takes up four bytes. It can very well be 8 bytes or something else depending on your settings at compilation.
    udpSock.receive(buffer);
    byte[] data = buffer.getData();I suppose this is a typo, but of course you should use packet not buffer here.
    >
    Byte x = new Byte(xx.getBytes());
    long x = _x.longValue();
    Byte y = new Byte(yy.getBytes());
    long y = _y.longValue();
    in my opinion its easier to use a DataInputStream instead:
    DataInputStream in = new DataInputStream(new ByteArrayInputStream(data));
    int y = in.readInt();
    Notice that a long in Java is 8 bytes. A C long corresponds to a Java int.
    /Per-Arne

  • Jsf (java server faces) and servlets

    Hi,
    Could anyone tell me if it is possible to integrate jsf with servlets rather than jsp. All the examples i see are only using jsp.
    Thanks.

    I'm using servlets because they are more secure. No
    one can view the source code on the web server, as it
    is a class file. With jsp's the code is always
    viewable. Can you explain how the code is viewable? If a client gets a JSP result down in their browser and does a "View Source", all they'll see is the generated HTML. Are you thinking they'll see your raw JSP? Not so.
    JSPs are compiled to servlets. By the time your clients get to them they're no different from servlets.
    You might be asking how you can restrict access to the raw JSP source. If you put it under WEB-INF/classes there's no way for an external client to get at it.
    %

Maybe you are looking for

  • Photo flow object not using thumbnails, only the primary image

    I'm currently evaluating the trial version of this to see if it's something we can tweak to the way we'd like it, and I can't seem to get the object to use the thumbnail views (presumably for the angled views to either side of the centered image).  W

  • How to create a dumby database?

    Hi, I would like to create a dumby database useing sql developer. I don't have oracle installed on my window machine but do have sql developer, which i use to connect to other databases. How can i create a dumby database on my windows machine that i

  • Using the remote control.

    I noticed that the Apple knowledge based article describing the functions of the remote hasn't been updated to reflect the v 3 Apple tv software. I suspect there are a few users who don't get to use all the features of the Apple tv because they aren'

  • How to uninstall 3rd party app from MacBook Pro?

    Does anyone know how to uninstall a 3rd party application (RMSViewer) from MacBook Pro?  The app doesn't work and I want to remove it from memory.  I can't find an "uninstall" utility on my computer and the 3rd party software doesn't include an unins

  • Make an update statement from a proc

    That is, how is possible to call an update statement from within a procedure? I have tried execute update TT_Livraison set ... without success. Any idea?