UIX/Struts+BC4J Comparision

In one project, I'll develope a Thin-client Web-based appliation, this is my hypo architecture:
1. JSP+Struts+Tomcat+Oracle 9i
2. JSP+UIX+BC4J+Tomcat+Oracle 9i,
I'm a newbie to Oracle UIX, can anybody give me suggestion about the comparision between Struts and UIX ?
or How about the second architecture?
Welcome any comment/advice.
Thanks in advance.
Jack

You posted this question twice; see my answer to the other message.

Similar Messages

  • Anyone deploy ADF(UIX,Struts,BC4J) to 9iAS 9.02?

    Has anyone been successful in deploying a ADF 10g app using UIX/Struts/BC4J to Oracle 9iAS 9.02?

    Deploying a UIX application directly from JDeveloper 10g to iAS 9.0.2 isn't supported out of the box. You can deploy directly to iAS 10g (9.0.4), standalone OC4J 10g (9.0.4) instances (one is included with JDeveloper 10g), iAS 9.0.3 Java edition, standalone OC4J 9.0.3, and selected third party servlet engines.
    There are two issues that you would need to workaround to deploy a 10g ADF application to iAS 9.0.2. One issue is that 9.0.2 versions of some of the ADF libraries (BC4J and UIX for example) are on the global application.xml classpath of the iAS 9.0.2 customer home OC4J instance. You would need to manually upgrade your 9.0.2 instance to have all of the ADF 10g libraries. The second issue is that some of the ADF 10g libraries (like BC4J) require JDK 1.4, and iAS 9.0.2 shipped with an earlier version of the JDK. I personally don't know if using iAS 9.0.2 with JDK 1.4 is a supported combination, but I will try to find out for you.
    By the way, you might wonder why we don't have these same problems with with iAS 9.0.3 and 9.0.4 since the ADF 10g libraries are more recent than what shipped with those releases. In OC4J 9.0.3 and 9.0.4 there is a "search-local-classes-first" option in orion-web.xml that allows classes provided as part of a web application to be loaded in preference to what is on the global application.xml classpath. We use this feature to deploy ADF 10g applications (and include the JARs for some of the ADF libraries in the WEB-INF/lib of the application). In addition, there is a tool called the ADF Installer that is part of JDeveloper that will upgrade versions of some of the backward compatible ADF libraries (like BC4J) in the global application.xml.

  • 10g UIX / Struts / BC4J

    We are searching for best practices for developping secure web applications using uix / struts / bc4j that demonstrates different login scenario and connection pooling with the database. Did somebody find something in documentation ? or a great book that expose this problematic ?

    Hi, I am also looking for a document or procedure like that.
    Did you get any help, or found any way to do that ?
    Can you share with me ?
    I will appreciate if you could have some time to share the ideas ?

  • Generated STRUTS BC4J App not able to create view row

    I have build a BC4J AppModul with JDeveloper 9.03. The AppModul works fine in the testerapp and also with a UIX generated application. However, with the generated STRUTS BC4J app i allways get the following error message JBO-25013: Too many objects match the primary key oracle.jbo.Key[78 ] when creating a new entry (Browse/New/Update). The exception is thrown in the oracle.jbo.html.struts11.actions.UpdateAction.java populateRow() method. The related entity class builds the primary key with oracle.jbo.server.SequenceImpl in its create() method. Any idea ?

    I think the ViewObject you operated in your ApplicationModule contains two or more Rows has the same
    primary_keys.Check that!!

  • UIX, Struts, ADF and JSP

    Hi guys. My manager asked me to spell out these different strategies and I fell quite short of an adequate summary. I was wondering if someone could breifly define the following technologies and perhaps explain why you would use them. Additionally, we are embarking on a new project and are unsure of which technology to base it on (we will create a BC4J layer). It is a web application which may end up serving many anonymous users.
    UIX
    STRUTS
    ADF
    JSP (as used in JDev9.0.3.3 - Create a complete JSP application).
    Thank you in advance for your time and consideration!
    ~Rob Lundeen

    Here is a quick one:
    Oracle ADF - A framework for building J2EE applications. Based on the Model-View-Controller architecture. Offers flexability in choosing implementation for the different layers.
    STRUTS - a popular open source controller for managing the flow of Web applications when using the MVC architecture. Used as the controller for Oracle ADF based applications.
    JSP - One way to build your Web user interfaces or View layer in Oracle ADF.
    UIX - Another way to build the View layer for your application. Provides a set of rich HTML component and built-in functionality. Uses a declarative approach to building the page. Will evolve to become a JSF implementation.
    BC4J - Now renamed to Oracle ADF Business Components - one of the way to implement the data source (or Business services) layer in Oracle ADF applications. Other ways include EJBs, Web Services, TopLink, or simple Javabeans.
    I hope this helps,
    Shay,
    Oracle.

  • Struts+ bc4j insensitive case search using queryAction

    I'm working in a new project using Struts+bc4j.
    the queryAction, when it executes a query using this attributes and applying a new viewcritteria, it works in a case-sensitive mode. I'm looking for a way to make it non-case-sensitive in a View OBject level.
    Regards
    Daniel Gonzalez

    Change the query to do this e.g.
    where lower(Emp.ENAME) = lower(:1) or whatever

  • Working with pdf streams (UIX/Struts)

    I have a pdf stream that I would like to display to the user, I'm using ADF/UIX/Struts.
    I generate the stream in the application module via custom method, and would like a "Download" and "View" link on the page.
    Has anyone done anything similar? How should I go about this?
    Many thanks

    You might have to implement your own PageRenderer (oracle.cabo.servlet.PageRenderer) for this purpose.
    If you have abstracted the pdf as a file or InputStream/Reader, the existing implementation in oracle.cabo.servlet.util.FileDownloadRenderer should be useful.
    Javadocs (from UIX reference help topic in JDeveloper) should provide further information about these interface/class.

  • Help on Struts BC4J Framework

    Hi Everybody,
    I am new to BC4J Framework. I have enough experience in Java and JSP/Struts. Is there any guide which will explain me step by step development of an sample application using JDeveloper, Struts, BC4J and Oracle Database. I have tried to search the forum, but not able to find proper document. Please help.
    Thanks & Regards,
    Shailesh Joshi

    Can anyone please tell me why in struts in most of the situations we are getting the error,
    cannot find ActionForward and ActionMappings.You're getting the error because Struts isn't configured correctly. The solution is to configure Struts correctly.
    ~

  • Bussines rules problems using Struts + BC4J

    Hi, I'm using struts + bc4j and I have some problems with the validations made on the entities.
    Looks like sometimes, struts didn't shows the error message until the commit is made. But the problem is that on the navigator shows me the stack trace of the exception, but only when I do the commit of the transaction.
    In the test of the application module, the business rules works perfectly.
    If somebody can help me i will aprecciate it.
    Thanks
    Daniel Gonzalez

    There are already some threads on this topic.
    Unfortunately, they don't give solutions - not yet ;)
    Custom Method Validator
    addVetoableChangeListener for attribute doesn't seem to get fired
    HTH,
    Adrian

  • UIX & STRUTS

    Dear Sir/Madam,
    i'm a newbit to learn uixml application. i just created simple logon application follow by "using UIXML WITH STRUT" in jdeveloper help document. but i don't know why still not success. i receive few error message as below : -
    1) Warning(7,69): welcome.uix: Parsing error, line 7, column 69: <dataScope> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/struts) is set incorrectly. This may also be an issue with the syntax of its parent element.
    2) Warning(7,69): logon.uix: Parsing error, line 7, column 69: <dataScope> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/struts) is set incorrectly. This may also be an issue with the syntax of its parent element.
    3) Warning(80,39): logon.uix: Parsing error, line 80, column 39: <action> is not an understood element.
    This sometimes means the element's namespace (http://xmlns.oracle.com/uix/struts) is set incorrectly. This may also be an issue with the syntax of its parent element.
    4) java.lang.NoClassDefFoundError: org/apache/struts/util/MessageResources
    above error is come from browser when i deploy application.
    due to source code too long, so i will not post here.
    pls notice me if u need code.
    pls help me to fix it .
    best regards
    boris

    The first three errors indicate that in your file you've set up the default namespace such that the parser thinks the <dataScope> on line 7 is in the http://xmlns.oracle.com/uix/struts namespace.
    The datascope element is actually in the http://xmlns.oracle.com/uix/ui namespace.
    Be sure to set up your namespace declarations correctly. I suggest making http://xmlns.oracle.com/uix/ui the default namespace, and then declaring a namespace prefix for http://xmlns.oracle.com/uix/struts and using this namespace prefix on elements from that namespace.
    The final error is likely because you don't have struts.jar at the same classloader level as uix2.jar. This happens easily in JDeveloper 9.0.3/iAS 9.0.3 because uix2.jar is on the global application.xml classpath and the struts runtime is not. Just add struts.jar to the global application.xml of the OC4J instance you are deploying to.

  • Are JDev9i UIX and BC4J application server dependent?

    Are UIX and BC4J application server dependent?
    If I use JDeveloper9i to build an application using UIX XML + BC4J + Java, then can this be deployed on IBM Websphere, Web Logic, Oracle 9iAS, etc...?

    BC4J and UIX are not tied to any application server. They are "just" a collection of jar files that you can deploy to any application server.
    Check out the how-to section to see the doc about deploying BC4J to other application servers at:
    http://otn.oracle.com/products/jdev/howtos/content.html
    (more info in the online help).
    Also check out otn's home page later today for a daily feature about BC4J openness.

  • UIX XML BC4J Choice

    Adam, In a previous thread In cactus, it has problem to generate report you mentioned that in order to implement a Choice within UIX/XML/BC4J one would have to write some code to do it. Specifically,
    1. Implement the oracle.cabo.ui.data.DataObjectList interface to wrap up the results of a BC4J query ...
    2. Write a MethodDataProvider ....
    3. Access the Method and display the Choices.
    Can you JDEV guys post a WORKING example of how to do it?
    An "EDIT.UIX" page where the USER makes a selection from the drop-down-list (Choice) and then updates the record with that selection would be nice.
    Bill G...

    Beautiful!
    I'll will look at implementing this over the weekend. I made a decision to temporarily go with UIX-JSP since I did not know how to implement a "UIX XML BC4J Choice".
    Now that you've delivered it I should be able to convert some of my UIX-JSP apps to UIX/XML.
    Thank You Good Buddy! (Think truck driver accent)
    Bill G...

  • UIX, Struts comparision?

    Can anybody give me some comparision between UIX and Struts? and UIX is open source? Can we find the UIX source code in JDeveloper9i ?
    Thanks in advance
    Jack

    Struts is comparable to the UIX Controller portion of UIX.
    There's a bunch of terminology differences, but in functionality
    the major differences would be: UIX Controller is better
    integrated with UIX XML, and Struts supports an XML file
    format for defining an entire application's flow. UIX
    also hasn't been open-sourced.
    The rest of UIX - especially UIX Components, but also UIX Styles
    and UIX Images - are a large class of functionality that simply
    doesn't exist in Struts. But we've designed UIX so that you
    can pick and choose the pieces you want. So you can use UIX with
    Struts (excepting, of course, the UIX Controller).

  • ADF UIX Struts and the BajaContext, Page, and PageEvent

    Hi,
    I'm hoping someone can point me to the right piece of documentation, but I can't seem to figure out how to build the link between 1) the new ADF bindings and the UIX controller event handler objects such as the BajaContext and 2) a UIX event handler and the ADF bindings.
    We used the ServletBindingUtils object to gain a handle on BC4J objects within UIX event handlers. To get the application module, we'd use getApplicationModule and pass in the BajaContext object. Or, the BindingContext, but this context is the oracle.cabo.data.jbo.bind.BindingContext, not oracle.adf.model.BindingContext.
    Also, the opposite question remains on how does one obtain a handle the Page, PageEvent, and BajaContext from the struts side, from say the DataActionContext?
    If there is no link (or not one easily obtained) are there plans to provide one, or are these two controller mechanisms to remain separate?
    Thanks much,

    I don't know if this will help:
    http://helponline.oracle.com/jdeveloper/help/state/content/navSetId.jdeveloper/navId.4/vtAnchor.handlingEvents/vtTopicFile.jdeveloper%7Cuixhelp%7Cuixdevguide%7Cintroducingbaja%7Ehtml/
    There is a snippet to finding the BajaContext off of the rendering context:
    BajaContext bajaContext = BajaRenderingContext.getBajaContext(context);
    I'm not sure if something similar can be done with the ActionContext or not.
    Brad

  • Urgent problem in struts bc4j app

    The problem occurs between the Controller an the View Layer(can I debug there?) Anyway, I can see the data in the Action class, but not in the jsp page, there's just one row (the first).
    Thank you.
    I'm using the 9.0.3.3 build 1205
    The Action class:
    public class ShowneuebehauftrAction extends Action
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
    BC4JContext context = BC4JContext.getContext(request);
    ViewObject vo = context.getApplicationModule().findViewObject("BehauftrNeu");
    //here the output looks fine
    Row r = vo.first();
    while (r != null)
    for (int i = 0; i < vo.getAttributeCount(); i++)
    String attrName = vo.getAttributeDef(i).getName();
    String attrVal = r.getAttribute(i).toString();
    System.out.println(attrName + " = " + attrVal);
    r = vo.next();
    return BC4JUtils.getForwardFromContext(context, mapping);
    And the jsp page:
    <%@ page language="java" errorPage="errorpage.jsp" contentType="text/html;charset=windows-1252" %>
    <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <html>
    <head>
    <META NAME="GENERATOR" CONTENT="Oracle JDeveloper">
    <LINK REL=STYLESHEET TYPE="text/css" HREF="bc4j.css">
    <TITLE>
    <bean:message key="behauftr.title"/>
    </TITLE>
    </head>
    <body>
    <table border="0" bgcolor="#003399">
    <tr>
    <th><font color="white" size="3"><bean:message key="behauftr.nr"/></font></th>
    <th><font color="white" size="3"><bean:message key="behauftr.wunschdatum"/></font></th>
    <th><font color="white" size="3"><bean:message key="behauftr.status"/></font></th>
    <th> </th>
    </tr>
    <jbo:RowsetIterate datasource="DataaccessModule.BehauftrNeu" userange="true" >
    <tr bgcolor="#f3f3f3">
    <td>
    <jbo:ShowValue dataitem="Nr"/>
    </td>
    <td>
    <jbo:ShowValue dataitem="Wunschdatum"/>
    </a>
    </td>
    <td align="right">
    <jbo:ShowValue dataitem="BasNr"/>
    </td>
    </tr>
    </jbo:RowsetIterate>
    </table>
    </body>
    </html>

    There's another question: I tried to format a date field to SimpleDate format dd.MM.yyyy - in the Entity's and ViewObject's Attribute-Editor-Control-Hint.
    It works fine in the BC-App-Module, but in the Action class there's the yyyy-MM-dd format back again (and of course in the jsp page as well). Does this have to be handled in the Action class?
    But, more important, I still can't figure out why there's only one row in the jsp page - as described earlier -
    Thanks in advance for your help.
    Regards
    gabriela

Maybe you are looking for

  • Problem downloading trial version of Lightroom 4

    I am trying to download the trial version of Lightroom 4 for Windows (English), but nothing happens when I click on the "Download" button. This is very weird. I am a current user of PSE 10, and I would like to see if I should also get Lightroom 4, be

  • Is code still being used

    We have a large database, with many stored procedures, packages, functions and views that have built up over such a long time that we no longer know which code is still being used. Is there any way of finding out if a procedure/package/view/function

  • Coordinates of paths that border live paint areas

    I have several illustrator files that show drawings of neighborhood lot maps.  The lots are drawn from single lines where one long line creates the front of all the lots on the street.  Another line creates the back and smaller lines divide the lots

  • InDesign CS 6 - Mac OsX 10.8.5 97% cpu usage

    Hello after migration from 10.6.8 to 10.8.5 (with clean install), on a Mac Pro 3.1, 2,8 Ghz Quad-Core Intel Xeon, 10 Gb ram, GTX 650 Ti 2 Gb GPU simple resizing window InDesign CS6 take almost 100% of CPU, into open file there are just 2 pdf imported

  • Hit Counter Size

    Is it possible to change the size of the iweb hit counter? /Erik