ADF without using ADF-Faces

I'm starting a new project and I want to combine the use of ADF without using adf-faces in other words I want to connect to the Oracle data base through ADF while building my own beans.

Well I'm still having problems with "ADF without using ADF-Faces" so I went back and found documentation:
Oracle® Application Development Framework
Developer’s Guide
10g Release 3 (10.1.3)
B25386-01
However I came to point where I was confused with the TopLink documentation on 3.7 Querying Objects where it said:
You cannot configure the sort criteria of a TopLink query from Oracle JDeveloper. You
must write a Java method, using descriptor amendment method. See Section 3.3.3.2,
"Using Amendment Methods" for more information.
I find this hard to fathom would you not want to sort the dataset on a JSF table?
The link takes you to a statement that has nothing to do with Sorting.
Jim

Similar Messages

  • Pass username and password adfs without using query string

    pass username and password ADFS without using query string, Please help.
    I used query string , but it is unsecured to pass credentials over url, with simple tool like httpwatch , anyone can easily get the password and decrypt it.

    Hello MohitJainMJ,
    You're not in the right forum. Here it's for FIM topics!
    Regards,
    Sylvain

  • Pass username and password ADFS without using query string, Please help.

    pass username and password ADFS without using query string, Please help.
    I used query string , but it is unsecured to pass credentials over url, with simple tool like httpwatch , anyone can easily get the password and decrypt it.

    Hi,
    According to your post, my understanding is that you had an issue about the ADFS.
    As this issue is related to ADFS, I recommend you post your issue to the forum for ADFS.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=Geneva
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thank you for your understanding and support.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • How to return List or Array from Web Service without using ADF?

    All,
    I would like to know how to do this before I use ADF. Sounds like a simple thing to do - common even - but I haven't found a solution in existing postings. My attempts have failed though I'm not sure exactly why.
    I have created a declarative WS that takes a single parameter and tries to return a List<Employees> resultset. My Sample Java Client works just fine. When I change the result type from List to String[], for example, it also works fine.
    What am I doing wrong??
    Thanks
    package wizard;
    (imports removed for readability)
    @WebService(name = "MyWebService1", serviceName = "MyWebService1", portName = "MyWebService1SoapHttpPort")
    @Deployment(restSupport = true)
    public class HelloWorld {
    List<Employees> employees = null;
    public HelloWorld() {
    public List<Employees> sayHello (String s) {
    try {
    final Context context = getInitialContext();
    ATOABPFacade aTOABPFacade = (ATOABPFacade)context.lookup("ATOABPFacade");
    employees = aTOABPFacade.queryEmployeesFindByName(s);
    return employees;
    } catch (Exception ex) {
    ex.printStackTrace();
    return employees;
    private static Context getInitialContext() throws NamingException {
    return new InitialContext();
    Trace:
    Ready message received from Oc4jNotifier.
    Embedded OC4J Server startup time: 24063 ms.
    Target URL -- http://localhost:8988/JPA-Wizard-context-root/mywebservice1soaphttpport
    Feb 18, 2008 7:42:49 PM com.evermind.server.ServerBase log
    WARNING: JPA-Wizard-webapp: Error preloading servlet
    javax.servlet.ServletException: java.lang.NullPointerException
         at oracle.j2ee.ws.server.provider.ProviderServlet.init(ProviderServlet.java:186)
         at javax.servlet.GenericServlet.init(GenericServlet.java:241)
         at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2674)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5162)
         at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:5085)
         at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:5275)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1357)
         at com.evermind.server.http.HttpApplication.init(HttpApplication.java:873)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:699)

    Gi,
    not sure what you are doing there, but you can build the J2EE WebService from your working POJO, and create a Web Service proxy class from the WSDL description (of the deployed or local WSDL file). Then, using the proxy class, you can access the output of the WebService.
    Frank

  • Authenticate ADF application using adf security wizard against LDAP OID

    I have an adf application which i intend to authorise using LDAP. For now , i have actually hand coded in java for authenticating the users of my application. Using JNDI I directly connect to LDAP and authenticate users. However , recently it came to my notice that i can also do that using ADF sercurity wizard , but i am unable to do so. which securing the ADF application ,no where in the wizard LDAP configuration is mentioned. do i have to change some file manually ? i have no idea on how to proceed on that.

    i have setup wls , making th OIDAuthentication as Sufficient. but i dont know how to configure from ADF side so that it can authenticate against LDAP. when i try the ADF sercurity wizard option , it tells me to create new Roles . Is there any way where i can import the ldap credentials to the security wizard ..?

  • How to add static data in ADF table using ADF 11g?

    Hi
    Can any one tell me how can I add static data in ADF table?
    Thanks

    You can try this one. I created this static table just for viewing purpose.
    Open Create View Object wizard
    Choose, “Rows populated programmatically, not based on a query” which is 3rd radio button option
    In Attribute tab, create some ‘Updatable’ Attributes
    Choose the AppModule in the final step.
    Drag and drop the view object as ADF table.
    Next, programmatically insert data in your backing bean.
            ApplicationModule applicationModule = this.getApplicationModuleForDataControl("TmpTableAppModuleDataControl");
            ViewObject vo = applicationModule.findViewObject("ProgViewObj1");
            Row newRow = vo.createRow();
            newRow.setAttribute("updAttr1", value1);
            newRow.setAttribute("updAttr2", value2);
            vo.insertRow(newRow);If you add this code in buton action you have to add button's partialTriggers to table id.

  • Business/Technical Decision - ADF or JHeadStart/ADF?

    Hi all.
    I'm posting this topic on both JDeveloper and JHeadStart forums.
    I'm planning to develop a system based on Oracle ADF framework (using ADF UIX or JSP as the view).
    I started developing some evaluating applications, and found that, although very powerfull, the ADF itself lacks some functionality regarding multi-row page handling.
    So a started looking at the JHeadStart 10g product, and found that it has many funcionalities the ADF framework itself does not provide.
    I'm really in a doubt about what technology to use, so I'd like you guys here to share experiences about the pros and cons of using one or other.
    If we have a product like JHeadStart, why some might decide not to use it? It's a matter of price constraint, or technical constraint, or both?
    What kind of problems I might face by using this "extended framework layer", and not my own extensions?
    I'll have to use in my project a lot of pages with multi-row insert, update and delete. If I do not use JHeadStart, I'll have to hand code many of the funcionalities that alreary exist in JHeadStart.
    Unfortunatelly, the examples regarding multi-row processing provided by the OTN tutorials are very poor in funcionality and easy-of-use, and are not comparable to the superiority of the one provided by JHeadStart.
    Thanks.
    Denis Ievenes

    Hi Denis,
    I work for AMIS, a software consultancy organisation in The Netherlands. We have used JHeadstart on 7 different projects and for different customers, ever since 2003. I think you make some important observations: JHeadstart offers you a lot of functionality through a combination of generation and run time libraries that you would otherwise have to develop yourself. And mind you, these pieces of code are definitely not the easiest ones: they require a thorough understanding of ADF (and ADF BC) and will take quite some time to develop. Using those pieces as provided by JHeadstart will yield a huge benefit. And then I am talking months of advanced development time.
    Another huge benefit from using JHeadstart is that developers who are not very experienced with ADFor Java and Web technology in general for that matter, can quickly become productive. JHeadstart through the declarative application design and the generation provides an easy entry level for all developers. Besides, it bundles many best practices of working with ADF in its runtime code. We have had developers with no prior knowledge of ADF Business Components, ADF Binding Framework or even UIX work along one or two experienced developers, and they were productive within two weeks time.
    The main reason I can see for NOT using JHeadstart is the fact that it is not an official product from Oracle. There is no official support and you may feel that it is not as safe to bet your money on as is perhaps the database or the application server. After all, would can promise that in 10 years time we will still have JHeadstart?
    While this is a valid argument, I should immediately put it in perspective. JHeadstart has been around since 2001, so it has definitely proven itself in terms of stability. What's more: we have been able to migrate (regenerate) applications from the earliest versions of JHeadstart up to the latest. But most importantly: JHeadstart comes with all run-time source code. And this is really accessible code with lots of comments etc. So if for some reason JHeadstart would no longer be supported by Oracle Consulting, you will have the run time code - Java middle tier as well as JavaScript Client Side. That is the code you would otherwise have had to build yourself. And you can pretend you did in fact develop it yourself and take it from there.
    Especially given the fact that you have a lot of multi-row handling in your application, I would not hesitate in recommending you would use JHeadstart.It will save weeks and weeks of development time, allowing you to focus on the business oriented functionality rather than the ADF oriented plumbing and wiring of the application.
    If you have more questions about our experiences with JHeadstart, you can always drop me an email ([email protected]).
    Best Regards and lots of luck,
    Lucas Jellema

  • ADF Faces Application without using JDeveloper/TopLink/BC4J

    Hi,
    I want to make a small database driven application using ADF Faces Components without any hlp of JDeveloper, BC4J or Toplink.
    I could not see any document/ sample application which demonstrates creating J2EE application with ADF Faces by avoiding OC4J, JDeveloper IDE & TOPLINK.

    Hi, any luck trying to use adf faces in another IDE besides Jdeveloper?? Please let me know ;)
    thanx.
    T.

  • How to create a movable box using adf faces (without using oracle composer)

    Hello All,
    I am new to adf and i need to create a movable box . A box which the user can move anywhere he wants on the page and he should be able to minimize and maximize it.
    (ex:igoogle).
    According to my requirements i need to do it using adf components
    any help please

    Hi,
    as you need to persist the user change, you will need to have a look at MDS. See 31 at http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html
    It has a createDepartments.jspx page that allows users to move the input text fields around. You can use code similar to the one used here to move panelBoxes
    Frank

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

  • Validation messages in JSF (when not using ADF faces)

    I've spent some time with JDeveloper 11 and would like to use it on an upcoming project. I have to target IE 6, so I won't be able to take advantage of ADF Faces. Instead I'd like to use the ADF Business Components with a standard JSF interface so it can be used by people still running IE 6.
    I've created a Business Component from a database table and can bind a JSF HTML Creation Form by dragging the appropriate view from the AppModule in the Data Controls pane. However, when I attempt to submit the page without all the fields being valid I get the following validation error message:
    j_id__ctru2:j_id__ctru6: Validation Error: Value is required. j_id__ctru2:j_id__ctru6: Validation Error: Value is required.
    I've tried making this more descriptive, but editing the error message in the Validation Rules section of the Business Component has no effect. What's the best way to convey a meaningful validation message to the user when not using ADF Faces?
    Also - I'm still very new to JDeveloper. Since I won't be able to rely on my users having Internet Explorer 7, would you recommend I stay with JDeveloper 10? The examples and documentation I've seen so far for JDeveloper 11 appear heavily biased towards using ADF Faces so I'm starting to wonder how much support is there for using plain old JSF.
    Thanks for your time!

    Hi,
    if you are completely new to this then I suggest to use JDeveloper 10.1.3 and ADF Faces in there. Its good to use with IE6 as well. Currently we do have more tutorials available for this release than for 11, which for this reason is a better choice for someone new to this
    Frank

  • ADF progressIndicator without oracle.adf.view.faces.model.BoundedRangeMode

    Hello
    I am using progressIndicator for updating large number of database values. But it seems that oracle.adf.view.faces.model is not an opensource. But the progressIndicator using oracle.adf.view.faces.model.BoundedRangeModel. So any one please tell me is it possible to use progressIndicator without using oracle.adf.view.faces.model.BoundedRangeModel. I am updating nearly 10000 records. So it should use the progressIndicator.

    Hi,
    seems that your LOV implementation updates "MdlPrdId" on the table binding directly, which is not supposed to work
    Frank

  • Solved: ADF BC and primary keys - how to implement without using triggers

    Using the following OBE as an example:
    http://www.oracle.com/technology/obe/obe9051jdev/ADFWorkshop/BuildingADFApplicationsWorkshop.htm
    There is just one view that has CustomerId defined as a primary key, where the value for the primary key comes from the customer_seq sequence.
    How do you create the model using ADF BC entity to create an entity object that has a primary key that needs to be populated by a sequence table when inserted WITHOUT using a trigger?
    Basically I want to just use ADF BC instead of toplink in the OBE. We do not use triggers to insert primary keys, so this example is a good match for what I need.
    Can someone help me out. How do I adjust the model to use just ADF BC - how do I define the entity object to use a sequence. Do I just override the create method in the impl? Is it that simple? Or is there a way to do this point and click in the entity tool.
    Thanks!

    I'm not the dba (or one of several) - so don't shoot the messenger... the dba's do not like to use triggers in the code. I have been told that this has caused too many problems in application development.
    I don't ask why, just deal with the fallout.
    I did try using the following code in a create method:
    protected void create(AttributeList attributeList)
    super.create(attributeList);
    SequenceImpl s = new SequenceImpl("customers_seq", getDBTransaction());
    // this.setCustId(s.getSequenceNumber());
    this.createPrimaryKey(s.getSequenceNumber());
    When I run the test program for the module, I get a new entry with the id empty and greyed out. I was hoping that this would be filled in on the actual insert, but no joy. As soon as I try to commit, I get an error:
    (oracle.jbo.AttrValException) JBO-27014: Attribute CustId in CustomersWSView is required)
    So what needs to be done?
    Message was edited by:
    klee

  • Problem with a example of "Developing and Using ADF Faces Skins"

    Hi, I've tried the example "Developing and Using ADF Faces Skins", but when I run the sample.jspx page and choose the skin "MyCompany" in the select skin I obtain the next message:
    java.lang.NullPointerException
    at oracle.adfinternal.view.faces.ui.laf.simple.desktop.SideBarRenderer._getIconData(SideBarRenderer.java:393)
    at oracle.adfinternal.view.faces.ui.laf.simple.desktop.SideBarRenderer.prerender(SideBarRenderer.java:83)
    at oracle.adfinternal.view.faces.ui.BaseRenderer.render(BaseRenderer.java:79)
    Could somebody help me?
    Thanks a lot ;-)

    Hi there,
    I had the same issue last friday.
    It's probably because you are using JDeveloper 10.1.3.2 instead of 10.1.3.0 or 10.1.3.1 for which the example is made.
    I haven't been able to fix this yet, other then by commenting out the this part of the css.
    Luc Bors
    Message was edited by:
    lucbors

  • Problem in Developing and Using ADF Faces Skins sample

    sample.jspx dose not have “Select Skin” box as the document shown.
    I am trying the sample project downloaded from sample WAR file - adffaces_skin.war in article “Developing and Using ADF Faces Skins”.
    In paragraph “Changing the Color Schema of a Skin”
    sample.jspx has a “Select Skin” box to allow user to select “Simple” or “MyCompany”. (in JSP Visual Editor)
    However, it does not show on the project built from downloaded from sample WAR file (adffaces_skin.war).

    After reading the whole document, I realize it is my mistake.
    The box will be created after all user skins setting.
    The sample works.
    Only thing need to remind is for later version Jdeveloper, Application Worksapce in only for early version Jdeveloper. All the version after 10g 1.3 EA1, Only have Application.

Maybe you are looking for

  • How do I add new methods to a pointstyle object?

    Using a scatterplot, I change each point's color (and shape) to reflect the range of the Y-value passed in. This is done with an override to the "draw" function (see below). Right now the Y-value ranges are "hardcoded" in the override. I would like t

  • UnmarshalException, client and rmi

    Hello, I'm developing client/server application using RMI. The problem occurs when I want to run it all and test. I do as follows: (first of all, I compile each project (server and client) from Eclipse. then with server: rmic engine/ServerImplementat

  • How to set focus on a Component?

    I'm doing a simple DATA ENTRY program. My web apps contains the ff: - 4- buttons (add, save, undo, del) - table To avoid mistakes on the data entry by a user. I make it a point to limit possible areas of risk. Like: ie: when addButton is clicked. - w

  • Error in Full and Delta CPACache refresh.

    Hi Experts, In our production environent we have a SOAP -> XI - > PROXY scenario [Synchronous]. The Consumer of the WebService has reported an error: 500_Internal_Server_Error = SOAP:Server_Server_Error_XIAdapter_ADAPTER.JAVA_EXC When I checked there

  • Release orders for contracts

    Dear Gurus, When we create release orders with reference a quantity contract, PO quantity can be more than the contract quantity. How to limit the quantity of the PO to less than the quantity in the contract? Thanks, Chameendri