Javaserver Faces using JDeveloper (10.1.3) tutorial problem

Trying to complete the above tutorial but in the "Creating a conditional navigation" when I try to run I get an error on Login.java
Error(81,7): identifier FacesContext not found
Error(81,62): FacesMessage not found in class view.backing.Login
The code assist of the Login.java indicates that
import javax.faces.context.FacesContext
is required to expose the classe, properties and methods of FacesContext.
I could simply press ALT-Enter and fix but I want to know what I have done wrong when creating the login.jsp
There is also some errdata in the tutorial where the commandButton1_action() on the [Hello Me] command button on login.jsp has incorrect return "success" in the screenshots and has the correct return "hello" in the text.

identifier FacesContext not found
A reference is included to FacesContext without importing javax.faces.context.FacesContext.

Similar Messages

  • JDeveloper BC4J Programmatic Client Tutorial Problem

    I have searched everywhere, but cannot find a correct working solution for this problem.
    Description:
    I am running the tutorials found under:
    Help Menu -> Help Topics -> Tutorial
    I can get several tutorials to work, but I am stuck on the tutorial titled:
    "Business Components Programmatic Client Tutorial".
    The BC4J Standalone Client tutorial is giving me this error after completing Step 3:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /OnlineOrders/common/bc4j.xcfg in the classpath
    There is no information regarding how to correctly configure the classpath or fix this problem.
    I am using JDeveloper 9i RUP7 at the Oracle Support site Knowledgebase 416708.1 for Release 11i:
    https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=8751878
    My OS is Windows XP
    How can this this be resolved, so that I can successfully create a BC4J client in JDeveloper?
    Thanks in advance for any help
    Edited by: user8115477 on Apr 26, 2010 7:28 AM

    Thanks for clarifying that the package should have multiple names / hierarchy.
    I encountered the problem because the JDeveloper9i BC4J tutorial suggested one-level name.
    Eventually, I made changes similar to what you suggested, and now I can get the program tutorial to work.
    I was able to get the tutorial running by manually changing the package name as below:
    Tutorial Suggests:
    "OnlineOrders"
    What I did:
    Gotta have two-levels deep, so I entered "OnlineOrders.bc4j" instead.
    Then, I replaced all instances of "OnlineOrders" with "OnlineOrders.bc4j"
    This includes updating the code that must be copy-pasted into the Batch Client.
    Update all calls of "OnlineOrders.appName" to "OnlineOrders.bc4j.appName" etc... etc...
    I will mark this item as answered, since my OP question was answered.

  • Tutorial without using JDeveloper Wizard!

    Hello,
    Does anybody here know any link of ADF Faces/BC tutorial without using JDeveloper Wizard! Manual coding of pagedefs, and manipulating view objects thru backing beans... Our project is quite complex and the tutorials from the Oracle website is quite dependent on wizards... And it is 50% not suitable to our project's requirements.
    Thanks.

    Hi,
    there is no end-to-end tutorial I am aware of. I would however discourage "manipulating view objects thru backing beans" directly and instead always go through the ADF binding layer.
    Note that building databindings in the pageDef file is pretty straight forward. First you need to selecte the JSF page you want t build a pageDef file for and choose "go to pageDefinition" from the context menu.
    This will crate a pagedef file. The next step is to create the bindings and executable section, again using the context menu on the pageDef file in the Structure Window.
    In the binding section, use the context menu to create list -, attribute -, table bindings (etc.) and then the ExpressionLanguage editor on the JSF page to wire components up to the ADF binding.
    Frank

  • Is there any tutorial for integrating struts with hibernate using JDevelope

    Hi Everybody
    I am using Jdeveloper...and I want to know is there any tutorial available for usinfg struts and hibernate.
    If anybody knows abt them...plz tell me the links.
    Thanks and Regards
    K Sreenivas

    A tutorial about using hibernate in JDeveloper is here:
    http://www.oracle.com/technology/pub/articles/vohra_hibernate.html
    There are many papers and tutorials about Struts in JDeveloper - just go to the tutorials page and technical papers pages linked from the JDeveloper home-page.

  • Weblogic 10 Probs Start Web App only if using 'Visual Web JavaServer Faces'

    There is no Errormessage in Netbeans IDE when I chose 'build' or 'undeploy and deploy'.
    If I use a simple Webapplication that does not use 'Visual Web JavaServer Faces'
    the war-file that netbeans ide creates and deploys in beas autodeploy directory can be executed in the linked page: http://localhost:7001/WebApplication9/
    But if I chose the option 'Visual Web JavaServer Faces' in the web application project the whole compile and deployment process completes fine, the war-file is distributed in the autodeploy dir, but it can be deployed automatically nor manually.
    In the Bea Weblogic Administration Console I get
    Messages
    An error occurred during activation of changes, please see the log for details.
    Failed to load webapp: 'WebApplication14.war'
    javax.faces.webapp.FacesServlet
    C:\BeaWebLogic\MyDeploy\WebApplication14.war.
    Please make sure that the annotations are valid. The error is javax.faces.webapp.FacesServlet>
    whole Errorlog
    Thanks in advance.
    [LoginFilter]: LoginFilter constructed ...
    <18.04.2008 12.53 Uhr CEST> <Notice> <Log Management> <BEA-170027> <The server i
    nitialized the domain log broadcaster successfully. Log messages will now be bro
    adcasted to the domain log.>
    <18.04.2008 12.53 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state
    changed to ADMIN>
    <18.04.2008 12.53 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state
    changed to RESUMING>
    <18.04.2008 12.53 Uhr CEST> <Notice> <Security> <BEA-090171> <Loading the identi
    ty certificate and private key stored under the alias DemoIdentity from the jks
    keystore file C:\BEAWEB~1\WLSERV~1.0\server\lib\DemoIdentity.jks.>
    <18.04.2008 12.53 Uhr CEST> <Notice> <Security> <BEA-090169> <Loading trusted ce
    rtificates from the jks keystore file C:\BEAWEB~1\WLSERV~1.0\server\lib\DemoTrus
    t.jks.>
    <18.04.2008 12.53 Uhr CEST> <Notice> <Security> <BEA-090169> <Loading trusted ce
    rtificates from the jks keystore file C:\BEAWEB~1\JROCKI~1\jre\lib\security\cace
    rts.>
    <18.04.2008 12.53 Uhr CEST> <Warning> <Server> <BEA-002611> <Hostname "localhost
    ", maps to multiple IP addresses: 164.24.95.242, 127.0.0.1>
    <18.04.2008 12.53 Uhr CEST> <Warning> <Server> <BEA-002611> <Hostname "W9G01486.
    bonn02.telekom.de", maps to multiple IP addresses: 164.24.95.242, 127.0.0.1>
    <18.04.2008 12.53 Uhr CEST> <Notice> <Server> <BEA-002613> <Channel "Default" is
    now listening on 164.24.95.242:7001 for protocols iiop, t3, ldap, snmp, http.>
    <18.04.2008 12.53 Uhr CEST> <Notice> <Server> <BEA-002613> <Channel "Default[1]"
    is now listening on 127.0.0.1:7001 for protocols iiop, t3, ldap, snmp, http.>
    <18.04.2008 12.53 Uhr CEST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecu
    re" is now listening on 164.24.95.242:7002 for protocols iiops, t3s, ldaps, http
    s.>
    <18.04.2008 12.53 Uhr CEST> <Notice> <Server> <BEA-002613> <Channel "DefaultSecu
    re[1]" is now listening on 127.0.0.1:7002 for protocols iiops, t3s, ldaps, https
    .>
    <18.04.2008 12.53 Uhr CEST> <Notice> <WebLogicServer> <BEA-000331> <Started WebL
    ogic Admin Server "examplesServer" for domain "wl_server" running in Development
    Mode>
    <18.04.2008 12.53 Uhr CEST> <Notice> <WebLogicServer> <BEA-000365> <Server state
    changed to RUNNING>
    <18.04.2008 12.53 Uhr CEST> <Notice> <WebLogicServer> <BEA-000360> <Server start
    ed in RUNNING mode>
    <18.04.2008 13.13 Uhr CEST> <Warning> <netuix> <BEA-423420> <Redirect is execute
    d in begin or refresh action. Redirect url is /console/console.portal?_nfpb=true
    &_pageLabel=WebAppApplicationOverviewPage&WebAppApplicationOverviewPortlethandle
    =com.bea.console.handles.AppDeploymentHandle%28%22com.bea%3AName%3DWebApplicatio
    n14%2CType%3DAppDeployment%22%29.>
    <18.04.2008 13.13 Uhr CEST> <Error> <HTTP> <BEA-101371>
    <There was a failure when processing annotations for application
    C:\BeaWebLogic\MyDeploy\WebApplication14.war.
    Please make sure that the annotations are valid. The error is javax.faces.webapp.FacesServlet>
    <18.04.2008 13.13 Uhr CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in
    the execution of deployment request with ID '1208517199484' for task '0'. Error
    is: 'weblogic.application.ModuleException: Failed to load webapp: 'WebApplicati
    on14.war''
    weblogic.application.ModuleException: Failed to load webapp: 'WebApplication14.w
    ar'
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:311)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
    oduleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
    leListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
    oymentCallbackFlow.java:360)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:26)
    Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
    ClassLoader.java:286)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
    Loader.java:259)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAw
    areClassLoader.java:54)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    >
    <18.04.2008 13.13 Uhr CEST> <Warning> <Deployer> <BEA-149004> <Failures were det
    ected while initiating distribute task for application 'WebApplication14'.>
    <18.04.2008 13.13 Uhr CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for m
    essage 149004
    weblogic.application.ModuleException: Failed to load webapp: 'WebApplication14.w
    ar'
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:311)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
    oduleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
    leListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
    oymentCallbackFlow.java:360)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:26)
    Truncated. see log file for complete stacktrace
    java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
    ClassLoader.java:286)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
    Loader.java:259)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAw
    areClassLoader.java:54)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    Truncated. see log file for complete stacktrace
    >
    <18.04.2008 13.13 Uhr CEST> <Error> <Console> <BEA-240003> <Console encountered
    the following error weblogic.application.ModuleException: Failed to load webapp:
    'WebApplication14.war'
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:311)
    at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedM
    oduleDriver.java:176)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
    leListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
    oymentCallbackFlow.java:360)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:26)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep
    loymentCallbackFlow.java:56)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep
    loymentCallbackFlow.java:46)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.ja
    va:615)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:26)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.j
    ava:191)
    at weblogic.application.internal.DeploymentStateChecker.prepare(Deployme
    ntStateChecker.java:147)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(App
    ContainerInvoker.java:61)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.cr
    eateAndPrepareContainer(ActivateOperation.java:189)
    at weblogic.deploy.internal.targetserver.operations.ActivateOperation.do
    Prepare(ActivateOperation.java:87)
    at weblogic.deploy.internal.targetserver.operations.AbstractOperation.pr
    epare(AbstractOperation.java:217)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploym
    entPrepare(DeploymentManager.java:719)
    at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploy
    mentList(DeploymentManager.java:1186)
    at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare
    (DeploymentManager.java:248)
    at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.pre
    pare(DeploymentServiceDispatcher.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
    ackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
    ackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
    at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallb
    ackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTunin
    gWorkManagerImpl.java:464)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    Caused by: java.lang.ClassNotFoundException: javax.faces.webapp.FacesServlet
    at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(Generic
    ClassLoader.java:286)
    at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClass
    Loader.java:259)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAw
    areClassLoader.java:54)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at weblogic.utils.classloaders.GenericClassLoader.loadClass(GenericClass
    Loader.java:179)
    at weblogic.utils.classloaders.ChangeAwareClassLoader.loadClass(ChangeAw
    areClassLoader.java:35)
    at weblogic.servlet.internal.WebAnnotationProcessorImpl.processServlets(
    WebAnnotationProcessorImpl.java:214)
    at weblogic.servlet.internal.WebAnnotationProcessorImpl.processJ2eeAnnot
    ations(WebAnnotationProcessorImpl.java:197)
    at weblogic.servlet.internal.WebAnnotationProcessorImpl.processAnnotatio
    ns(WebAnnotationProcessorImpl.java:93)
    at weblogic.servlet.internal.WebAppServletContext.processAnnotations(Web
    AppServletContext.java:1270)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
    ntext.java:408)
    at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletCo
    ntext.java:452)
    at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:402)
    at weblogic.servlet.internal.WebAppModule.registerWebApp(WebAppModule.ja
    va:582)
    at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:298)
    >

    Hi,
    make sure you created the parameter for the bind variable in the ViewObject. It is not enough to only add the bind parameter. It has to be created as well
    Frank

  • Possibility & Drawback  Using JDeveloper 11g ADF Faces with Oracle 10g DB

    We are new to ADF Faces, would like to use JDeveloper 11g ADF Faces with Oracle 10g database (Enterprise Edition). As we are new to JDeveloper 11g ADF BC, so we want to know about the Possibility & the Drawback.
    Edited by: eng.shahed on Apr 5, 2010 11:21 AM

    i dont think so any drawbacks using Jdeveloper with any database.....its a open product ... You can use it with Sybase, MySQL, Oracle etc etc..

  • JavaServer Faces v1.0 tutorial

    Why sun is not releasing the tutorial for JavaServer Faces V1.0?
    Can anyone of you give me the tutorial for Server Faces V1.0. Any links??
    Regards
    Shaf

    See http://java.sun.com/j2ee/javaserverfaces/reference/docs/index.html, the section 'Articles' for the currently available set of documents.
    Also, http://java.sun.com/j2ee/javaserverfaces/download.html indicates that JSF Tutorial is going to be made available soon (see the sentence after the 'Download JSF 1.0 Reference Implementation' button. I think at this time we should be waiting for it to come to us!!!

  • How do I use Struts Tiles with JavaServer Faces?

    I want to use JavaServer Faces and need something like tiles.
    Is it right that tiles is for struts what Portlets is for JavaServer Faces?
    Do I have to use Portlets or is there something else?
    What Do I have to do to use Portlets?
    Do I have to use any "engines" or something like that?
    Thanks

    Miikee_
    I guess you understood me wrong!
    JSF RI (and also MyFaces) are implementation of JavaServer Faces Spec.
    Each JSF app needs to be deployed inside of a Servlet Container.
    (like Tomcat). An no, they aren't coming up with an own servlet engine.
    But... you can also run MyFaces and the RI inside of an portlet container
    (eg pluto) instead of Servlet Container.
    HTH,
    Matthias

  • Help required building ADF-Swing/ADF-Faces using ADF Business Components

    My question is in regards to how you can go about building a light swing application to an ADF model?
    In particular if I were to say that we were developing a 3-tier project whereby we had a database tier, a series of EJB-ADF façade session beans to the database (middle-tier), and a swing client communicating with the session beans (view-controller tier), how would you go about developing these screens?
    In particular can we develop these screens using ADF-Faces and also ADF-Swing?
    The EJB session façade beans of course are ADF app modules with customised methods. The methods would return back customised DTO objects. These DTO objects are wrappers to row objects ADF would create. This would be mainly due to making these facade beans web service enabled (Oracle state that these methods cannot return oracle.jbo objects if they are to be web service enabled).
    This would be typically deployed to an app server, like Oracle App Server 10G.
    Could you please have a look at this, as I am doing a lot of research into this.
    eg. Taking example from oracle magazine sept/oct 2006
    with slight enhancements
    package oramag.frameworks.example.common;
    import oracle.jbo.ApplicationModule;
    import oramag.frameworks.customdto.EmployeeDTO;
    public interface HRService extends ApplicationModule {
    void deleteCurrentEmpAndCommit();
    EmployeeDTO findEmployee(int employeeId); // new method
    import oramag.frameworks.customdto.EmployeeDTO;
    public class HRServiceImpl extends ApplicationModuleImpl {
    public void deleteCurrentEmpAndCommit() {
    Row empRow = getEmpView().getCurrentRow();
    if (empRow != null) {
    empRow.remove();
    getDBTransaction().commit();
    public EmployeeDTO findEmployee(int employeeId)() {
    EmployeeDTO employeeDTO = null;
    EmployeesImpl employees = getEmployees();
    employees.setNamedWhereClauseParam("EmployeeId", employeeId);
    employees.executeQuery();
    if(employees.hasNext()) {
    EmployeesRowImpl employee = (EmployeesRowImpl)employees.next();
    employeeDTO = new EmployeeDTO(employee);
    return employeeDTO;
    public EmployeesImpl getEmployees() {
    return (EmployeesImpl)findViewObject("Employees");
    Now given the above code snippet, how could you turn this into an ADF-Swing/ADF Faces application so that if a user using the swing application enters an employee id, then the application will execute the query on the app server, the app server in turn returns the results to the client, and the client finally display the results. Typical MVC example.
    Cheers
    Rodney

    The tutorial is for ADF BC used with JavaServer Faces.
    While the tutorial doesn't cover it, we also support drag and drop development for Swing and visual WYSIWYG layout for Swing panels and windows, too. For a very simple example, watch screencast #4 on my blog here:
    http://radio.weblogs.com/0118231/stories/2005/06/24/jdeveloperAdfScreencasts.html
    One thing I have noticed is that when using ADF business components, when the app module returns a custom DTO object like the above example, it returns the data in a element structure according to the data control palette.
    You don't generally ever need to create your own custom DTO's when working with ADF for use by client UI's. The only situation where can be necessary -- until we simplify this in the JDeveloper/ADF 11g release -- is when you desire to expose custom methods that can return sets/arrays of typed row structures through a web service. However, web services are not involved/required in building 3-tier Swing applications.
    When dropping onto a page it does so like a string and doesnt give option to display the data in a read only form etc. Is there anything we need to do, to get the functionality.
    It's more of what you don't need to do :-)
    Just leverage the active data model that the ADF application module provides. You can read more about it in section 4.5 "Understanding the Active Data Model" of the ADF Developer's Guide for Forms/4GL Developers on the ADF Learning Center at http://www.oracle.com/technology/products/adf/learnadf.html). Your UI's bind to view object instances in the data model, and your UI's are automatically kept up to date without needing to write methods that return data. I short article I wrote that preceeded my writing the ADF Developer Guide content on this topis is here:
    http://radio.weblogs.com/0118231/stories/2006/01/26/theAdfBusinessComponentsActiveDataModel.html
    I know that when dropping a view object you get this functionality. Also was wondering if we were to pass an object of thios type back to the model it might not give us the rich functionality like input forms, like what Oracle provides if we were to drop a enitity view object.
    Just use the active data model and everything becomes totally easy, with no changes required to switch between local or three-tier deployment configurations.
    Trying to do everything with hand-coded DTO beans is really going the hard way.
    Could you help us regarding this?

  • A question about Lifecycle of a JavaServer Faces.

    hello all
    i read "The JavaServer� Faces Technology Tutorial",and mazed about Lifecycle of a JavaServer Faces.
    It explains each of these lifecycle phases using the guessNumber example.
    and if i submit the greeting.jsp ,who can give me particular about the jsf done in order....and the first step :Reconstitute Component Tree reconstitute greeting.jsp 's component tree or response.jsp?..

    thanks!
    i have another question:when the action event or A value-changed event occured,any Standard Request Processing Lifecycle begin?and the step of Reconstitute Component Tree occured?and when occur action event and when occur application event if a button or hyperlink is clicked?and what differentness between the processing to action event and application event by jsf?

  • Stored procedure, EJB, JPA, and JavaServer Faces

    Hi!
    I am currently working on a Web application using EJB, JPA, and JavaServer Faces. A part of the
    business logic is already stored in the database as stored procedures, so we need to call those
    procedures (instead of named queries) through a EJB and represent the data on the web tier.
    Where can I find an extensive tutorial using this technology? There is no such tutorial in the Oracle Learning Library.
    Maybe somebody can provide a link and/or example.
    Thanks in advance for your help!

    Hi,
    http://download.oracle.com/docs/cd/B10464_05/web.904/b10313/queries.htm#1135305
    For more help, see the TopLink / JPA forum
    TopLink/JPA
    Frank

  • ADF Faces using & pricing

    Hello,
    I'm using JavaServer Faces now and I'd like to use ADF Faces components - it can make make my development better. The question is about it's pricing - can I use it for free, with any Application Server or Container? My IDE is JDeveloper.
    The story is as follows. On the one hand, ADF is not free now, and in the JDeveloper Licence Agreement (when downloading JDeveloper) ADF Faces Components are included with another components: "Components" refers to the following Application Development Framework ("ADF") components of the Programs: ..., ADF Faces Components, .... So it seems that I can't use it for free everywhere.
    On the other hand, ADF Faces is open source now (http://oss.oracle.com/trinidad-adf-faces.html), in FAQs (http://www.oracle.com/technology/products/jdev/htdocs/faq_adffaces_apache.html) it's written that JDeveloper is a tool to use with ADF Faces, and in JDeveloper & ADF Pricing FAQ (http://www.oracle.com/technology/products/jdev/htdocs/jdevpricefaq.html ) it's written in the "How will customers know if they are using Oracle ADF?" section it's written:
    You are using Oracle ADF if your system is using one of the following:
    * Oracle ADF Business Components (pka Business Components for Java)
    * The ADF Model layer (creating data controls from Java components, EJBs, or Web services)
    * ADF's data actions or data pages in Struts
    * ADF UIX
    * ADF Swing (p.k.a JClient)
    So, ADF Faces are not mentioned here.
    So, how can I use ADF Faces components for free? Download from Apache - Trinidad project? Or I can use those that come with JDeveloper?
    Thanks in advance.

    Hi,
    ADF Faces is under the ADF licence and is charged for on any non-Oracle Application server environment. If you deploy on OracleAs then ADF licence is included in teh AS licence.
    If you want free components then you need to download Apache Trinidad components. They are open source. You can configure Trinidad for use in Oracle JDeveloper as documented : http://www.oracle.com/technology/products/jdev/howtos/1013/trinidad/trinidad.html
    Frank

  • The status and statement about Oracle embrace JavaServer Faces

    Hi all:
    Have any expert could talking about the status and statement about Oracle embrace JavaServer Faces standard,
    whether Jdeveloper 10g have full support this standard now, and UIX direction ?

    development based on oracle technology and tool, If we wish adopt JavaServerFace technology, we should direct using Sun Java standard library or oracle UIX technology,
    give us some suggestion, how to start JavaServerFace application development ? is start from UIX ? and what is learning step ?

  • Deploying ADF Application to OC4J Using Jdeveloper

    I tried to deploy an application to standalone OC4J using Jdeveloper, through a process similar to this:
    Deploying a Web Application
    http://www.oracle.com/technology/obe/obe1013jdev/10131/deployment/deployment.htm
    [making WAR for view-controller, JAR for model, and EAR in a new project]
    First I got some errors relating to Apache Log4J jars (org/apache/log4j/Category). The problems are talked over in this forum and oc4j forum. I had to download apache-log4j-1.2.15.zip and add the jar file manually to the project and remove the checks in the WAR file descriptor.
    The application was deployed after some attempts successfully, but, now the first page that appears after launching the application is my Home.jspx which is not the same page which comes up when I use embedded OC4J to run the application. The Home.jspx is blank and when I enter a link manually:
    http://farbod:8888/TestApp/faces/pages/Employees.jspx
    instead of http://farbod:8888/TestApp/faces/pages/Home.jspx
    I receive this error:
    500 Internal Server Error
    Servlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    Is there anything wrong with my deployment?
    (I just mentioned my initial problem with deployment to know if that gives a clue.
    I am using JDeveloper 10.1.3.3, OC4J 10.1.3.3)
    Thank you in advance.
    Farbod

    Hi,
    hard to say from the error message. What if you create a EAR file that includes the WAR file and then deploy it through Enterprise Manager in OC4J ? Also, having a separate deployment project bears the risk fo missing dependencies. Ensure that the project has the project's dependency property set to all contributing projects
    Frank

  • Cannot create a Struts Form bean using jdeveloper 10g

    Hello I'm new to jdeveloper and struts and triying to create a sample login page following this tutorial :http://www.oracle.com/technology/products/jdev/htdocs/handson/struts/strutshandson.html
    But I have a little problem in the 3rd excercice (Building Struts Form Beans and Actions)
    when I follow the instructions "Select File | New > Choose Web-Tier in the Categories, and select Struts > Select ActionForm from the Items > Click OK. "
    there is no ActionForm Item ! the only available item is "Struts Controller page Flow" and I allready used this one to create the struts' project template !
    (same thing : Struts Action in the next tutorial section is not available)
    BTW : I have to use jdeveloper 9.0.5.2 and not a latest version

    1. Take a look at the class diagram for query model http://docs.oracle.com/cd/E17904_01/web.1111/b31973/af_query.htm#BABDGCHI
    2. Also see if this helps you understand http://jobinesh.blogspot.in/2011/03/retrieving-viewcriteria-from-custom.html

Maybe you are looking for