BPM support Inheritance ?

Hi,
Is BPM/BPM object support inheritance property of OOPS concept ?
If so then how and how can we implement that in ALBPM ?
Thanks in advance.
Bibhu

Others have probably gotten Type inheritance to work, but I haven't been able to get it to work since 5.7 and suggest you try Behavior inheritance instead.
I uploaded a project that has XML content going to a child process and back up to the parent process successfully. This exported project is on: http://www.4shared.com/file/123127271/a7da63f0/XSDIntrospectionToChildProcess.html.
In the Catalog's "XSDIntrospect" module you'll see both the introspected XSD and the BPM Object that inherits from the XSD. Inside both the parent process and called child subprocess, this BPM Object is used as an instance variable ("po"). In this project, the values entered in the parent's XML are passed successfully to the child and then from the child back up to the parent successfully.
Dan

Similar Messages

  • Does  BPM support the JAVA config file feature.

    Hi ,
    Does BPM support the JAVA config file feature? like based on env(local, dev, test, stage, prod) BPM aaplication can have different values for the same property/variable using the config file. How can BPM identify its env (local, dev, test, stage, prod)
    Thanks In Advance!
    Sreekant

    931907 wrote:
    Hello Robert,
    I am refering here to both C++ client and Coherence Server. Will it work in either of the cases?
    Thanks,
    JayHi Jay,
    Coherence server: it definitely won't do anything with C++.
    C++ client: for the cache store of a local cache residing within the C++ client you may be able to specify it, but it will have nothing to do with the cluster itself. I never worked with the C++ client, so I can't guarantee you can configure it that way. Look at the following page for further documentation:
    http://docs.oracle.com/cd/E24290_01/coh.371/e22839/cpp_config.htm
    Best regards,
    Robert

  • Can BPM support off-line Adobe Interactive Form

    Can anybody tell me weather BPM can support off-line Adobe Interactive Form or give me a solution for this scene. Thank you for your help
    Eric Ji

    Hi Eric,
    NW BPM in CE 7.11 EhP1 only supports "WebDynpro 4 Java" as UI technology. Nevertheless the following thread might be interesting for you:
    Galaxy Frontends
    Galaxy Frontends
    Best regards,
    Martin

  • Servicegen doesn't support inheritance?

    I have a method in a ejb class which returns class Product. The Product itself inherits class ProductBase. The ejb itself works ok. I then wrap the ejb with webservices, using servicegen to generate serialization class, and clientgen to generate client jar and then test the web services. The problem is that I can get all bean properties defined in the Product class, not in the ProductBase. This leads me wondering if oo inheritance feature is stripped off by using servicegen. Any idea what happens? Is there any way to fix it? Will appreciate your help.

    It seems to me that this is a servicegen bug. I found a another thread in the group which discussed pretty mush the same thing.
    http://forums.bea.com/bea/thread.jspa?threadID=200024969&tstart=165

  • Does jax-rpc support inheritance?

    I have the following classes:
    public class Payment implements Serializable {
        private String description;
        public void setDescription() {}
        public String getDescription() {}
    public class CreditCard extends Payment {
        private String creditCardNumber;
        public void setCreditCard(String c) {}
        public String getCreditCard() {}
    }Here is my webservice IF:
    public interface PaymentService extends Remote {
         public Payment getPayment() throws RemoteException;
    public class PaymentServiceImpl extends PaymentService {
        public Payment getPayment() {
             return new CreditCard();
        }I generate the client stubs using wscompile tool.
    My question is when I call getPayment() I expect the CreditCard object instance is returned but instead I get the Payment object instance, what do I need to do to get the right object back?
    Thanks in advance.

    I have the following classes:
    public class Payment implements Serializable {
        private String description;
        public void setDescription() {}
        public String getDescription() {}
    public class CreditCard extends Payment {
        private String creditCardNumber;
        public void setCreditCard(String c) {}
        public String getCreditCard() {}
    }Here is my webservice IF:
    public interface PaymentService extends Remote {
         public Payment getPayment() throws RemoteException;
    public class PaymentServiceImpl extends PaymentService {
        public Payment getPayment() {
             return new CreditCard();
        }I generate the client stubs using wscompile tool.
    My question is when I call getPayment() I expect the CreditCard object instance is returned but instead I get the Payment object instance, what do I need to do to get the right object back?
    Thanks in advance.

  • Runtime constant (Filename) errors out in BPM

    Hi,
    I have a BPMCollectTime scenario to collect the Source files. The filename (Message Mapping/Transformation) from the files is captured in TRANSFORM STEP(before sending them out from BPM). The file is sent to SEND step one at a time.
    Question : Filename of the source file is captured through user defined function.
    Following is the code.
    ================
    String  v_result_time;          //test Variable
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key =  DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    if (key == null) { v_result_time= "Create Key Failed";}
    else
    {v_result_time= "Create Key worked";
    String valueOld = conf.get(key);
    v_result_time = valueOld;
    return v_result_time;
    The Mapping gives a runtime error in the BPM. This is a sporadic error. 
    I have selected the Adapter specific attribute(File name).
    The BPM errors out sometimes? I am not sure if I am missing any setting. If I delete the work item and run the same scenario it works.
    Question 1 : What is the cause of the above error?
    Question 2 : Does BPM support Adapter specific attribute such as filename?
    Kindly Advice.
    Thanks,
    Gowri

    Hi Everyone,
    Thanks for all the help.
    DTN will not change the response filename to source filename. This option cannot be used. The correlation id is defined as response file name. Response filename is fixed for invoice file.
    Here is the example.
    For invoice file name HDTN20070430163110.TXT, response file received is nav1_2b5.rsp file. For HDTN20070430163314.TXT , response file is nav1_2b5.rsp
    So my correlation id is dummy fixed value. I have known the fact that it is not possible to use context object filename.
    Bhavesh -  I have defined transform step for accessing filename using dynamic configuration. Following is the code used in mapping.
    ================
    String v_result_time; //test Variable
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    if (key == null) { v_result_time= "Create Key Failed";}
    else
    {v_result_time= "Create Key worked";
    String valueOld = conf.get(key);
    v_result_time = valueOld;
    return v_result_time;
    ====================================
    BPM errors out sometime with following error
    Component mapping has returned error.
    com/sap/xi/tf/_MM_DTNData_2_DTNFilename_java.lang.NullpointerException.
    Error: Exception CX_MERGE_SPLIT occurred (program: CL_MERGE_SPLIT_SERVICE========CP, include: CL_
    If I delete this workitem and repeat the same scenario, it works. I have still not understood, why the scenario works sometime.
    Kindly Advice.
    Thanks,
    Gowri

  • How should inheritance of permissions on AD behave?

    Hi Forum members, I am not an AD expert in fact far from it. We have an in house software and we have used Active Directory to authenticate NT accounts to login to our application. In our application we can configure/setup AD groups in such a way that those
    group members can get access to specific features and servers in our application. Please see my situation described below:-
    I have the following config in place in my application:
    LondonGroup (a user group, as present in AD) can manage HR Module of server LondonServer.
    BirminghamGroup (as present in AD) can manage Finance Module of server BirminghamServer.
    So when a user of AD group LondonGroup logs in to our application, he/she can manage the HR module on LondonServer. Similarly when an user of BirminghamGroup logs in, he/she can manage Finance module on BirminghamServer. That's all fine. The issue arises
    when someone in AD makes BirminghamGroup a sub group of LondonGroup i.e. BirminghamGroup is a member of LondonGroup. When this is setup, when a user of AD group LondonGroup logs in to our application, he/she can manage the HR module on LondonServer -
    which is still fine BUT when a user of BirminghamGroup logs in he/she can now access HR and Finance modules of both LondonServer and BirminghamServer!! This could be because we support inheritance feature of AD where a sub group should get all access permissions
    from its parent group. But is this a problem? for e.g in our application we never set up BirminghamGroup to get access to HR module on LondonServer! 
    so my question is:
    1) Is this expected behaviour from AD point of view? Is this because the Group setup on the AD is wrong (but there is nothing stopping users to do this)
    2) Our application looks for the configured Groups and then traverses down the tree to locate the user and on the way additively gives access rights - is this a wrong implementation?
    Sorry for the long story but any guidance will be highly appreciated.

    1) Is this expected behaviour from AD point of view? Is this because the Group setup on the AD is wrong (but there is nothing stopping users to do this)
    2) Our application looks for the configured Groups and then traverses down the tree to locate the user and on the way additively gives access rights - is this a wrong implementation?
    Yes This is by design. There is nothing wrong in it. As Pierre mentioned it is called 'Group Nesting'.
    I believe your application is following the concepts of 'Group Nesting' which is fine. It is behaving properly.
    If you would like to not to have these sort of traversing in your application, you need to isolate the user accounts of being member in 'Nested Groups'.
    Mahdi Tehrani   |  
      |  
    www.mahditehrani.ir
    Please click on Propose As Answer or to mark this post as
    and helpful for other people.
    This posting is provided AS-IS with no warranties, and confers no rights.
    How to query members of 'Local Administrators' group in all computers?

  • Multiple inheritance in remote interfaces for EJB 3.0 session beans on Webl

    Hi All,
    We started migration from EJB 2.1(WLS 8.1) to EJB 3.0(WLS 10.3.2) and identified few serious problems. One of them is related with multiple business interfaces inheritance. I wrote simple example that presents point of the problem.
    we have session bean AImpl:
    +@Stateless(name="A")+
    +@Remote({A.class})+
    +@TransactionAttribute(TransactionAttributeType.REQUIRED)+
    +public class AImpl implements A {+
    +@Override+
    +public void writeA() {+
    System.out.println("A");
    +}+
    +@Override+
    +public void writeB() {+
    System.out.println("B");
    +}+
    +@Override+
    +public void writeC() {+
    System.out.println("C");
    +}+
    +}+
    with remote interface A:
    +@Remote+
    +@JNDIName(A.JNDI_NAME)+
    +public interface A extends B, C {+
    public static String JNDI_NAME = "A_JNDI_NAME";
    void writeA();
    +}+
    As you can see A extends B, and C. Definition of both interfaces is very simple:
    +public interface B {+
    void writeB();
    +}+
    +public interface C {+
    void writeC();
    +}+
    Everything looks nice until we want to invoke some method on AImpl bean. For above implementation code:
    A a = ctx.lookup(A. JNDI_NAME);
    a.writeA();
    a.writeB();
    a.writeC();
    writes down ”A \n B” and throws exception:
    caused by: java.lang.NoSuchMethodException: pl.gov.arimr.zszik.bazowe.slowniki.ejb.A_vt0zts_AImpl_1032_WLStub.*writeC()*
    at java.lang.Class.getMethod(Class.java:1605)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:165)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:57)
    so.. in stub generated by WLS there is no method from interface C ! What more interesting after small change in interface A rely on change in interface implementation order from B, C to C, B (+public interface A extends C, B {+) server writes down only A and I have stack like below:
    Caused by: java.lang.NoSuchMethodException: pl.gov.arimr.zszik.bazowe.slowniki.ejb.A_vt0zts_AImpl_1032_WLStub.*writeB()*
    at java.lang.Class.getMethod(Class.java:1605)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.getTargetMethod(RemoteBusinessIntfProxy.java:165)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:57)
    After this experience I came up with suspicion that Weblogic 10.3 does not support inheritance from multiple interfaces in one “generation”. Instead of that it takes only the first interface from the list.
    Does anybody have some experience with such a situation? maybe someone have an idea how to work around this problem?

    This is Not Supported in WebLogic that the Remote Interface extends other Interfaces. Because Annotation Processor just looks up inside the implemented interface methods. The actual interface which is Implemented by the Bean Class. So the Methods declared inside the Interface B and Interface C will be ignored and will not be available as part of the generated Stubs. Thats why u are getting NoSuchMethodError.
    You can even contact Oracle Support on this...there are 3-4 Cases on it. And the Solution is Work As Designed.
    Workaround is : edit your interface A as following
    Declare all the Business Methods only in the Remote Interface and not inside it's Super Interfaces.
    Example:
    @Stateless(name="A")
    @Remote({A.class})
    @TransactionAttribute(TransactionAttributeType.REQUIRED)
    public class AImpl implements A {
    @Override
    public void writeA() {
    System.out.println("A");
    @Override
    public void writeB() {
    System.out.println("B");
    @Override
    public void writeC() {
    System.out.println("C");
    @Remote
    @JNDIName(A.JNDI_NAME)
    public interface A extends B, C {
    public static String JNDI_NAME = "A_JNDI_NAME";
    void writeA();
    void writeB();
    void writeC();
    Thanks
    Jay SenSharma
    http://jaysensharma.wordpress.com (WebLogic Wonders Are Here)

  • Problem while configuring OSB External Resource in BPM Studio

    Hi
    I have just started using the BPM Studio 10.1.3. I want to invoke my Oracle Service Bus proxy services from one of the activities in the BPM Process flow.
    I created an external resource of type Oracle Service Bus and while trying to catalogue the OSB Component I found that only my WSDL Web Service proxy services with http transport protocol are available to be catalogued. I couldnt find the proxy services of the type Messaging Service, Any SOAP Service, Any XML Service created on Oracle Service Bus.
    Am I missing anything in the configuration or is it that BPM Studio does not support these protocols(jms,mq etc).
    Also, in the Studio Reference there is a mention of Oracle BPM(native) transport that BPM supports for cataloguing OSB Components apart from http and https.
    What is this protocol and how and where can i configure the same to help me catalogue the other OSB proxies?

    Hi
    I have just started using the BPM Studio 10.1.3. I want to invoke my Oracle Service Bus proxy services from one of the activities in the BPM Process flow.
    I created an external resource of type Oracle Service Bus and while trying to catalogue the OSB Component I found that only my WSDL Web Service proxy services with http transport protocol are available to be catalogued. I couldnt find the proxy services of the type Messaging Service, Any SOAP Service, Any XML Service created on Oracle Service Bus.
    Am I missing anything in the configuration or is it that BPM Studio does not support these protocols(jms,mq etc).
    Also, in the Studio Reference there is a mention of Oracle BPM(native) transport that BPM supports for cataloguing OSB Components apart from http and https.
    What is this protocol and how and where can i configure the same to help me catalogue the other OSB proxies?

  • Error in BPM worklist login page

    Hi Experts,
    I have created one bpel process which invokes task manager for approving or rejecting the leave request. I ve successfully deployed the bpel process and also able to test approve or reject the leave request . But i am facing one error when i am clicking on the task number that is ...
    Not Found
    The requested URL /default/Human_task3/1.5/LeaveRequest/LeaveRequest.jsp was not found on this server.
    Oracle-Application-Server-10g/10.1.3.1.0 Oracle-HTTP-Server Server at localhost Port 80
    I ve tried for almost 2 hrs but not able to solve this issue . I need your help please suggest me in rectifying this issue.
    Thanks.

    James first thanks for your patience..
    Here is the log
    Buildfile: C:\Jdev\App_Human\Human_task3\build.xml
    pre-build:
    validateTask:
    [echo]
    | Validating workflow
    [validateTask] url is file:/C:/JDeveloperOld/integration/bpm/support/files/WorkflowTaskDefinition.xsd
    [validateTask] Validation of workflow task definitions is completed without errors
    compile:
    [echo]
    | Compiling bpel process Human_task3, revision 1.0
    [bpelc] validating "C:\Jdev\App_Human\Human_task3\bpel\Human_task3.bpel" ...
    [bpelc] BPEL suitcase generated in: C:\Jdev\App_Human\Human_task3\output\bpel_Human_task3_1.0.jar
    deployProcess:
    [echo]
    | Deploying bpel process Human_task3 on localhost, port 80
    [deployProcess] Deploying process C:\Jdev\App_Human\Human_task3\output\bpel_Human_task3_1.0.jar
    [deployProcess] Successfully deployed the process "Human_task3" on server "localhost" and port "80"
    deployTaskForm:
    [echo]
    | Deploying workflow form for Human_task3 on localhost, port 80
    [deployTaskForm] 10/06/01 14:53:18 Notification ==>Application Deployer for default_Human_task3_1_0_LeaveRequest STARTS.
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:18 Notification ==>Undeploy previous deployment
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_2\j2ee\bpel\applications\default_Human_task3_1_0_LeaveRequest.ear begins...
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Initialize C:\product\10.1.3.1\OracleAS_2\j2ee\bpel\applications\default_Human_task3_1_0_LeaveRequest.ear ends...
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Starting application : default_Human_task3_1_0_LeaveRequest
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Initializing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Initializing EJB container
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Loading connector(s)
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Starting up resource adapters
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Initializing EJB sessions
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Committing ClassLoader(s)
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Initialize workflowform begins...
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Initialize workflowform ends...
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Started application : default_Human_task3_1_0_LeaveRequest
    [deployTaskForm]
    [deployTaskForm] 10/06/01 14:53:19 Notification ==>Application Deployer for default_Human_task3_1_0_LeaveRequest COMPLETES. Operation time: 828 msecs
    [deployTaskForm]
    [deployTaskForm] Successfully deployed form on server "localhost"
    deployDecisionServices:
    [echo]
    | Deploying decision services for Human_task3 on localhost, port 80
    [deployDecisionServices] There are no decision services to deploy
    process-deploy:
    post-build:
    deploy:
    BUILD SUCCESSFUL
    Total time: 10 seconds

  • What kind of XML concepts does XSU support?

    From the XSU release notes I have learned that XML attributes are ignored and an XML document has to be transformed via XSLT.
    What about other tags like choice nodes, sequences?
    Does XSU also support inheritance and is it capable of recognizing multiple occuring elements? Or can all this achieved only via an XSLT transformation of the original document?
    Thanks for your help,
    Bernhard

    From the XSU release notes I have learned that XML attributes are ignored and an XML document has to be transformed via XSLT.
    What about other tags like choice nodes, sequences?
    Does XSU also support inheritance and is it capable of recognizing multiple occuring elements? Or can all this achieved only via an XSLT transformation of the original document?
    Thanks for your help,
    Bernhard I think you mean using XSU for data loading. Then, what XSU support is a format like:
    <ROWSET>
    <ROW>
    <COLUMN_NAME>....</COLUMN_NAME>
    </ROW>
    </ROWSET>
    Currently the XML SQL Utility (XSU) can only store data in a single table. Otherwise, you need help from XSLT or INSTEADOF Trigger.

  • Cons of using BPM

    Hi All,
    I know BPM is used when I need to implement a scenario which needs stateful processing. Also BPM is used when I need to go for a synchronous-asynchronous bridge. Also BPM supports good error handling.(Pls correct me if I was wrong any where)
    When BPM provides me a lot of advantages why should i avoid using BPM as far as possible. Coz when I go through some previous threads a lot of experts advise not to go for BPM. Can you pls tell me why is that? Any docs where I can find cons of BPM would be of great help.
    Thanks & Regards,
    Jai Shankar.

    Jai,
    The mappings in XI get executerd on the Java Stack, whereas the BPM is executed in the Business Process EnNgine , which is a part of the ABAP stack.
    So, a BPM has multiple calls between the JAVA and ABAP stack and causes a performance bottleneck
    Like you mentioned BPM provides Stateful Message Processing and from what I have seen, normally during design stages of any XI Interface, when the choice is between whether to go for a BPM or not , the following questions are asked,
    1. What is the number of times the interface will be run per day.
    2. Can the interfaebe implmeneted without a BPM and if yes, then what is the approach and what is the disadvantage of avoiding a BPM.
    ALso, http://help.sap.com/saphelp_nw04/helpdata/en/43/d92e428819da2ce10000000a1550b0/content.htm
    Just check the Step types with low and high resource consumption and normally , the decision is based on the entire flow and the requirement of the interfaces.
    Regards,
    Bhavesh

  • VC UI in BPM

    BPM Team,
    Please let me know In BPM Process how to select UI which is developed VC ?
    Regards
    Sri

    Hi,
    I think that with this EHP1 release, BPM supports only webdynpro UI.
    Regards,
    Srinivasan Subbiah

  • Problem Multilanguage in BPM workflow

    Hi all,
    I want to change default language in BPM workflow when login to BPM workspace (ex: Vietnamese ...) and change properties default of Task, BPM supports multilanguage?
    Does somebody know how can i do it ?
    Thanks.

    It is the same with Bpm. I will post the screen shot.
    Edit: http://imgur.com/WoB2V
    That shows that the same functionality in BPM workspace screen is missing. You can choose the browser or the LDAP it says. Like I said, you must have a parameter in your LDAP provider, setting the default language for seperate users, but I haven't seen this working yet.
    Edit 2: 28.12 Accessing Oracle BPM Worklist in Local Languages
    From Developer's Guide for SOA Suite, reading that might help you.
    Edit 3: 27.12 Accessing Oracle BPM Worklist in Local Languages ( http://download.oracle.com/docs/cd/E12839_01/integration.1111/e10224/bp_worklist.htm#CHDBCHHJ ) also check this one.
    Edited by: cenkozan on Jun 9, 2011 12:17 AM
    Edited by: cenkozan on Jun 9, 2011 12:21 AM
    Edited by: cenkozan on Jun 9, 2011 4:26 AM
    Edited by: cenkozan on Jun 9, 2011 5:07 AM

  • Inheritance in EJBs

    I am trying to find out if Weblogic supports functionality that TOPLink provides to
    represent inheritance.
    (http://www.webgain.com/products/toplink/mapping_workbench/demos/
    check the "Using Advanced Descriptor Functions", "Inheritance").
    I want to have a parent class which has multiple children (i.e. an Account class,
    subclasses as Checking, Savings, Loan, etc.). These would all be stored in one database
    table. A single 'findAccountsForCustomer' method could return a mixed collection
    of the specific child objects.
    Is this something available in a current version of Weblogic, or something planned
    for the future? Or, is this something that requires a 3rd party mapping tool?

    How does this differ from the second option I listed?
    Thanks,
    Bob
    "Nick Minutello" <[email protected]> wrote
    in message news:[email protected]...
    >
    >
    You can achieve inheritance using Entity Beans. Its not the simplest ofthings -
    but its do-able. (Although I will admit I havent done this for aproduction application).
    >
    You would create an AccountBean - which is the base-class implementation.Your other
    Checking, Savings, Loan Beans inherit from it. (Strictly they dont haveto - this
    is only so you have implementation inheritance.)
    Then, you would also create an AccountLocal - which is the base-classcomponent interface.
    Your other CheckingLocal, SavingsLocal, LoanLocal Interfaces inherit fromit. (this
    is so you get polymorphism at the client level)
    Your PK classes must be the same all. (though, I forget why at the moment)
    You need to create a home for each Bean (this makes sense - you have tohave a factory
    that knows what its creating/finding).
    You need to list all of them in the DDs. (the CMP mapping duplication is apain)
    >
    Its all a bit dicky doing it by hand. But if you can get your hands onWSAD4, it
    will automate this all for you (Sadly, it only supports EJB1.1.... but youcan see
    how it does it)
    The thing to remember is that if they are in the same table (I wouldreconsider that
    decision) then your findByPrimaryKey method will never be able todistinguish between
    them.
    The finders are a bit tricky - you need to do the aggregation of thesub-types.
    >
    -Nick
    "Bob Lee" <[email protected]> wrote:
    EJB does not support inheritance. You are limited to standard Java's
    inheritance capabilities.
    If you want to use entity beans, you have the following two options:
    1) Have a generic Account entity bean with an account type field (rather
    than subclassing).
    2) Use Java inheritance, set up an entity bean for each type (Savings,
    Checking, etc.) and use a session facade. The findAccountsForCustomer()
    method in the session facade will hit each entity bean type and combine
    the
    results.
    I would probably go with the first option. You can use the Strategy
    pattern
    or something comparable to handle the implementation differences between
    the
    Account types.
    Bob
    "Howard Webb" <[email protected]> wrote in message
    news:[email protected]...
    I am trying to find out if Weblogic supports functionality that TOPLinkprovides to
    represent inheritance.
    (http://www.webgain.com/products/toplink/mapping_workbench/demos/
    check the "Using Advanced Descriptor Functions", "Inheritance").
    I want to have a parent class which has multiple children (i.e. an
    Account
    class,
    subclasses as Checking, Savings, Loan, etc.). These would all be
    stored
    in one database
    table. A single 'findAccountsForCustomer' method could return a mixedcollection
    of the specific child objects.
    Is this something available in a current version of Weblogic, or
    something
    planned
    for the future? Or, is this something that requires a 3rd party
    mapping
    tool?
    >

Maybe you are looking for

  • FI Extraction - 3.5 or 7 : Confusion

    Hi All, I have to do FI-AR Extraction, im using the datasource 0FI_AR_4 (BSID/BSAD) using the preffered scenario: 0FI_AR_4 -> 0FI_AR_O03 -> 0FIAR_C03 DS                  ODS                 Cube We are implementing BI 7.0 Now what i want to know is t

  • How can I change text font in an HTML region

    Hi all, I have an HTML region on my page and I want to display a banner near the top with a larger font. Problem is doesn't seem to work. For instance: <b><font size=20 color=red>&P3062_HIDDEN_DATE.</font></b>changes the color and makes it bold, but

  • Bridge in PSE 10?

    Bridge came with PSE 8 for MAC OS. Does PSE 10 for Windows OS have Bridge?

  • Counter not counting encoder over RTSI

    Hi all, I have a PCI-7358 (motion card) and a PCI-6602 (counter timer) both connected together with a RTSI cable. I have then configured an axis in MAX to route the encoder over RTSI-0 (Phase-A) & RTSI-1 (Phase-B). Then I added and configured the RTS

  • Session expired on login

    Any see this? We have a customer that Logs in to a Website and is redirected to a "Sorry your Session has expired page" The session value in application.cfm is set for 8 hours. I had her close the IE browser and still she can't log in. She's even reb