JDev9i: BC4J JSP or UIX JSP?

Hi,
To develop a large JSP application, I read the document to
decide which one to use BC4J JSP or UIX JSP? but still not sure
which one to start. Any command from experienced JSP developer
would be a great help for me. Thanks.

Hello,
Did you look at the section titled "Which Technology Should I
Use?" in the JDeveloper online documentation? It gives a fairly
decent idea on what you can do with the various pieces if
technology that form a part of the UIX framework. Given that you
are planning on building a huge application I am assuming that
you would be interested in a consistent look and feel across the
different pages of your application. UIX lends itself very well
to build such applications very easily. On the other hand if you
wanted to use JSPs, you could still use the UIX JSP tags which
provide JSP tags which are wrappers for the underlying UIX
elements. However, the UIX elements are much richer in terms of
functionality (attributes, etc.)
Hope this helps,
-Kishore
JDev Team

Similar Messages

  • Search/Query Form bc4j-uix-jsp

    Hi:
    Are there any samples of Search/Query jsps using
    bc4j -uix jsps?
    There are some on OTN using html.
    I want to set up a search page that users can select one or more(AND) from about 5 attributes
    of a view and then display approx 6-8 different attributes of that same view.
    Any input would be appreciated.
    Thanks.

    Once you create the Query-by-Form datawebbean, you can modify the templates in the templates\webapp directory by changing all usages of the FindForm bean to use your new DWB. You can also create a new webapp template by copying the existing file and creating a new directory. You can add you new template by modifying the templates\apptemplates.xml. The current entries are:
    <?xml version="1.0"?>
    <APPTEMPLATES>
    <TEMPLATE NAME="default" DIRECTORY="templates/webapp/" USETHEMESELECTION="YES">
    </TEMPLATE>
    <TEMPLATE NAME="Oracle" USEFORMSELECTION="NO" DIRECTORY="templates/cabowebapp/" THEMEDIR="/webapp/jsimages" THEMECSS="/webapp/cabo/images/cabo_styles.css" USETHEMESELECTION="NO" TOOLBARCLASS="oracle.jbo.html.databeans.JSNavigatorBar">
    </TEMPLATE>
    </APPTEMPLATES>

  • UIX-JSP vs. BC4J-JSP wizard based question

    In BC4J-UIX wizard based forms there exists a button to Insert new rows. In the UIX-JSP wizard based forms there is not. Is this an option I overlooked somewhere or does this need to be hand coded? Detailed instructions on how to implemnt the Insert row capability in UIX-JSP are appreciated.
    Ed.

    In BC4J-UIX wizard based forms there exists a button to Insert new rows. In the UIX-JSP wizard based forms there is not. Is this an option I overlooked somewhere or does this need to be hand coded? Detailed instructions on how to implemnt the Insert row capability in UIX-JSP are appreciated.
    Ed. Ed -
    I'm a bit confused by your reference to the BC4J-UIX and UIX-JSP wizards. There is a 'new' link in wizard-generated
    BC4J JSPs and a 'Create' button in wizard-generated UIX JSP browse/edit forms. Is this what you mean?
    Regards,
    Lynn
    Java Tools Team

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

  • 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

  • How to use ShowValue within a UIX/JSP page to display an active link?

    I am storing URL's in the DB and want to display them as active links on a UIX/JSP page. I thought that I had this working some time ago, but now it no longer works.
    Using <bc4juix:RenderValue datasource="ds1" dataitem="myTextField" /> will display "http://www.otn.oracle.com" as an inactive link using UIX/XML which is expected.
    Using <jbo:ShowValue datasource="ds1" dataitem="myTextField" /> will display an active link using if using BC4J/JSP, which is expected.
    However, I have not been able to do this using a UIX/JSP page.
    Is it possible to use ShowValue within a UIX/JSP page to display an active link?
    Thanks,
    Bill G

    Hi Juan,
    I've done the following and it does not work for me;
    --- snip ---
    <uix:form name="form1" method="GET">
    <bc4juix:Table datasource="ds1" >
    <uix:columnHeaderStamp>
    <uix:styledText textBinding="LABEL"/>
    </uix:columnHeaderStamp>
    <%--
    <jbo:AttributeIterate id="dsAttributes" datasource="ds1" hideattributes="UixShowHide">
    <bc4juix:RenderValue datasource="ds1" dataitem="<%=dsAttributes.getName()%>" />
    </jbo:AttributeIterate>
    --%>
    <bc4juix:RenderValue datasource="ds1" dataitem="FacilityDesc" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationId" />
    <bc4juix:RenderValue datasource="ds1" dataitem="LocationDesc" />
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    <%-- ** THE FOLLOWING DOES NOT DISPLAY ON THE BROWSE_EDIT_PAGE ** --%>
    <uix:contents>
    <uix:rawText>
    <jbo:ShowValue datasource="ds1" dataitem="Notes" ></jbo:ShowValue>
    </uix:rawText>
    </uix:contents>
    --- snip ---
    Bill G...

  • How to display a message box in a UIX JSP page?

    I've a UIX JSP Application with BC4J developed with JDeveloper RC.
    The problem is that when the user mistakes in the insertion/updating, I'd like to help him displaying a message box or a modal dialog window.
    In particular, I've the following code:
    <%@ page errorPage="errorpage.jsp" contentType="text/html;charset=WINDOWS-1252"%>
    <%@ taglib uri="/webapp/DataTags.tld" prefix="jbo" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui" prefix="uix" %>
    <%@ taglib uri="http://xmlns.oracle.com/uix/ui/bc4j" prefix="bc4juix" %>
    <%@ page import="oracle.jbo.JboException" %>
    <%@ page import="CdssPackage.*" %>
    <%-- Define Application Module and DataSource--%>
    <%-- Define Application Module and DataSource--%>
    <jbo:ApplicationModule configname="CdssPackage.CdssPackageModule.CdssPackageModuleLocal" id="app1" username="scott" password="tiger" releasemode="Stateful" />
    <%
    //Check the mandatory fields are not null
    if ((cod_comm.compareTo("")==0) || (nome_ruolo.compareTo("")==0)){
    throw new JboException(Errors.ERR_REQUIRED_FIELD);
    //Now, the errorpage.jsp is displayed, while I'd like to display a message box or a modal dialog window
    %>
    How can I do it?
    Thanks in advance.

    Michele-
    You can use javascript to send a message window in the http protocol.
    Hope this helps,
    Lynn
    Java Tools Team

  • Master-Detail in UIX-JSP

    Hi:
    How can i do a master-detail in UIX-JSP similar in functionality BC4J-JSP?. I haven't found an HOW-TO or guide.
    Thanks
    Marco

    Yes this is easily done.
    If you have a BC4J project with say Emp and Dept View Objects which are linked via
    a foreign key (there should be a BC4J FKDeptnoLink created), then all you have to do
    is generate a BC4J UIX JSP application.
    In a separate empty project, open the New gallery and select UIX-JSP -> Business Components JSP Application.
    Generate a default JSP application for your BC4J components. You can then run main.jsp
    to see the app.
    To see a master detail view of your app which is based on the Bc4J Link (FKDeptno) just click
    on link "FkDeptnoLink" on the left side..
    -Chris

  • ToolTips of fields in UIX JSP

    Hi All,
    We are using UIX JSP.
    We need to put tooltips to the fields getting displayed in our pages. We put the text we want as the tip in the
    'ToolTip Text' box in the 'ContrloHint' tab of the
    Edit Attribute window.(Using the Structure Panel)
    We did it for both the entity object and view object without success. Then we found in the 'Help' that it is
    not supported in UIX JSP. I am quoting the following paragraph from the 'Help' in JDev.
    "The following table lists the control hints and whether the various Business Components clients pick them up.
    Hint BC4J Data Tags BC4J UIX Tags JClient JavaUI
    LabelText yes yes yes
    Tooltip yes no yes "
    If it is not supported with UIX JSP, is there any workaround?
    Thanks in Advance
    Indica

    see the thread
    ToolTips of fields in UIX JSP

  • Error running uix jsp application

    Hi All
    I have created a bc4j/UIX JSP application. When i try to run the main.jsp file on the local host the application doesn't launch. I see the following message
    in the OC4J window
    Please help
    Regards
    Preet y Agarwal
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Auto-unpacking C:\oracle\ora91\jdev\system\oc4j-config\applications\bc4j.ear... done.
    Auto-unpacking C:\oracle\ora91\jdev\system\oc4j-config\applications\bc4j\webapp.war... done.
    Auto-unpacking C:\oracle\ora91\jdev\system\oc4j-config\applications\bc4j\cabo.war... done.
    Auto-deploying bc4j (New server version detected)...
    Auto-deploying file:/C:/oracle/ora91/jdev/system/oc4j-config/default-web-app/ (New server version detected)...
    Auto-deploying file:/C:/oracle/ora91/jdev/system/oc4j-config/applications/bc4j/cabo/ (New server version detected)...
    Auto-deploying file:/C:/oracle/ora91/jdev/system/oc4j-config/applications/bc4j/webapp/ (New server version detected)...
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    Process exited.
    C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Process exited.
    C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Process exited.
    C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    ApplicationServer: appName = bc4j
    ApplicationServer: appName = current-workspace-app
    Process exited.
    C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized
    Process exited.
    C:\oracle\ora91\jdk\bin\javaw.exe -ojvm -classpath C:\oracle\ora91\j2ee\home\oc4j.jar -Dhttp.proxyHost=proxy.monash.edu.au -Dhttp.proxyPort=8080 com.evermind.server.OC4JServer -config C:\oracle\ora91\jdev\system\oc4j-config\server.xml
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    [waiting for the server to complete its initialization...]
    Oracle9iAS (9.0.2.0.0) Containers for J2EE initialized

    It may be caused by that your browser lauched before the OC4J server initialized.
    You can wait a moment till the OC4J server initialized then lauch your browser again.
    James Li

  • How to using the script tag in uix/jsp?

    Do i have to write in uix/jsp:
    <uix:rawText>
    <script type="text/javascript">
    function doCheckForm()
    </script>
    </uix:rawText>
    Or exists another tag that handles the javascripts without the "rawText" script?
    Marc

    If you are declaring a function, you dont need to add it under the rawText tag. It can be added with a simple script tag at the top of the page.

  • Change language (uix jsp)

    How can I change language in uix jsp application? I want labels like NEXT, PREVIOUS,... in language otjer than US!

    Hello, I have a similar problem, but in JSF application and the mine is more frustrating. When I put my language (catalan) in the locate configuration int faces-config like this:
    <application>
    <locale-config>
    <default-locale>ca</default-locale>
    </locale-config>
    <default-render-kit-id>oracle.adf.core</default-render-kit-id>
    <message-bundle>missatgesADF</message-bundle>
    </application>
    the application appears in english instead of catalan. In spide of exist a class called BLAFBundle_ca wich contains the needed texts in catalan for show the ADF components, I coulden't do work. When I put "es_ES" instead of "ca" the components are showed in spanish correctly, and if I put "de" is showed in deutch correctly.
    I decided decompile the class MessageBundle_es_ES from adf-faces-api.jar, put it in my source project without change its package. I modified a validation message and it worked. I decide the same for change the ADF components literals ("expand all", "select all", "next"...) and I found it in BLAFBundle_es_ES, I found it in adf-faces-impl.jar and in uix2.jar (this last not used in my project). I do the same steps with the previous file, but doesn't works !!!

  • Help converting UIX JSP functionality to UIX

    I have an older UIX JSP page that I am trying to convert to UIX. That page contained a table with a singleSelection node and a Print button. When the Print button is pressed, a value is taken from the selected row in the table and sent as a parameter to Oracle Reports. The code that did this in UIX JSP is:
    <jbo:OnEvent name="Print">
    <% if(sSelected != null)
    errmsg = null;
    errtype = null;
    %>
    <jbo:Row id="MPORow1"
    datasource="MPOOrders"
    action="Find"
    rowkey="<%= sKey %>" />
    <%
    Row MPOCurRow1 = MPOOrders.getRowSet().getCurrentRow();
    if (MPOCurRow1 != null)
    String ordnum = (String) MPOCurRow1.getAttribute("Ordnum").toString();
    String mailer = (String)((Integer) session.getAttribute("loginCustomer")).toString();
    String printURL = "https://<myserver>/reports/rwservlet?destype=cache+desformat=PDF+userid=webuser/webpwd@pas+report=mlrjobstatus.rdf+p_mailer=" + mailer + "+p_jobnum=" + ordnum;
    response.sendRedirect(response.encodeRedirectURL(printURL));
    else
    errtype = "error";
    errmsg = "You must select a row prior to clicking on the 'Print Lists' button";
    %>
    </jbo:OnEvent>
    How can I do this same thing in UIX/Struts? Can it be done as a UIX handler or do I need a custom DataAction?

    Hi Eric,
    Please take a look at the UIX Table chapter. It talks about single-selection in UIX and how you can add buttons which when clicked will submit events to the server. It also talks about how you can handle those events.
    Here is a code snippet from the documentation regarding the event handler:
    public static EventResult doSelectionEvent(BajaContext bc, Page page,
                                               PageEvent event)
      DataObject tableRows = new PageEventFlattenedDataSet(event, "table1");
      int index = SelectionUtils.getSelectedIndex(tableRows);
      String name = "Nothing Selected";
      // make sure that something was selected:
      if (index>=0)
        DataObject row = _TABLE_DATA.getItem(index);
        name = row.selectValue(null, "name").toString();
      EventResult result = new EventResult(page);
      result.setProperty("action", event.getName());
      result.setProperty("name", name);
      return result;
    }Thanks,
    Jeanne

  • UIX/JSP: bug of the tag uix:tabBar

    Please, can someone comment on the following behavior of the tag <uix:tabBar>:
    The UIX/JSP tag <uix:tabBar> is commonly used together with the <uix:link>.
    I cannot make the last one work in a more complex way but just using its attribute 'destination'.
    For example, the tag <uix:link> has an attribute 'onClick' but it fails to work within the tag <uix:tabBar>. So in this example:
    <uix:tabs>
    <uix:tabBar >
    <uix:link text="alert" onClick="alert('Test alert');" />
    <uix:link text="Main" destination="UixEdit1.jsp />
    </uix:tabBar>
    </uix:tabs>
    The link 'alert' is visible but doesn't work.
    Maybe this should be solved by wrapping <uix:link> in something...

    Yes, Juan it works fine outside the TabBar.
    But, Adam it's not quite clear to me what you mean by the "javascript URLs".
    The one thing I want is to make a row editing form divided into 2 tabs (instead of the one, generated by the wizard). So I have do form updates on the event "moving to other tab". Can you advise, how I can put any javascript inside the <tabBar>?
    Thank you.

  • Table on UIX/JSP Jdev10G

    Hi!!
    How can i build a uix/jsp table on Jdev10G without bc4juix:table .
    I need a table based on EmpVO with detail disclosure, but examples that i found it's with jbo, and haven't uix design...
    Tnx

    Hi Eliseu,
    In the JDeveloper 10g preview the JSP visual editor does not have any built in support for the UIX/JSP tag library to allow drag and drop from the Data Control palette.
    Have you tried to build your page using UIX XML, which is the preferred way?
    Thanks,
    Jonas
    JDeveloper Team

Maybe you are looking for

  • Win 7 on MacBook pro under bootcamp and USB to serial

    Hi all, I am planning running win 7 under bootcamp on my macbook pro with mountain lion 10.8.2. There is only one program I want to run under windows and that program needs to use a USB to serial converter made by KeySpan. Question is once win 7 is i

  • Bluetooth module no longer recognised in Mac Pro

    My Mac Pro's been doing some strange things recently. A couple of days ago I noticed things were running very slowly, just moving windows about they would jerk and jitter. Tried hardware test, disk utility etc but no problems found. I then unplugged

  • Updated OS now my CS4 will not open.

    I just updated my OS and now my Creative Suite CS4 will not open. I get a dialog box that says licensing for this product has a stopped working.

  • Requisition number not sortable in sourcing

    Hi, We are on SRM 7.1 ECS(upgraded from SRM 5) The issue we are facing is that the column "REQUISITION/ITEM NO" is not sortable in Sourcing Cockkpit.All other columns are sortable in sourcing transaction. In our current production system SRM 5,we hav

  • Flashcs5  error.16

    flashcs5 Pro trial version does not work error. 16 gives the message that this is the reason you do to help? Respectfully