ADF Libs with Eclipse Hibernate/Spring Configuration

Hi
I have been using Spring and Hibernate in our projects.
Now we plan to use ADF in the same project.
I would like to know whether the JDeveloper 11g R2 with ADF Libs conflict with Eclipse Spring/Hibernate Configuration.
Thanks in advance..
Regards,
Bala

here is one how to use spring, and for Hibernate, since JPA support is there shouldn't be a problem
http://technology.amis.nl/blog/765/spring-and-oracle-adf-registering-a-pojo-spring-jdbc-based-business-service-as-data-control.
As far as eclipse is concerned, oracle has its only flavor of eclipse but i doubt it has the full features of ADF
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html
Edited by: in the line of fire on Jul 26, 2011 12:11 PM

Similar Messages

  • Is it possible to integrate ADF Faces with eclipse

    hi experts,
    i am new to JSF.
    i am using myeclipse IDE5.1 eclipse3.2 and java 1.6
    i want to know how to integrate ADF faces into my JSF....
    i have ADF Faces standalone adf-faces-api-10_1_3_0_4.jar and adf-faces-impl-10_1_3_0_4.jar
    and also include the jsf capabilities
    I dont know the integration in web.xml and faces-config.xml..
    and i dont know the documentation which is given by oracle is for Jdeveloper or eclipse too
    please send the one example with jar integration..
    or send the link of that....

    Ralph,
    Maybe I'm deranged the same way you were, but I have the same problem: I see the logs when the server (OpenPortal portlet Container 2.0 with Glassfish) starts, but after that, no logs are displayed in Eclipse console, and breakpoints are ignored in debug mode.
    What was the issue and how did you fix it ?
    Thanks
    Vincent

  • Newbie: does ADF install/run with Eclipse instead of JDeveloper?

    Hi,
    Can ADF install/run with Eclipse instead of JDeveloper?
    Thx
    -Rob

    If you mean can you design ADF applications with Eclipse then yes, you can do that with Oracle Enterprise Pack for Eclipse. It isn't as full-featured as the JDeveloper experience, though.
    More info: http://www.oracle.com/technetwork/developer-tools/eclipse/overview/index.html
    Tutorial: http://www.oracle.com/webfolder/technetwork/eclipse/adf/gettingStarted/Tutorial/ADFwithOEPE_1.html
    If you meant something else, please be more specific!
    - Joonas

  • Configuring Oracle EAServer 10g 10.1.2.0.2 with Eclipse

    Hi ,
    Am working on a JAVA/J2EE/Struts application using Eclipse 3.1 and am using
    Oracle Enterprise Manager 10g Application Server 10.1.2.0.2 for deploying the application. Currently am building my application to an ear file and then deploying it manually on the Application Server control to run it every time. Becouse of this am not able to debug the application through eclipse. I need to know whether we can configure Oracle Enterprise Manager 10g 10.1.2.0.2 Enterprise Application Server with Eclipse 3.1 just as we are doing with eclipse tomcat or eclipseweblogic so that i can directly run or debug the application from Eclipse instead of creating a an ear and deploying it to the server to run it. Am using Oracle application server for the first time.
    I tried searching but couldnt find any relevant document /info on this. I got some info on configuring Oracle 10g Application Server 10.1.3 with eclipse,but none about 10.1.2.0.2.
    Any help regarding this is appreciated
    Thanks in advance
    grate

    Hi Steve,
    Thanks for your reply. Am new to Oracle application server. The version that i mentioned ie. 10.1.2 was already installed in my laptop when i got it for working. Am configuring the deployment and JNDI services after i start the sever and bring up the server control through IE after entering the username and password. So i couldnt understand the relevance of a standalone server at this point, and i am new to the name OC4J , why is it called so?(am sorry if am asking any stupid question, but to be frank i dont know any thing about oracle application server untill i came across it recently ) . The document that you followed is the same one that me too found while searching in net. But i couldnt follow the steps becouse in eclispe when i tried to configure the server runtime its throwed error saying it couldnt find any folder in the 10.1.2 installion directory named "...../home/j2ee" . But there was a folder called J2ee in my oracle installion folder so i just tried to map it, but it again throwed error saying "couldnt find asm.jar in j2ee/lib " . So am stuck up at this point.Should i go for oracle 10.1.3 or OC4J as you mentioned? Please give me some insights regarding this.
    Regards
    Grate

  • Configure jboss with eclipse 3.2+

    Hi, I need to configure Jboss server with Eclipse 3.2.1 version.
    when i click window->preferences->myeclipse->applicationserver, here it doesnot show any server. To get activate the server here what do i need to do? It is pretty urjent i appreciate for valuable reply.
    Thanks.

    Hi, I need to configure Jboss server with Eclipse 3.2.1 version.
    when i click window->preferences->myeclipse->applicationserver, here it doesnot show any server. To get activate the server here what do i need to do? It is pretty urjent i appreciate for valuable reply.

  • How to configure jboss with Eclipse IDE

    I am using Eclipse IDE version : 1.3.2.20110218-0812. I need tp configure an application server with my IDE. Can i use Jboss Application server? If it is fine which version of jboss supports the latest features.
    What are all the steps that i need to do to configure the Application server with Eclipse IDE?
    How to deploy a web application in to the server?
    Kindly help me in knowing the above.
    Thanks in advance,
    Thisan

    Check the URL http://www.informatik.fh-wiesbaden.de/~knauf/public/
    Download "org.eclipse.jst.server.jboss.ejb3_1.5.0.v200706052200.jar" and place in the "plugins" subdirectory of the eclipse installation
    Restart eclipse with the "-clean" option: "eclipse -clean"
    Window > Open Perspective > Other > J2EE
    Server tab > Right click > New > Server > JBoss 4.2.0( If the sersver tab is not there in the bottom panel go to Eclipse Menu
    Window>show view>others>server>servers the press OK
    This will add the server tab )
    Cheers
    Renju

  • Oracle Text with Hibernate & Spring.

    Hi,
    I am looking for some code samples of Oracle text based search using Hibernate & Spring. Can the three of these technologies be used in a J2EE application.
    --Irshad.                                                                                                                                                                                                                                                                                                                                                               

    TimesTen doesn't support the CONTEXT indextype or CONTAINS clause (or other domain indexes/operators), so you can't create Oracle Text indexes in it.

  • Web Service java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration

    I have built a EAR file (using ANT build.xml from eclipse) and deploy it to WebLogic server, when I test the web service with a Test Client, I will receive the exception:
    java.lang.NoClassDefFoundError: org/hibernate/cfg/Configuration
    Anything wrong with my build.xml file below? Why I get this exception?
    <?xml version="1.0" encoding="UTF-8"?>
    <project name="MyWebServices" default="all">  
         <!-- set global properties for this build -->   
         <property name="wls.username" value="weblogic" />   
         <property name="wls.password" value="abcd1234" />   
         <property name="wls.hostname" value="localhost" />   
         <property name="wls.port" value="7001" />   
         <property name="wls.server.name" value="AdminServer" />   
         <property name="ear.deployed.name" value="MyWebServicesEar" />
         <property name="example-output" value="output" />   
         <property name="ear-dir" value="${example-output}/MyWebServicesEar" />   
         <property name="clientclass-dir" value="${example-output}/clientclasses" />   
         <path id="client.class.path">       
              <pathelement path="${clientclass-dir}" />       
              <pathelement path="${java.class.path}" />   
         </path>
         <taskdef name="jwsc" classname="weblogic.wsee.tools.anttasks.JwscTask" />   
         <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />   
         <taskdef name="wldeploy" classname="weblogic.ant.taskdefs.management.WLDeploy" />
         <target name="build-service">       
              <jwsc srcdir="src" destdir="${ear-dir}">
                   <classpath>      
                        <pathelement path="${java.class.path}" />
                        <pathelement path="WebContent/WEB-INF/lib"/>
                   </classpath>
                   <module contextPath="MyWebServices" name="MyWebServicesModule">
                        <jws file="/hk/com/my/webservices/servicefacade/CustomerWS.java" type="JAXWS" />                 
                        <jws file="/hk/com/my/webservices/servicefacade/LoginWS.java" type="JAXWS" />               
                        <jws file="/hk/com/my/webservices/servicefacade/PaymentWS.java" type="JAXWS" />
                        <!-- <jws file="/hk/com/my/webservices/servicefacade/RedemptionWS.java" type="JAXWS" /> -->
                   </module>
              </jwsc>
         </target>   
         <target name="deploy">
              <wldeploy action="deploy" name="${ear.deployed.name}" source="${ear-dir}" user="${wls.username}" password="${wls.password}" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />   
         </target>   
         <target name="undeploy">       
              <wldeploy action="undeploy" name="${ear.deployed.name}" failonerror="false" user="${wls.username}" password="${wls.password}" verbose="true" adminurl="t3://${wls.hostname}:${wls.port}" targets="${wls.server.name}" />   
         </target>         
         <target name="all" depends="clean,build-service,deploy" />
         <target name="clean" depends="undeploy">       
              <delete dir="${example-output}" />   
         </target> 
         <target name="run">       
              <java classname="hk.com.my.webservices.servicefacade.client.Main" fork="true" failonerror="true">
                   <classpath refid="client.class.path" />                           
                   <arg line="http://${wls.hostname}:${wls.port}/MyServices" />
              </java>   
         </target>
    </project>

    The problem was because I did not include my web-inf into the ear in my build.xml, i added it using the zipfileset tag and it worked like a charm:
    <target name="build-service">          
              <jwsc srcdir="src" destdir="${ear-dir}" debug="on">
                   <!-- "contextPath" is like a folder to contain the Web Services, "name" is the name of the WAR file -->
                   <module contextPath="MyWebServices" name="MyWebServicesModule">
                        <jws file="/my/webservices/servicefacade/CustomerWS.java" type="JAXWS" />          
                        <jws file="/my/webservices/servicefacade/LoginWS.java" type="JAXWS" />                                                                 
                        <!-- include and copy the required files to the ear directory -->
                        <zipfileset dir="WebContent/WEB-INF/lib" prefix="WEB-INF/lib">
                             <include name="*.jar"/>
                        </zipfileset>                              
                   </module>
              </jwsc>
    </target>

  • Interacting with adapters from Spring Component, especially db adapter

    hello everybody,
    I try to interact with adapters from my Spring component. I actually try to start my query and to receive the result in my Spring Component.
    I've already search for documentation about api to communicate with it or documentation about the classes created during the db adapter creation... But .. no result..
    So I'm trying to do it my self but I encounter some problems when I'm trying to call the query on the dbAdapter and trying to "play" with the classes created by the db adapter.
    Could anyone say me HOW we can interact with adapters from Spring component (in the class bean)?
    Also, how can I access to the variables? Is there an equivalent of "getVariableData" and "setVariableData" that I can use in the Spring Component? with which jar and/or import?
    I copy/paste what I've already done.
    So My Composite contains a Web Service "getStatusByCC" which is linked to a Mediator. The Mediator calls the Spring Component "SprinCallDB" and the Spring Component is linked to a database adapter called "getCreditValidation". The transformation in the mediator component is correct (I test it without the call to the db and it works fine)
    First, there is the classes created and added to my project by the db adapter :
    Creditcardinfo.java
    package com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation;
    import javax.xml.bind.annotation.XmlAccessType;
    import javax.xml.bind.annotation.XmlAccessorType;
    import javax.xml.bind.annotation.XmlElement;
    import javax.xml.bind.annotation.XmlType;
    * <p>Java class for Creditcardinfo complex type.
    * <p>The following schema fragment specifies the expected content contained within this class.
    * <pre>
    * &lt;complexType name="Creditcardinfo">
    * &lt;complexContent>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    * &lt;sequence>
    * &lt;element name="ccnumber">
    * &lt;simpleType>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
    * &lt;maxLength value="20"/>
    * &lt;/restriction>
    * &lt;/simpleType>
    * &lt;/element>
    * &lt;element name="status" minOccurs="0">
    * &lt;simpleType>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
    * &lt;maxLength value="20"/>
    * &lt;/restriction>
    * &lt;/simpleType>
    * &lt;/element>
    * &lt;/sequence>
    * &lt;/restriction>
    * &lt;/complexContent>
    * &lt;/complexType>
    * </pre>
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "Creditcardinfo", propOrder = {
    "ccnumber",
    "status"
    public class Creditcardinfo {
    @XmlElement(required = true)
    protected String ccnumber;
    protected String status;
    * Gets the value of the ccnumber property.
    * @return
    * possible object is
    * {@link String }
    public String getCcnumber() {
    return ccnumber;
    * Sets the value of the ccnumber property.
    * @param value
    * allowed object is
    * {@link String }
    public void setCcnumber(String value) {
    this.ccnumber = value;
    * Gets the value of the status property.
    * @return
    * possible object is
    * {@link String }
    public String getStatus() {
    return status;
    * Sets the value of the status property.
    * @param value
    * allowed object is
    * {@link String }
    public void setStatus(String value) {
    this.status = value;
    CreditcardinfoCollection.java
    package com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation;
    import java.util.ArrayList;
    import java.util.List;
    import javax.xml.bind.annotation.XmlAccessType;
    import javax.xml.bind.annotation.XmlAccessorType;
    import javax.xml.bind.annotation.XmlElement;
    import javax.xml.bind.annotation.XmlType;
    * <p>Java class for CreditcardinfoCollection complex type.
    * <p>The following schema fragment specifies the expected content contained within this class.
    * <pre>
    * &lt;complexType name="CreditcardinfoCollection">
    * &lt;complexContent>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    * &lt;sequence>
    * &lt;element name="Creditcardinfo"
    * type="{http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation}Creditcardinfo" maxOccurs="unbounded" minOccurs="0"/>
    * &lt;/sequence>
    * &lt;/restriction>
    * &lt;/complexContent>
    * &lt;/complexType>
    * </pre>
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "CreditcardinfoCollection", propOrder = {
    "creditcardinfo"
    public class CreditcardinfoCollection {
    @XmlElement(name = "Creditcardinfo")
    protected List<Creditcardinfo> creditcardinfo;
    * Gets the value of the creditcardinfo property.
    * <p>
    * This accessor method returns a reference to the live list,
    * not a snapshot. Therefore any modification you make to the
    * returned list will be present inside the JAXB object.
    * This is why there is not a <CODE>set</CODE> method for the creditcardinfo property.
    * <p>
    * For example, to add a new item, do as follows:
    * <pre>
    * getCreditcardinfo().add(newItem);
    * </pre>
    * <p>
    * Objects of the following type(s) are allowed in the list
    * {@link Creditcardinfo }
    public List<Creditcardinfo> getCreditcardinfo() {
    if (creditcardinfo == null) {
    creditcardinfo = new ArrayList<Creditcardinfo>();
    return this.creditcardinfo;
    GetCreditValidationSelectCcnb.java
    package com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation;
    import javax.xml.bind.annotation.XmlAccessType;
    import javax.xml.bind.annotation.XmlAccessorType;
    import javax.xml.bind.annotation.XmlElement;
    import javax.xml.bind.annotation.XmlType;
    * <p>Java class for getCreditValidationSelect_ccnb complex type.
    * <p>The following schema fragment specifies the expected content contained within this class.
    * <pre>
    * &lt;complexType name="getCreditValidationSelect_ccnb">
    * &lt;complexContent>
    * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
    * &lt;sequence>
    * &lt;element name="ccnb" type="{http://www.w3.org/2001/XMLSchema}string"/>
    * &lt;/sequence>
    * &lt;/restriction>
    * &lt;/complexContent>
    * &lt;/complexType>
    * </pre>
    @XmlAccessorType(XmlAccessType.FIELD)
    @XmlType(name = "getCreditValidationSelect_ccnb", propOrder = {
    "ccnb"
    public class GetCreditValidationSelectCcnb {
    @XmlElement(required = true)
    protected String ccnb;
    * Gets the value of the ccnb property.
    * @return
    * possible object is
    * {@link String }
    public String getCcnb() {
    return ccnb;
    * Sets the value of the ccnb property.
    * @param value
    * allowed object is
    * {@link String }
    public void setCcnb(String value) {
    this.ccnb = value;
    ObjectFactory.java
    package com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation;
    import javax.xml.bind.JAXBElement;
    import javax.xml.bind.annotation.XmlElementDecl;
    import javax.xml.bind.annotation.XmlRegistry;
    import javax.xml.namespace.QName;
    * This object contains factory methods for each
    * Java content interface and Java element interface
    * generated in the com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation package.
    * <p>An ObjectFactory allows you to programatically
    * construct new instances of the Java representation
    * for XML content. The Java representation of XML
    * content can consist of schema derived interfaces
    * and classes representing the binding of schema
    * type definitions, element declarations and model
    * groups. Factory methods for each of these are
    * provided in this class.
    @XmlRegistry
    public class ObjectFactory {
    private final static QName CreditcardinfoCollectionQNAME = new QName("http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation", "CreditcardinfoCollection");
    private final static QName GetCreditValidationSelectCcnbInputParametersQNAME = new QName("http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation", "getCreditValidationSelect_ccnbInputParameters");
    * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation
    public ObjectFactory() {
    * Create an instance of {@link CreditcardinfoCollection }
    public CreditcardinfoCollection createCreditcardinfoCollection() {
    return new CreditcardinfoCollection();
    * Create an instance of {@link GetCreditValidationSelectCcnb }
    public GetCreditValidationSelectCcnb createGetCreditValidationSelectCcnb() {
    return new GetCreditValidationSelectCcnb();
    * Create an instance of {@link Creditcardinfo }
    public Creditcardinfo createCreditcardinfo() {
    return new Creditcardinfo();
    * Create an instance of {@link JAXBElement }{@code <}{@link CreditcardinfoCollection }{@code >}}
    @XmlElementDecl(namespace = "http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation", name = "CreditcardinfoCollection")
    public JAXBElement<CreditcardinfoCollection> createCreditcardinfoCollection(CreditcardinfoCollection value) {
    return new JAXBElement<CreditcardinfoCollection>(_CreditcardinfoCollection_QNAME, CreditcardinfoCollection.class, null, value);
    * Create an instance of {@link JAXBElement }{@code <}{@link GetCreditValidationSelectCcnb }{@code >}}
    @XmlElementDecl(namespace = "http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation", name = "getCreditValidationSelect_ccnbInputParameters")
    public JAXBElement<GetCreditValidationSelectCcnb> createGetCreditValidationSelectCcnbInputParameters(GetCreditValidationSelectCcnb value) {
    return new JAXBElement<GetCreditValidationSelectCcnb>(_GetCreditValidationSelectCcnbInputParameters_QNAME, GetCreditValidationSelectCcnb.class, null, value);
    package-info.java
    @javax.xml.bind.annotation.XmlSchema(namespace = "http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
    package com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation;
    GetCreditValidation_ptt.java
    package getcreditvalidation.validationforccwithspring.creditcardvalidation.db.adapter.pcbpel.com.oracle.xmlns;
    import javax.jws.WebMethod;
    import javax.jws.WebParam;
    import javax.jws.WebResult;
    import javax.jws.WebService;
    import javax.jws.soap.SOAPBinding;
    import javax.jws.soap.SOAPBinding.ParameterStyle;
    import javax.xml.bind.annotation.XmlSeeAlso;
    import javax.xml.ws.Action;
    // !DO NOT EDIT THIS FILE!
    // This source file is generated by Oracle tools
    // Contents may be subject to change
    // For reporting problems, use the following
    // Version = Oracle WebServices (11.1.1.0.0, build 111209.0821.28162)
    @WebService(targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/CreditCardValidation/validationForCCWithSpring/getCreditValidation",
    name="getCreditValidation_ptt")
    @XmlSeeAlso(
    { com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation.ObjectFactory.class })
    public interface GetCreditValidation_ptt
    @WebMethod
    @SOAPBinding(parameterStyle=ParameterStyle.BARE)
    @Action(input="http://xmlns.oracle.com/pcbpel/adapter/db/CreditCardValidation/validationForCCWithSpring/getCreditValidation/getCreditValidation_ptt/getCreditValidationSelectRequest",
    output="http://xmlns.oracle.com/pcbpel/adapter/db/CreditCardValidation/validationForCCWithSpring/getCreditValidation/getCreditValidation_ptt/getCreditValidationSelectResponse")
    @WebResult(targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation",
    partName="CreditcardinfoCollection", name="CreditcardinfoCollection")
    public com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation.CreditcardinfoCollection getCreditValidationSelect(@WebParam(targetNamespace="http://xmlns.oracle.com/pcbpel/adapter/db/top/getCreditValidation",
    partName="getCreditValidationSelect_inputParameters", name="getCreditValidationSelect_ccnbInputParameters")
    com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation.GetCreditValidationSelectCcnb getCreditValidationSelect_inputParameters);
    Here there is the classes linked to the Spring Component and the configuration file :
    SpringCallDB
    <?xml version="1.0" encoding="windows-1252" ?>
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:util="http://www.springframework.org/schema/util"
    xmlns:jee="http://www.springframework.org/schema/jee"
    xmlns:lang="http://www.springframework.org/schema/lang"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:sca="http://xmlns.oracle.com/weblogic/weblogic-sca"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-2.5.xsd http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.5.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd http://www.springframework.org/schema/tool http://www.springframework.org/schema/tool/spring-tool-2.5.xsd http://xmlns.oracle.com/weblogic/weblogic-sca META-INF/weblogic-sca.xsd">
    <!--Spring Bean definitions go here-->
    <sca:service name="CCSpringService" target="CCSpringImpl"
    type="validationForCC.spring.service.api.ISpringCCService"/>
    <bean id="CCSpringImpl" class="validationForCC.spring.service.impl.SpringCCServiceImpl">
    <property name="dbRequest" ref="getCreditValidation"/>
    </bean>
    <sca:reference type="getcreditvalidation.validationforccwithspring.creditcardvalidation.db.adapter.pcbpel.com.oracle.xmlns.GetCreditValidation_ptt"
    name="getCreditValidation"/>
    </beans>
    CreditCardNumber.java
    package validationForCC.spring.model;
    public class CreditCardNumber {
    private String ccNumber;
    public CreditCardNumber() {
    super();
    public void setCcNumber(String nb){
    this.ccNumber = nb;
    public String getCcNumber(){
    return ccNumber;
    Response.java
    package validationForCC.spring.model;
    public class Response {
    String reply;
    public Response() {
    super();
    public void setReply(String rep){
    this.reply = rep;
    public String getReply(){
    return reply;
    ISpringCCService.java
    package validationForCC.spring.service.api;
    import validationForCC.spring.model.CreditCardNumber;
    import validationForCC.spring.model.Response;
    public interface ISpringCCService {
    * @param ccn
    * @return
    public Response getCCStatus(CreditCardNumber ccn);
    SpringCCServiceImpl.java
    package validationForCC.spring.service.impl;
    import com.oracle.xmlns.pcbpel.adapter.db.top.getcreditvalidation.*;
    import java.util.List;
    import javax.jws.WebParam;
    import validationForCC.spring.model.CreditCardNumber;
    import validationForCC.spring.model.Response;
    public class SpringCCServiceImpl {
    public SpringCCServiceImpl() {
    super();
    private getcreditvalidation.validationforccwithspring.creditcardvalidation.db.adapter.pcbpel.com.oracle.xmlns.GetCreditValidation_ptt dbRequest;
    public Response getCCStatus(CreditCardNumber ccn){
    Response resp = new Response();
    CreditcardinfoCollection resultSet;
    GetCreditValidationSelectCcnb selectCCNb = new GetCreditValidationSelectCcnb();
    selectCCNb.setCcnb(ccn.getCcNumber());
    resultSet = dbRequest.getCreditValidationSelect(selectCCNb);
    resp.setReply((resultSet.getCreditcardinfo().get(0).getStatus()));
    return resp;
    public getcreditvalidation.validationforccwithspring.creditcardvalidation.db.adapter.pcbpel.com.oracle.xmlns.GetCreditValidation_ptt getDbRequest(){
    return dbRequest;
    public void setDbRequest(getcreditvalidation.validationforccwithspring.creditcardvalidation.db.adapter.pcbpel.com.oracle.xmlns.GetCreditValidation_ptt dbReq){
    this.dbRequest = dbReq;
    So, the line which is the cause of the error is the following :
    resultSet = dbRequest.getCreditValidationSelect(selectCCNb);
    in the SpringCCServiceImpl.java class
    And there is the error I obtain :
    +weblogic.sca.api.ScaException: java.lang.RuntimeException: BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by Exception [EclipseLink-6003] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.QueryException Exception Description: The number of arguments provided to the query for execution does not match the number of arguments in the query definition. Query: ReadAllQuery(name="getCreditValidationSelect" referenceClass=Creditcardinfo ). See root exception for the specific exception. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by Exception [EclipseLink-6003] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.QueryException Exception Description: The number of arguments provided to the query for execution does not match the number of arguments in the query definition. Query: ReadAllQuery(name="getCreditValidationSelect" referenceClass=Creditcardinfo ). See root exception for the specific exception. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution.
    java.lang.RuntimeException: BINDING.JCA-12563 Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by Exception [EclipseLink-6003] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.QueryException Exception Description: The number of arguments provided to the query for execution does not match the number of arguments in the query definition. Query: ReadAllQuery(name="getCreditValidationSelect" referenceClass=Creditcardinfo ). See root exception for the specific exception. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message ca
    Exception occured when binding was invoked. Exception occured during invocation of JCA binding: "JCA Binding execute of Reference operation 'getCreditValidationSelect' failed due to: DBReadInteractionSpec Execute Failed Exception. Query name: [getCreditValidationSelect], Descriptor name: [getCreditValidation.Creditcardinfo]. Caused by Exception [EclipseLink-6003] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.QueryException Exception Description: The number of arguments provided to the query for execution does not match the number of arguments in the query definition. Query: ReadAllQuery(name="getCreditValidationSelect" referenceClass=Creditcardinfo ). See root exception for the specific exception. This exception is considered not retriable, likely due to a modelling mistake. ". The invoked JCA adapter raised a resource exception. Please examine the above error message carefully to determine a resolution. +
    Any idea is welcome! :)
    If you have great urls to communicate with adapters and variables from spring component, don't hesitate to post it!
    Thanks in advance,
    Sophie
    Edited by: 953383 on Sep 18, 2012 6:41 AM
    Edited by: 953383 on Sep 18, 2012 6:43 AM
    Edited by: 953383 on Sep 18, 2012 6:46 AM

    Hello,
    Finally, I can interact with my db adapter.
    But, I ask you the following question : is there any documentation on the manner to interact with adapters and other component of the suite and on all classes generated?
    Thanks in advance,
    Sophie

  • OEPE 12.1.2.1 with Eclipse (Kepler) M2E and M2E-WTP and Seam 2 problem

    I've a JEE project with Maven 3.0.5  and JBoss Seam 2.3. I've some problems in Weblogic 12.1.2 application deployments with Eclipse.
    If I deploy the application as virtual application (split_src and .beabuild.txt), the .beabuild.txt includes the directories:
    C\:/FundeWeb/2.0/workspace/fundeweb2/web/target/m2e-wtp/web-resources = web_fundeweb2  (m2e-wtp project generated resources)
    C\:/FundeWeb/2.0/workspace/fundeweb2/web/src/main/webapp = web_fundeweb2 (project web resources)
    That's produces the next error (Multiple WEB-INF/ejb-jar.xml found):
    <01-ago-2013 14H07' CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID "1375358874432" for task "1". Error is: "weblogic.application.ModuleException: Multiple WEB-INF/ejb-jar.xml found. [weblogic.servlet.internal.WarSource@19d4f67, weblogic.servlet.internal.WarSource@c7fd40]"
    weblogic.application.ModuleException: Multiple WEB-INF/ejb-jar.xml found. [weblogic.servlet.internal.WarSource@19d4f67, weblogic.servlet.internal.WarSource@c7fd40]
      at weblogic.ejb.container.deployer.EjbModuleExtensionFactory.create(EjbModuleExtensionFactory.java:26)
      at weblogic.application.internal.ExtensibleModuleWrapper.createModuleExtensions(ExtensibleModuleWrapper.java:264)
      at weblogic.application.internal.ExtensibleModuleWrapper.initDrivenObjectArray(ExtensibleModuleWrapper.java:232)
      at weblogic.application.internal.ExtensibleModuleWrapper.prepare(ExtensibleModuleWrapper.java:107)
      at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:100)
      Truncated. see log file for complete stacktrace
    If I deploy the aplication in Weblogic Console with the split_src, with only the web/target/m2e-wtp/web-resources, the applications deploy succesfully.
    If I deploy de application as exploded archive, the jboss-seam.jar file isn't included in the WEB-INF/lib folder. The others jboss-seam-xxxx.jar files are included.
    In the virtual application deployments, I think that the OEPE integration with M2E and M2E-WTP, there are include only the m2e-wtp folders.

    Hi Subash,
    I tried the same installer on a 32bit machine and was able to run without any issues.
    I did however come across a few users jdeveloper users who had similar issues with the jdev installer and the following workaround seems to have solved the issue for them. coudl you try the same and let us know if that helped ?
    1. Extract "oepe-12.1.2.1-kepler-installer-win32.exe" file into C:\oepe-12.1.2.1-kepler-installer-win32
    2. In cmd go to C:\oepe-12.1.2.1-kepler-installer-win32
    3. Execute follow command:
       C:\PROGRA~1\Java\jdk1.6.0_31\bin\java.exe ( path to your JDK)  -jar install/modules/ora-launcher.jar DISKCNT=1 JRE_COMPONENT=oracle.jdk,oracle.jre
    thanks
    Raj

  • Packaging ADF application with Libraries

    Hi Experts,
    I was exploring on packaging/ bundling an ADF application with all required libraries, so that this application can be deployed on any J2EE server.
    I have gone through another thread on similar topic - Error while deploying ADF application to a standalone weblogic server
    Above thread says that installation of run-time libraries are must. But I want to dig little deeper into the reasoning.
    What are libraries that can't be added into Application WAR file? (Normally J2EE developed application can be bundled and deployed on any of these servers (Weblogic/ tomcat/websphere)).
    Is it possible to bundle ADF application with all libraries and then deploy it to Websphere server directly (without installing 3rd party libraries)?
    Any help on this is appreciated.
    Thanks,
    Randhir

    Timo / Frank / Shay,
    Thanks for your help.
    Websphere server is being used by other applications. So the intention of bundling libs was to check ADF application funcationality on Websphere server without installing 3rd party ADF libraries (installation may conflict other libraries and some application can stop working).
    I gave a try on bundling all libraries with ADF application, but still I can see some error messages about missing libraries.
    What is your suggestion on installing 3rd party libs on Websphere server? Will this impact any deployed application?
    Thanks,
    Randhir

  • Dobt in using Emulator with Eclipse

    Hi all,
    I am using Eclipsewith ME + Suns WTK(2.2 , 2.5 and2.5.1 versions ) for devoleping Midlet Application.I have to teest my Midlet suite for
    a) MIDPI version 1.0 and CLDC 1.0 handsets
    b) MIDPI version 1.0 and CLDC 1.1 handsets
    But there are no Handsets with the above configuration available in these wtk versions.
    But I can change the cldc version in the Preference page of Eclipse
    (Eclipse>Windows>Preference>j2me>preverification>��..). &
    (Eclipse>Project Propertise>preverification...............................)
    Which among these Is the correct way?
    ====================================
    Also i got a url ---- http://developers.sun.com/mobility/device/device
    Here there are number of hand sets supports different CLDC and MIDP versions
    But how can i use this devise�s Emulators with Eclipse ME?
    Please give me a reply ,if anyone knows...........?
    ==================
    Many Many Thanks
    shejiss

    Hi all,
    I am using Eclipsewith ME + Suns WTK(2.2 , 2.5 and2.5.1 versions ) for devoleping Midlet Application.I have to teest my Midlet suite for
    a) MIDPI version 1.0 and CLDC 1.0 handsets
    b) MIDPI version 1.0 and CLDC 1.1 handsets
    But there are no Handsets with the above configuration available in these wtk versions.
    But I can change the cldc version in the Preference page of Eclipse
    (Eclipse>Windows>Preference>j2me>preverification>��..). &
    (Eclipse>Project Propertise>preverification...............................)
    Which among these Is the correct way?
    ====================================
    Also i got a url ---- http://developers.sun.com/mobility/device/device
    Here there are number of hand sets supports different CLDC and MIDP versions
    But how can i use this devise�s Emulators with Eclipse ME?
    Please give me a reply ,if anyone knows...........?
    ==================
    Many Many Thanks
    shejiss

  • ADF Faces with NetBeans Visual Pack

    Hello all,
    I have NetBeans 5.5.1 installed with the Visual Pack and I am looking to try out other libraries with it, in particular ADF Faces from Oracle.
    Does anyone know how to import the components into the NetBeans Visual Pack? They download from oracle as[b] adf-faces-impl-10_1_3_0_4.jar and not as a complib extension, which NetBeans prefers.
    Please if anyones has any experience with getting this to work let me know. Or if you think it can't work let me know as well?
    Hoping to hear from someone soon. Thanks in advance.

    Hello again,
    Anyone out there using ADF faces with NetBeans Visual Pack who can give some feedback?
    I want to be able to use the drag and drop capabilities of the Visual Pack with the ADF faces components, but I don't see how to configure this as they do not come pre-configured as a complib extension.
    Any feedback would be appreciated.
    Thanks and Regards.

  • ADF: Error with API's OIM

    Hi! i am work with view object programmatically, and ADF project with Business Component too. So when i run the (JSP & JSF) i have this error:
    11/07/19 15:39:33 log4j:WARN No appenders could be found for logger (com.sun.faces.config.ConfigureListener).
    11/07/19 15:39:33 log4j:WARN Please initialize the log4j system properly.
    07-19-2011 03:39:34 PM oracle.adf.share.config.ADFConfigFactory findOrCreateADFConfig
    INFO: oracle.adf.share.config.ADFConfigFactory No META-INF/adf-config.xml found
    07-19-2011 03:39:34 PM oracle.wireless.its.ra.TelnetResourceAdapter run
    INFO: Industrial Telnet Server versión: Version 10.1.3.0.0 iniciado correctamente.
    07-19-2011 03:39:36 PM oracle.adfinternal.view.faces.application.ViewHandlerImpl _checkTimestamp
    INFO: ADF Faces is running with time-stamp checking enabled. This should not be used in a production environment. See the oracle.adf.view.faces.CHECK_FILE_MODIFICATION property in WEB-INF/web.xml
    11/07/19 15:39:37 JAVA: LookupXellerateTypeOIMImpl.java
    11/07/19 15:39:37 Startup...
    11/07/19 15:39:37 Getting configuration...
    11/07/19 15:39:37 Login...
    **11/07/19 15:39:37 Thor.API.Exceptions.tcAPIException: com.thortech.xl.security.tcLoginException: javax.naming.NameNotFoundException: ejb/tcUnauthenticatedOperations not found**
    **11/07/19 15:39:37      at Thor.API.tcUtilityFactory.createLoginException(Unknown Source)**
    **11/07/19 15:39:37      at Thor.API.tcUtilityFactory.<init>(Unknown Source)**
    11/07/19 15:39:37      at sv.gob.AppModuleImpl.LookupXT(AppModuleImpl.java:163)
    11/07/19 15:39:37      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    11/07/19 15:39:37      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    11/07/19 15:39:37      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    11/07/19 15:39:37      at java.lang.reflect.Method.invoke(Method.java:597)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:507)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:1795)
    11/07/19 15:39:37      at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:1962)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:219)
    11/07/19 15:39:37      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1289)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:1802)
    11/07/19 15:39:37      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:627)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCInvokeActionDef$DCInvokeAction.refresh(DCInvokeActionDef.java:131)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:2533)
    11/07/19 15:39:37      at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2274)
    11/07/19 15:39:37      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareModel(PageLifecycleImpl.java:99)
    11/07/19 15:39:37      at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareModel(FacesPageLifecycle.java:78)
    11/07/19 15:39:37      at oracle.adf.controller.v2.lifecycle.Lifecycle$8.execute(Lifecycle.java:210)
    11/07/19 15:39:37      at oracle.adf.controller.v2.lifecycle.Lifecycle.executePhase(Lifecycle.java:116)
    11/07/19 15:39:37      at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.mav$executePhase(ADFPhaseListener.java:29)
    11/07/19 15:39:37      at oracle.adf.controller.faces.lifecycle.ADFPhaseListener$4.after(ADFPhaseListener.java:327)
    11/07/19 15:39:37      at oracle.adf.controller.faces.lifecycle.ADFPhaseListener.afterPhase(ADFPhaseListener.java:90)
    11/07/19 15:39:37      at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:254)
    11/07/19 15:39:37      at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
    11/07/19 15:39:37      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
    11/07/19 15:39:37      at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
    11/07/19 15:39:37      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:233)
    11/07/19 15:39:37      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:202)
    11/07/19 15:39:37      at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:123)
    11/07/19 15:39:37      at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:103)
    11/07/19 15:39:37      at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
    11/07/19 15:39:37      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:162)
    11/07/19 15:39:37      at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
    11/07/19 15:39:37      at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
    11/07/19 15:39:37      at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
    11/07/19 15:39:37      at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
    11/07/19 15:39:37      at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226)
    11/07/19 15:39:37      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127)
    11/07/19 15:39:37      at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116)
    11/07/19 15:39:37      at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    11/07/19 15:39:37      at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:234)
    11/07/19 15:39:37      at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:29)
    11/07/19 15:39:37      at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:879)
    11/07/19 15:39:37      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    11/07/19 15:39:37      at java.lang.Thread.run(Thread.java:662)
    I dont understand about this error! need help! Please!!!

    There are couple of APIs are available, please have a look:
    http://otndnld.oracle.co.jp/document/products/id_mgmt/idm_903/doc_cd/javadocs/operations/Thor/API/Operations/tcAuditOperationsIntf.html

  • ADF Faces with NetBeans

    Hi,
    This is Sandip Kulkarni.
    I want to know that, how can we use or integrate ADF Faces with NetBeans 6.1 or NetBeans 6.5?
    Please assist me with the solution as early as possible........
    Thanking you

    Sandip,
    In all honesty, if you want to do ADF development - JDeveloper is the only game in town... yes, I know you can make it work, but it's not going to be productive. If you are talking about ADF Faces only, you may be able to configure the taglibs + etc in Netbeans, but not sure it's going to be fun. If you want to bring ADF Business Components into the mix, it's going to be unworkable.
    One thing you could look at doing is to use something like maven - and then use Maven to generate the Netbeans artifacts.
    Caveat: I've not done this before and cannot comment on how workable it will be.
    Why don't you want to use JDeveloper?
    John

Maybe you are looking for

  • How to reinstall OS without losing installed applications

    Hi folks, Question for you about software installations and if they can be backed up to overcome the need to reinstall them when reinstalling the MacBook's OS. I have a newish (bought last Autumn) 15" 2.3 GHz Intel Core i7 MacBook Pro running OSX 10.

  • Apple doesn't feel like responding, so I'll post this here.

    Pre-note: This is actually a series of emails between customer support and I, but I emailed them back about a week ago and they haven't responded since, so I'm seeking a little help here. Please be patient and do read the whole thing, I tried to make

  • Document split by profit center

    Hi, We are in a re-implementation scenario.Client is using the older version of SAP and the new version is ECC 6.0.The requirement is to activate the document splitting with profit center and segment as scenarios.(Charecteristics for splitting).As on

  • [SOLVED]urxvt can't set the background after using slim as DM

    Yesterday, I changed lxdm to slim,and then everything went well,except urxvt.Though I think this should have nothing to do with the urxvt's problem. urxvt only has a white background while my setting is 0000/0000/0000/cccc,even I attempted to comment

  • Links inactive

    adding pages to web site......links work in iWeb, but inactive when viewing published pages........on iWeb 9.0.3........any suggestions would be greatly appreciated.......thank you