UIX XML or databound JSPs?

UIX XML has a significant learning curve. Given a medium size enterprise wide intranet app, wouldn't it be easier/better to just develop it using databound JSP's?
Also, we are currently using JDeveloper 9.0.3. What architecture would be easier to migrate when upgrading to 10g. JSPs/BC4J or UIX XML w/BC4J ?

I assume that you are referring to the UIX XML and UIX JSP tags when you say "... wouldn't it be easier/better to just develop it using databound JSP's?". I do not recommend the use of the UIX JSP tags to create an application. We are trying to de-emphasize the usage of these tags, reason being the comming JSF standard and that we will not be able to migrate applications developed with JSP and the UIX JSP tags.
There should not be any changes to your application (JSP or UIX XML) moving to 10g, but you will not be migrated to use the new model binding available in 10g.
Thx
- Jonas

Similar Messages

  • HTML Rendering works on UIX-JSP but not UIX-XML or BC4J-JSP

    I built a "custom" renderer following the HOW TO document for HTML rendering. I made a "Drop Down" list that works in a test UIX-JSP application. When I try to attach the DynamicListInputField class to a project created under UIX-XML or BC4-JSP the rendereing does not take affect. No errors, the application runs fine, just no rendereing.
    I made all three projects from the same VO's and the same DynamicListInputField.java. The three projects were Wizard Based and created with:
    "Business Componets UIX XML Application" from the UIX XML Category
    "Business Componets JSP Application" from the UIX JSP Category
    "Business Componets JSP Application" from the BC4J JSP Category
    What is wrong?
    TIA,
    Ed.

    What error you are getting...please provide error details.
    It is working fine for me.
    Rgds
    Bala Murali

  • Sample UIX XML requested for standard functionality

    I am learning UIX XML.
    Using scott's emp and dept tables, I have used the wizards to generate a UIX XML application using BC4J.
    I would like to enhance the generated UIX XML.
    For example...
    1. The UIX XML pages that allow inserts/updates to the EMP view object. I would like to have a LOV on the dept_no field so user can use this. Typically any foreign key field to have a LOV with a lookup on the master table.
    2. Also I am having some difficulty with radio groups, list items etc that are based on hardcoded values or data in the database. Have you any complete example code. The on-line documentation shows examples but not the whole code working together. Have you got a complete sample app that shows these features?
    3. Have you any UIX XML examples that use FORMS containing text input items, lists, radio groups etc that ARE NOT based on BC4J...then have the event logic access BC4J and do the inserts/updates.
    Thanks,
    Paul.

    Paul,
    Like you I have been learing using the scott schema.
    I too have struggled with this LOV issue in UIX-XML and UIX-JSP and BC4J-JSP. UIX-JSP can allow for a drop down list based upon custom properties in the VO and a "custom" Java class. The HOW-TO Page has an excellent example that when followed (with some tweaks to get what I wanted) the drop down list worked. I know it's not an LOV (like in Forms) but for small FK lookups drop down lists seem to be the requests of most users. But these drop down lists will not happen in UIX-XML or BC4J-JSP. Seems aierd to me but hey, I'm just learning too.
    My point is that I too have asked question after question on this forum about UIX-XML or about implementing fearures of UIX-XML in other frameworks (like coulmn sorting) and have gotten zero helpful repsonses. There were some comments about how 9.0.3 would soleve some of these issues, but no one seems to be able to explain a way to show a "broken" example so that I will be elated when 9.0.3 comes out and works.
    If you get an answer or some helpful pointers pelase forward them to me at [email protected]
    And I apologize for making your heart get all a flutter when you saw the reply count grow by "1" only to find that it's just another loser who can't make the simple things in this IDE work.
    Ed.

  • Which Web Client Framework? BC4J-JSP, UIX-JSP, UIX-XML, etc

    Trying to determine which, if any of the JDeveloper frameworks, to use for do web browser (HTML) clients.
    What are the pros/cons of BC4J-JSP, UIX-JSP, UIX-XML, etc?
    What are some common things you might rule out using one or more of the frameworks?
    I plan to be using BC4J, updating, inserting data (currently MS-SQL) and the apps will run on WebLogic 7 or Caucho Resin (webapps no EJB) in a cluster. I would like to be as RAD as possible and still be able to do what I need to do. One main concern is being able to add custom HTML/JavaScript for things like client side validation. I didn't see a way to do this when doing BC4J-JSP. Is that right?
    If I define any validation in the BC4J, will UIX utilized any of this to define a JavaScript validator or must it be redudantly defined?
    One other concern is what the framework requires in terms of architecture, like do I have to have sticky sessions in my web cluster or can it work fine stateless or stateful?
    For UIX-XML, how is this architected for performance? Specifically, is the XML effectively compiled and converted into something more efficient and performant or does it do XML parsing all the time? Is there any significant performance differences between the frameworks?
    Is there any significant difference in dealing with security? Anything in the framework to make it easier to handle certain users being able to see/edit different set of data?
    I have things like some groups can edit only certain entities (product info but not pricing), others only certain types of products (possibly subclass entities) and others situations where what fields than can edit varies. Obviously I can handle this programmatically, but I was wondering what the frameworks had to offer, especially in terms of having different views of the same data.
    Steve

    ...I am little confused then about how BC4J works and what is meant by "session" here.
    When you talk about appmodules in the plural, does this mean that there are potentially multiple instances of the same data on a single server or there is a common datastore with pending data and client specific stuff varying?
    The common datastore is the database. Each client (momentarily, during the span of their request) uses an instance of an application module from the pool. The pool can grow and shrink with load on your system and all of the various tuning parameters. Our doc on the AM Pool covers all the parameter settings and their users.
    What kind of "session" is this?
    It is an abstract notion of a session for a user. The implementation used for Web clients uses the HTTP Session Key as the session key. However, we have other session implementations (and you can provide your own to do custom stuff for more sophisticated needs). We don't store anything else in the HTTP Session to the best of my knowledge. This way in a cluster, the web container doesn't have to waste time propagating all of your serialized HTTP Session state among cluster members. This session key also include an id for the application module and together those provide the key to store your pending state in the database for the "Stateful == Managed State" feature.
    I assume that if I have a cluster which doesn't use session-to-same-server-affinity but uses JDBC for http-session persistance or distributed in-memory http-sessions then I cannot use stateful BC4J even though I can use http-sessions.
    You can use BC4J in this way because the browser will send a cookie that contains the key to your database-stored pending state. In this way, we work great in a server farm for failover and/or scalability reasons.
    Even if I use stateless BC4J, are there issues with round-robin'ng all requests to different servers in a cluster?
    As I said, both our Stateless and Stateful features are designed to be used in Server farms, no problem.
    BTW I wouldn't necessarily say you picked the wrongs terms for the modes, but I know what you mean. There's problems with these terms. I am trying to explain to my mgrs/engineers that there is some state in stateless transactions - that simply making everything "stateless" doesn't mean don't lose anything in a disastrous failure. I am arguing to get support for sessions in our cluster, that the performance gain and simplified development is worth it as long as you put intelligent limits on what you store in the session. Right now, they are insisting on randomly sending requests into two entirely different data centers, with two different clusters.
    Amen. I have seen too many developers make the mistake of trying to be totally stateless, only to completely complicate their development environment with having to peristent partially-completed transaction data to the database. I've seen this done with sets of "Shadow" tables (yuck!) or using hand-written techniques similar to what BC4J provides a robust implementation of in the box.
    We've tuned our "Stateless With Affinity for Server Farms" model over several releases of carefully studying the performance of the Web apps built by our internal Oracle Applications teams using BC4J (over 20 of them now, and growing!) so compared with a hand-written strategy for your web-tier state management, using BC4J's implementation will be much more productive for you.
    We're tuning and tweaking and enhancing it even more for the 9.0.3 release as new needs are highlighted with continued use by our customers (both Oracle internal and external).

  • UIX XML databound lookupvalues in comboboxes

    Is it possible in UIX XML to retrieve the options of a combobox (see below) from a dataObjectList?
    Example:
    <list multiple="false" size="1" >
    <contents>
    <option text="Option 1" value="opt1"/>
    <option text="Option 2" value="opt2"/>
    <option text="Option 3" value="opt3"/>
    <option text="Option 4" value="opt4"/>
    </contents>
    </list>
    I think it's quite important to be able to retrieve the text and value attributes of the options from a DataObjectList similar to a table, but I didn't find anything about that in the documentation.

    Thanks Ian, You're right that works fine.
    BUT one other problem: The databinding of the list's selectedValue doesn't work. I tried the following:
    <list multiple="false" size="1" data:selectedValue="isid@fti:issue" name="isidContext">
    <contents data:childData="IssueIDContext@fti:domValues">
    <option data:text="text" data:value="value"/>
    </contents>
    </list>
    But initially the combobox always shows the first option. However when I tried selectedValue="value" the statement works as expected.
    Any idea what i do wrong?

  • How can I render an active link (yrl) within a UIX/XML page

    How can I render an active link (url) within a UIX/XML page.
    How can I get <jbo:ShowValue> to work in UIX/XML, or is there another way?
    Bill G...

    It may seem strange, but the <contents> of <rawText> aren't actually
    raw - it's only the "text" attribute that's raw. (It seems strange because
    it is. Ah well.) This is different from UIX JSP.
    So, try something like the following:
    <bc4j:attrScope name="Notes">
    <contents>
    <rawText text="&lt;a href=&quot;"/>
    <rawText>
    <boundAttribute name="text">
    <bc4j:attrProperty name="value"/>
    </boundAttribute>
    </rawText text="&quot;&gt;"/>
    Some text in the link.
    <rawText text="&lt;/a&gt;"/>
    </contents>
    <bc4j:attrScope>
    Thankfully, this will be much simpler in 9.0.3, when the following
    will work:
    <link text="Whatever you want">
    <boundAttribute name="destination">
    <bc4j:attrValue name="Notes"/>
    </boundAttribute>
    </link>

  • UIX-XML

    Hello everyone,
    I'm fairly new to UIX-XML and I have several questions about it.
    First:
    I am creating a test project to try out UIX-XML. I wanted to place all the UIX files in a subdirectory within public html. When I try to run the application, the container claims that it can't find the file. But when I put the UIX files directly in public html, it runs fine. Isn't it possible to put UIX files in a subdirectory within public html?
    Second:
    After studying the tutorial about UIX-XML I know that you can create UIX-XML output just with java code. I assume that all the code should be placed in .java file. My problem is how I can use it to get the output of the .java file. Should I just create a JSP page and implement the .java file or is there another way?
    third:
    Can someone give me some good resources for more information about UIX-XML? I am having troubles to find good documentation about it.
    Can someone please help me with these problems?
    thanks a lot.
    john

    First:
    I am creating a test project to try out UIX-XML. I wanted to place all the UIX files in a subdirectory within public html. When I try to run the application, the container claims that it can't find the file. But when I put the UIX files directly in public html, it runs fine. Isn't it possible to put UIX files in a subdirectory within public html? Which version of JDEV are you using? I had no trouble putting a uix file in a sub directory under public html and running
    in either 902 or 903 preview.
    Second:
    After studying the tutorial about UIX-XML I know that you can create UIX-XML output just with java code. I assume that all the code should be placed in .java file. My problem is how I can use it to get the output of the .java file. Should I just create a JSP page and implement the .java file or is there another way?I am a little confused by your question. I think you mean how do you create a UINode tree and then render it to html.
    Is that what you mean? Have you read the UIX Developer's Guide in the JDev help? There is a section
    in UIX Basics about creating pages in uix that you might want to read.
    third:
    Can someone give me some good resources for more information about UIX-XML? I am having troubles to find good documentation about it.Again the best source of information is the UIX Developer's guide and reference in the help topics. Hopefully soon
    we will post some jdev sample projects with some demos that we have internally.

  • Uix-xml translated in java

    Hi everyone,
    I am having a little problem to code uix-xml in normal javacodes. I can built a normal tree with javacode and render it in a jsp file. Now I am trying to translate this:
    <ui:cellFormat>
    <ui:contents>
    <ui:include ctrl:node="defaultLayout" /> (defaultLayout is another uix file)
    </ui:contents>
    </ui:cellFormat>
    According to the tutorial and the javadocs, this should work:
    cellNode.setIndexedNodeList( new IncludeUINodeList() );
    IncludeBean include = new IncludeBean ();
    cellNode.addIndexedChild (include);
    But the includeBean still doesn't know that he should include "defaultLayout". Can someone please tell me how I can tell the includeBean, what to include? I really need a simple and precise example, please.....
    thx.
    John

    Try calling IncludeBean.setNode() to set the UINode to be "included".

  • Control-Hints are suppose work with UIX/XML, right?

    Control-Hints are suppose work with UIX/XML, right?
    I've added some control hints and they worked correctly when viewed using UIX/JSP pages. However, none of the Control-Hints appear on UIX/XML pages.
    The documentation suggests that this should work. Am I wrong?
    Bill G...

    There's a bit of confusion here (which is entirely our fault).
    UIX JSP is a subset of UIX XML (almost entirely; a few tags in
    UIX JSP simply wouldn't make sense in UIX XML, like <uix:buildTree>).
    However, BC4J UIX JSP is not a subset of BC4J UIX XML; the two
    are essentially entirely different libraries. (Any JSP tag that
    starts with <bc4juix:> counts as a "BC4J UIX JSP" tag.) I agree
    that this is confusing.
    As far as control hints go: BC4J UIX XML does not currently
    support control hints. It does offer more than enough flexibility
    to tweak all the dials and knobs made available by control hints (and
    a lot more).

  • Jdev Team - Frustrated with Simple UIX-XML test case

    Why can't I get a simple UIX-XML test case to run? Better still why can't I get a response as to why it won't run? This is my second attempt at a post as the other was just left hanging. Iwas asked for more info, I provided it and that ended that.
    Again, I created a workspace. Used the scott schema and created a project with a set of VO's (and took the ALL defaults). I have created a UIX-JSP and BC4J-JSP projects that both run fine (taking all the defaults). In that same workspace without any modifications to the VO's I created a UIX-XML project. The main menu runs fine. None of the forms will run. I get the following error if I choose ANY form from the menu or I get the same error if I just run any form from Jdeveloper (except main.uix of course):
    Servlet error: Renderer failed: java.lang.ArrayIndexOutOfBoundsException: -10
    What is happening? Why cant I get this to run. Is this a failed technology? I can't seem to find any working UIX samples.
    TIA,
    Ed.
    PS. A footnote: * It seems if you don't get an answer from the Jdev team inside of two days your post is toast (unless it's a rant in which case everyone seems to jump on the band wagon). :-) :-) :-) ;-)

    Hmmmmm...... did I mention I was on Internet Explorer 6.0.2600.0000 ? Probably does not matter.
    Also, although I loaded the full 9i Developer suite, I also loaded (in a seperate directory), Sun's J2DKSE 1.3.1_03 and J2DKEE 1.3.1 and have the following local environment variables set:
    JAVA_HOME = d:\java\j2sdk
    JDK_HOME = d:\java\j2sdk
    J2EE_HOME = d:\java\j2sdkee
    JDEV_HOME = d:\oracle\9iDS\jdev
    Are any of these redundant or are they clobbering something for UIX-XML?
    TIA,
    Ed.

  • Problems with UIX-XML

    We are trying to use the UIX XML framework, but we have some problems:
    1)     We need to show the content of an uploaded file such as PDF, Word, Excel and other multimedia content.
    2)     We need to process the changes on a bc4j table with editable fields (we can read the values, but when we try to update the view object, an error occurs saying that the value is not serializable).
    3)     We need to load the shuttle component with data coming from a bc4j view object and to process the changes on that component (like the order of data).
    4)     We need to use bc4j uix tags in UIX templates.
    5)     We need to read the custom properties of view or entity object.
    TIA

    Renzo,
    I've read that 9.03 is suppost to have UIX/XML-interMedia support (any JDev guys want to confirm that).
    I've has this same issue and had to revert to BC4J-JSP for the interMedia stuff. That said, to get the UIX look, I was able to wrap that up inside of UIX-JSP pages using <rawText> and it work.
    Bill G...
    BTW - What part of Italia are located in?

  • UIX XML test did not work

    I created a sample project based on the Scott Schema for BC4J Business Objects.
    I then created sample projects for:
    BC4J JSP
    UIX JSP
    UIX XML
    When I run the BC4J LSP and UIX JSP projects the main menus open and I can browse, edit and update all of the scott tables.
    However when I run the UIX XML project, the main menu comes up but if I select ANY view to work with I get the following error.
    Servlet error: Renderer failed: java.lang.ArrayIndexOutOfBoundsException: -10
    What coulbe wrong?

    To confirm, you say that the files generated okay, and you were able
    to run Main.uix and see it in your browser correctly, but clicking on the
    link to the view object generated a Renderer failed exception in the browser.
    Is this correct?
    What customizations have you made to your View object (or is it simply
    as the wizard generated it)? Can you look at the log window in jdev
    (or your OC4J servlet log) to see if there is additional debugging
    information available? Yes the files generated and compiled ok. I can see the main menu in my browser.
    The UIX-XML project was created using the wizard generated VO's. No customizations were made at all.
    The Embedded OC4J Server messages window in Jdev shows no errors. The Messages window shows no errors.
    FYI, this is on an NT machine that has the full install of Jdeveloper9iDS (Jdev, Forms 9i, Designer, SCM etc.) not just Jdev9i. I'd hope this does not matter but thought I'd mention it. No other Jdev windows (Forms 9i etc.) are up when I run this test.
    TIA,
    Ed.

  • UIX/XML and BC4J -- practical???

    Has anyone actually used UIX/XML and BC4J to develop a "real" application? The majority of the examples in the help screens use jsp's, yet the comparisons I've read in the help screens seem to indicate that XML is more flexible.
    UIX/XML seems like such a clever concept, I like the idea, but it's getting the best of me. Should I jump ship now?
    Any comments please!
    js

    Examples are definitely what's needed and I put my request for a full blown MVC application using UIX/XML (without BC4J in my case) to Adam a while ago which was forwarded to the 'management'. Hopefully something will come from this soon. I agree with Janet that UIX is a great concept (don't jump ship yet!) and it should save us so much work but that real world examples would surely help us all. No disrespect, Juan, but you regularly respond to people's questions with 'Have you read the UIX developer's guide provided in the documentation' - we've all read the documentation many times, if only it were that simple! I'm sure it's easier for someone inside Oracle to get the answers they need whereas we on the 'outside' have to rely on this forum for now which is a struggle.
    Bill's idea of illustrations would be great, though I'd like to see the examples relate to the sample screens show on the BLAF standards website. I only found out about the BLAF website accidentally through this forum. The UIX Developer's Guide should explicity reference this as I've found it extremely useful.
    Ed,
    The UIX Developer's Guide is in the JDeveloper Help.

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

  • How to read an attribute of an xml tag in jsp.

    hi guys,
    This is murali krishna. i have a small problem,
    i have one xml file (books.xml)
    <?xml version="1.0" encoding="iso-8859-1"?>
    <library>
    <book id="1">
    <name>Head First Java, 2nd Edition</name>
    <author>Kathy Sierra and Bert Bates</author>
    <publication-date>09-Feb-2005</publication-date>
    </book>
    <book id="2">
    <name>Effective Java</name>
    <author>Joshua Bloch</author>
    <publication-date>28-May-2008</publication-date>
    </book>
    <book id="3">
    <name>Java How to Program, 7th Edition</name>
    <author>Harvey M. Deitel and Paul J. Deitel</author>
    <publication-date>6-Jan-2007</publication-date>
    </book>
    </library>
    I tried to read this xml file in jsp as shown below
    <%@ page language="java" %>
    <%@ page import="org.w3c.dom.*" %>
    <%@ page import="javax.xml.parsers.DocumentBuilder" %>
    <%@ page import="javax.xml.parsers.DocumentBuilderFactory" %>
    <%
    DocumentBuilderFactory dbf=DocumentBuilderFactory.newInstance();
    DocumentBuilder db =dbf.newDocumentBuilder();
    Document doc=db.parse("c:\\books.xml");
    NodeList nl = doc.getElementsByTagName("book");
    %>
    <html>
    <head>
    <title>How to read XML file in JAVA</title>
    </head>
    <body>
    <%
    for(int i=0;i<nl.getLength();i++)
    NodeList nameNlc= doc.getElementsByTagName("name");
    Element nameElements=(Element)nameNlc.item(i);
    String nameTagValue=nameElements.getChildNodes().item(0).getNodeValue();
    NodeList authorNlc= doc.getElementsByTagName("author");
    Element authorElements=(Element)authorNlc.item(i);
    String authorTagValue=authorElements.getChildNodes().item(0).getNodeValue();
    NodeList dateNlc= doc.getElementsByTagName("publication-date");
    Element dateElements=(Element)dateNlc.item(i);
    String dateTagValue=dateElements.getChildNodes().item(0).getNodeValue();
    out.println("name :"+nameTagValue+"<br>");
    out.println("author :"+authorTagValue+"<br>");
    out.println("publication-date :"+dateTagValue+"<br><br>");
    %>
    </body>
    </html>
    so, my problem is I was unable to read the attribute of the tag book , that is "id".
    can any one tell me how to read this "id" attribute.
    Murali Krishna
    [email protected]

    hi,
    U r retriving the elements by tag name.So it just chks the tag name ie.<book> & gives u array of elements.But u need retrive d attribute of <book> tag itself.
    =Solution =====
    Add one more statement ----> var[]= doc.getElementsByName("book");
    Now u hav book elements as an array & can retrive id in for loop
    for(var; var.length;var++)
    doc.element[var].id.value

Maybe you are looking for

  • Windows 8.1 standad (not-Pro/Enterprise) x86 and x64 bit client support

    Can someone from the team please clarify if Windows 8.1 standard (not pro/ent) x86 and x64 computers are supported as full Intune computers? I want my small business customers who have BYOD (home computers) that have Windows 8.1 standard (NOT RT) be

  • Printed colour is different between two elements both created in pages with the same colour

    Hi There, I have been having some issues getting a text colour to match a logo (imported in pdf format) - While trying to discover what was happening I created a sample colour of (HSB 189 / 89 / 73) in pages and saved it in my colours palette to test

  • Operating a SG200-08 switch with case removed.

    I am going to be putting an SG200-08 (8 port switch) inside a 2U rackmount chassis. To enhance cooling I thought I would remove the outer case. Are there, or would there be any issues with using the switch with the cover removed? Thanks Glen

  • Reg.Initially post the stock in quality

    HI i want to post the stocks directly in quality.how its possible if i use MB1C-563 mvt.system shows error "Change the inspection stock of material FT1611R1 in QM only" Pl give me some ides to post the stock in quality thanks selva

  • Central Instance in a Windows2008 MSCS with Oracle

    Hello, I have just finished the installation of a SAP Solution Manager with MSCS on Windows2008 and Oracle. This is my first MSCS, so I'm a little bit confused. I think almost all the things work right except the central instance. i explain: I have t