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).

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.

  • 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.

  • 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.

  • 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 ?

  • 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.

  • 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.

  • ADF UIX/Struts Portlets?

    Hi all,
    I'm trying to deploy an ADF BC / ADF databindings / Struts / ADF UIX application as a portlet. I've found an article on deploying Struts/JSP apps as portlets ( http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/pdkstruts/portletize-your-app.html ) and a thread on some changes you need to make to use ADF databindings ( ADF and portlets - help please ), but it looks like I'd need to do something different for UIX.
    For one thing, the first article suggests using the The PDK Struts Tag Library, which I assume is a JSP tag library and so not compatible with UIX.
    Does anyone have any suggestions or resources for making portlet-compatible UIX pages?
    Thanks much,
    Avrom

    Avrom,
    I figured out how to deploy ADF/JSP to the portal but there are a few issues. The biggest one is that Oracle Support does not support ADF with the JPDK. I found out the hard way:(
    UIX is most likely out of the question.
    Good luck,
    Hernando
    [email protected]

  • 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

  • How can I customize the error message UIX STRUTS ADF

    Hi dear forum:
    I need to customize the error message?
    Error
    Id - JBO-27014: Attribute Id in AppModule.BackupsView1 is required
    Fecha - JBO-27014: Attribute Fecha in AppModule.BackupsView1 is required
    AplId - JBO-27014: Attribute AplId in AppModule.BackupsView1 is required

    Repost:
    I need to customize the error message when I insert a new row with wrong values in ADF STRUTS UIX, where can I changue the default values for the message?

  • UIX Struts back navigation

    Hi,
    I have project with UIX 2.2.8 and Struts. There are some pages, where the user can get to from different pages. Is there a suggestion how to provide back navigation functionality?
    Regards,
    Jan

    Hi,
    I have project with UIX 2.2.8 and Struts. There are some pages, where the user can get to from different pages. Is there a suggestion how to provide back navigation functionality?
    Regards,
    Jan

  • Oracle ADF UIX and Struts

    Does Oracle ADF UIX use Struts components internally? If yes, Does Oracle Support the issues that arises because this internally used Struts components? (I am using Oracle ADF in my application.
    Thanks,
    Aravind.

    DataForwardAction and DataAction are build on top of struts actions to coordinate ADF databindings and it's life cycle;
    UIX, has xmlns:struts="http://xmlns.oracle.com/uix/struts" this XML namespace has some elements like
    <struts:form> and <struts:messageTextInput> also <struts:dataScope>
    They work like struts jsp tag;
    here a good paper;
    http://download-west.oracle.com/otn_hosted_doc/jdeveloper/904preview/uixhelp/uixdevguide/struts.html
    Marcos Ortega
    Brazil

  • Problem Displaying Struts Message - UIX

    Hi,
    I am using UIX, ADF Model and JDeveloper 10.1.2.0.0 (Build 1811)
    I want to display some confirmation messages on a UIX Page -by example: delete successful or user XYZ added-
    I already put the messages using the next code: (overwriting the findForward method)
    ActionMessages messages = new ActionMessages();
    messages.add("feedback", new ActionMessage("tiposdocumentos.message.update.success", val1, val2));
    saveMessages(actionContext.getHttpServletRequest(), messages);
    After that I put a "MessageBox" on the UIX page but I am unable to display the messages...
    Any idea?
    Thanks

    Hello,
    I looked around on this forum, and found 2 posts that hopefully will help.
    Using Struts ActionErrors in UIX
    Re: Displaying Struts messages/errors in 10g
    I'm not sure if you did this or not, but in case you didn't:
    add to your <page> element:
    xmlns:struts="http://xmlns.oracle.com/uix/struts"
    Then use a messageBox like this:
    <struts:dataScope xmlns="http://xmlns.oracle.com/uix/ui"
                                          xmlns:data="http://xmlns.oracle.com/uix/ui">
    <contents>
       <messageBox messageType="error" automatic="true"/>
    </contents>
    </struts:dataScope>Jeanne

  • UIX event handler + struts

    Hi,
    I'm using UIX + struts in jdev10g and im getting problems trying to handle a simple action binding event like the "Next" operation. Below is a short example of what im trying to do.
    Test.uix
    <submitButton text="Next" model="${bindings.Next}" id="Next2" event="next"/>
    <event name="next" source="Next2">
    <invoke method="doIt" javaType="oracle.jbo.uicli.binding.JUCtrlActionBinding"
    instance="${bindings.Next}"/>
    </event>
    testAction.java
    public void onNext(DataActionContext ctx)
    if (ctx.getEventActionBinding() != null)
    ctx.getEventActionBinding().doIt();
    If i run the code above i can see that it executes ctx.getEventActionBinding().doIt(); but the action binding never gets executed, and this efect is the same for other actions like create,previous etc...
    Another thing that calls my attention is that every time i drag a operation from the DataControl Palette the event name is always "action"
    <submitButton text="First" model="${bindings.First}"
    id="First0" event="action"/>
    So how is the correct way to handle events in the UIX + Struts?????
    Please i need a help on this one!!!!!
    Tanks,
    Eduardo M. Sasso

    First of all tanks for the help.
    But what i want to do is to subclass the DataForwardAction for my DataPage and let the struts controller handle the event, just like the documentation says...
    About Event Handling in Applications Using Oracle ADF, UIX, and Struts
    http://helponline.oracle.com/jdeveloper/help?topic=adf_auixadfevents_html
    If i try to do the same thing using jsp it works great...
    This is problem is getting me nuts!!! it looks to me that this problem is very easy to solve but i just cant see the solution....
    tanks again

  • How I can use struts with uix jsp

    Hi,
    I want to use struts with uix jsp but I don't know how to set value of uix tag attribut by struts tag
    example :
    I want to change:
    <uix:globalHeader text="title" >
    by
    <uix:globalHeader>
    <bean:message key="title" arg0="Browse"/>
    </uix:globalHeader>
    N.B: I tried to use the tag <boundAttribute> but doesn't works
    Thanks in advance.

    Hi Ghazouani,
    From your sample code it looks like you are trying to use the Struts <bean:message> to provide internationalized text for the links in your globalHeader component. Couple of comments on this particular issue:
    - You'll need to add a <link> element to your globalHeader for each item that you want to display. So, instead of:
    <uix:globalHeader>
    <bean:message key="title" arg0="Browse"/>
    </uix:globalHeader>
    You'll want something which looks like this:
    <uix:globalHeader>
    <uix:link text="Browse"/>
    </uix:globalHeader>
    - If you want to bind the text for each link to some internationalized value which is pulled from a ResourceBundle, you should use the UIX JSP <bundle> data provider:
    <uix:bundle name="l10n" class="your.Bundle"/>
    <uix:globalHeader>
    <uix:link textBinding="title@l10n"/>
    </uix:globalHeader>
    In general when mixing JSP tags from different tag libraries, you need to be careful that you honor the semantics of each tag library. For example, in this particular case, the <uix:globalHeader> expects to have <uix:link> children - using any arbitrary tag (like <bean:message>) is not necessarily going to produce the desired results.
    As far as general UIX/Struts integration goes, we recommend using uiXML as a view for your Struts application. Check out the "Using uiXML with Struts" section of the UIX Developer's Guide for more info.
    Andy

Maybe you are looking for

  • Unable to Receive the Purchase Order

    Hi Experts, A PO is created with 44 units of a material. the 44 units are divided into 4 batches.When  trying to do the goods receipt, it id not first prompt for any serial numbers. Hence went ahead and did the goods receipt. But could not receive th

  • What happened to Contact Sheets in Adobe Bridge CC

    Can you explain the reason why you can not create a contact sheet in Bridge CC? I know you can select all and bring the files into Photoshop and then create a CS, but this takes up too much RAM. Why did Adobe get rid of the output panel in Bridge CC.

  • Mail for exchange v. 2.09

    Hi all, I have a user with an E71 mobile and we have installed Mfe 2.09 on it. After we syncronized the first time with Outlook / Exchange something strange happened with her contacts. 80% of all contacts lost their phonenumbers ! Name and email were

  • Lightroom 4.4 not recognizing RAW files from supported cameras

    I started to get problems with Lightroom not recognizing RAW files from my Fuji XE-1 and Canon 5D Mark 3 cameras but I thought it was a problem with RC. After downloading some files today in 4.4 without a problem I encountered the same error message

  • I want to create a 3*3 multidimensional array of label objects

    i want to initialize the array with label objects help me