Are Java Data Objects better than EJB's

can anyone kindly explain how JDO's are better than EJB's. or an URL where I can get the info.
sreedhar

I sometimes hear about people implementing their entity bean persistence using JDO, but it would make a LOT more sense to me to front entity beans with a JDO interface. Entity beans provide a good mechanism for handling transactions, caching, etc., while JDO provides a very simple persistence interface.

Similar Messages

  • Is there a data plan better than $80/10gig?

    I recently relocated to rural AR to take care of my mother following surgery. She is using Verizon wireless as her ISP and has the $80/10gig plan. Based on our now combined internet usage that cap is far, far too low. Is there a higher tier or unlimited plan available? If not I will look into other providers when her contract ends next month. The option to throttle back speed rather than pay for overages would also be acceptable but the plan cost and low data cap with charges for going over is simply not going to work for the eight month recovery period when I will be here.

    Actually yes it is. It's certainly a second tier option you only choose when a hard line connection isn't available but it's the only internet solution for some rural areas and even areas that aren't truly rural just in a dead zone between two infrastructures.
    Considering the limited applications where it makes sense to utilize this type of service in the manner we require not having higher tier packages even at an unreasonable price (which I already consider current capped plans to be) makes no sense. The number of people who would want, much less need the service is small and could not possibly come close to placing a strain of the network. Expecting wired speeds and unlimited data for a cost comparative to a wired connection is unreasonable. Desiring reasonable speeds (which to me would be as low as 1MB/s) with a datacap high enough to allow reasonable ability to utilize that speed in 2014 is not that out there. The ability to provide reasonably high data caps at a fair price to an extreme minority is both possible and profitable. When there is doubt about which is cheaper between renting a cheap apartment and paying for utilities and a wired connection v a 100GB data cap ($500-600 on the plans I could find) for rural internet alone something is wrong.  But my personal views on telcom pricing and exploitation of consumers aside my question was if there were other, unadvertised solutions available.

  • How can I set the java Date not greater than the day inputed?

    When I would input the date, I don't want it to be after this day because it would violate some business logic in my program. I am allowed to input date latter than this day like yesterday, last week etc. but not after this day.....Can anyone give me a concrete example or logic on how to do this?THANKS!

    tr3k wrote:
    Can you explain it by code?I could, but I won't. I pointed you in the right direction. Now it's up to you to make the effort. Give it your best shot and post a more detailed question if you have problems.
    http://www.javaworld.com/jw-12-2000/jw-1229-dates.html
    http://www.javaalmanac.com/egs/java.text/FormatDate.html
    http://www.javaalmanac.com/egs/java.text/ParseDate.html
    http://java.sun.com/javase/6/docs/api/java/util/Date.html
    http://java.sun.com/javase/6/docs/api/java/util/Calendar.html
    http://java.sun.com/javase/6/docs/api/java/util/GregorianCalendar.html
    http://java.sun.com/javase/6/docs/api/java/text/SimpleDateFormat.html

  • Are 2 ATI's better than 1 NVIDIA ?

    Hi all,
    Im on the brink of buying a new Mac Pro and as I have a limited budget I need to make a few decisions. I want to use my two existing monitors and was wondering which would be better..
    Using one NVIDIA GeForce 8800
    0r
    Using two ATI Radeon HD 2600 cards
    I know the NVIDIA is probably a better card but im assuming if each monitor has its own card thats also quite good.
    Both options cost about the same when added
    I will be using the new machine for HD video and 3D work. To keep costs down im thinking its best to go for a lower processor but a better graphics card configuration with lots of RAM.
    Any thoughts much appreciated.
    Thanks
    Matt

    ATI has better drivers for some Mac applications and people have been disappointed in Nvidia so far and hoping that they will eventually develop better drivers, like they do for Vista.
    Apple doesn't sell the Radeon 3870 so far, and being retail, probably will not but it is available from ATI (trade in your old card) or OWC:
    http://eshop.macsales.com/Item_XLR8YourMac.cfm?ID=10876&Item=ATI100435928

  • Is java server faces better than struts?

    hi all,
    someone asked me what the difference between struts and jsf is, and which is better. i had trouble elaborating on the topic. anyone care to share their opinions on this?
    ~jeff

    Jeff,
    A lot has been said about this topic -- the bottom line is that JSF focuses on user interface components, and Struts focuses on a lot of other useful stuff. Over time, JSF will probably evolve to do more of what Struts does today, but you can use the two together now. For more info, see my JSF FAQ (http://www.jsfcentral.com), check out some of the other threads in this forum (do a search for Struts and you'll find plenty), and view James Holmes' resource site (http://www.jamesholmes.com/javaserverfaces).
    Kito D. Mann
    Author, JSF in Action
    hi all,
    someone asked me what the difference between struts
    and jsf is, and which is better. i had trouble
    elaborating on the topic. anyone care to share their
    opinions on this?
    ~jeff

  • Serialising data objects using XML

    Does the support for XML in wl6.0 mean that java data objects can be serialized using xml entirely within weblogic (currently we use a 3rd party product, and are hoping to remove this if possible)?

    What about SOAP?
    Isn't that what SOAP does - marshals and unmarshals between objects and XML
    You can use SOAP from Java, or C++ or whatever.
    Contrary to a commonly held perception, SOAP doesn't require remote
    transmission of the serialized XML datastream.
    Where is the SOAP support for WLS6 ? I heard it was separately
    downloadable?
    "Alex Thomas" <[email protected]> wrote in message
    news:3a532681$[email protected]..
    >
    With some limitations, yes, if you are starting from a DTD - see the docsfor the WebLogic DTD2Parser tool which generates a high-speed custom parser
    for a given DTD.
    >
    This tool anticipates the JAXB standard (aka Data Binding, formerlyProject Adelard) - see http://java.sun.com/xml/ - which is due fairly
    shortly AFAIK.
    >
    If you were wanting to start with arbitrary Java classes and serializethem to XML you'd have to wait longer unfortunately, though there are some
    implementations around, e.g. http://www.wutka.com/jox.html. This would then
    correspond to marshalling if the objects were parameters to an RPC of some
    kind.
    >
    cheers
    (another) alex
    "alex" <[email protected]> wrote:
    What I should have said is: can wl6 automatically populate java objects
    from xml and vice versa? I believe this is called 'data marshalling and
    unmarshalling', but I cannot find references to this in the doco.
    >>
    >

  • Difference b/w DATA TYPE and DATA OBJECT & differences b/w TYPE and LIKE

    hai
    can any one say the differences between Data type and Data Object.
    And also differences between TYPE and LIKE
    thanks
    Gani

    hi,
    _Data Types and Data Objects_
          Programs work with local program data – that is, with byte sequences in the working memory. Byte sequences that belong together are called fields and are characterized by a length, an identity (name), and – as a further attribute – by a data type. All programming languages have a concept that describes how the contents of a field are interpreted according to the data type.
          In the ABAP type concept, fields are called data objects. Each data object is thus an instance of an abstract data type. There are separate name spaces for data objects and data types. This means that a name can be the name of a data object as well as the name of a data type simultaneously.
    Data Types
       As well as occurring as attributes of a data object, data types can also be defined independently. You can then use them later on in conjunction with a data object. The definition of a user-defined data type is based on a set of predefined elementary data types. You can define data types either locally in the declaration part of a program using the TYPESstatement) or globally in the ABAP Dictionary. You can use your own data types to declare data objects or to check the types of parameters in generic operations.
         All programming languages distinguish between various types of data with various uses, such as ….. type data for storing or displaying values and numerical data for calculations. The attributes in question are described using data types. You can define, for example, how data is stored in the repository, and how the ABAP statements work with the data.
    Data types can be divided into elementary, reference, and complex types.
    a. Elementary Types
    These are data types of fixed or variable length that are not made up of other types.
    The difference between variable length data types and fixed length data types is that the length and the memory space required by data objects of variable length data types can change dynamically during runtime, and that these data types cannot be defined irreversibly while the data object is being declared.
    Predefined and User-Defined Elementary Data Types
    You can also define your own elementary data types in ABAP using the TYPES statement. You base these on the predefined data types. This determines all of the technical attributes of the new data type. For example, you could define a data type P_2 with two decimal places, based on the predefined data type P. You could then use this new type in your data declarations.
    b.  Reference Types
    Reference types are deep data types that describe reference variables, that is, data objects that contain references. A reference variable can be defined as a component of a complex data object such as a structure or internal table as well as a single field.
    c. Complex Data Types
    Complex data types are made up of other data types. A distinction is made here between structured types and table types.
    Data Objects
          Data objects are the physical units with which ABAP statements work at runtime. The contents of a data object occupy memory space in the program. ABAP statements access these contents by addressing the name of the data object and interpret them according to the data type.. For example, statements can write the contents of data objects in lists or in the database, they can pass them to and receive them from routines, they can change them by assigning new values, and they can compare them in logical expressions.
           Each ABAP data object has a set of technical attributes, which are fully defined at all times when an ABAP program is running (field length, number of decimal places, and data type). You declare data objects either statically in the declaration part of an ABAP program (the most important statement for this is DATA), or dynamically at runtime (for example, when you call procedures). As well as fields in the memory area of the program, the program also treats literals like data objects.
            A data object is a part of the repository whose content can be addressed and interpreted by the program. All data objects must be declared in the ABAP program and are not persistent, meaning that they only exist while the program is being executed. Before you can process persistent data (such as data from a database table or from a sequential file), you must read it into data objects first. Conversely, if you want to retain the contents of a data object beyond the end of the program, you must save it in a persistent form.
    Declaring Data Objects
          Apart from the interface parameters of procedures, you declare all of the data objects in an ABAP program or procedure in its declaration part. These declarative statements establish the data type of the object, along with any missing technical attributes. This takes place before the program is actually executed. The technical attributes can then be queried while the program is running.
         The interface parameters of procedures are generated as local data objects, but only when the procedure is actually called. You can define the technical attributes of the interface parameters in the procedure itself. If you do not, they adopt the attributes of the parameters from which they receive their values.
    ABAP contains the following kinds of data objects:
    a.  Literals
    Literals are not created by declarative statements. Instead, they exist in the program source code. Like all data objects, they have fixed technical attributes (field length, number of decimal places, data type), but no name. They are therefore referred to as unnamed data objects.
    b.  Named Data Objects
    Data objects that have a name that you can use to address the ABAP program are known as named objects. These can be objects of various types, including text symbols, variables and constants.
    Text symbols are pointers to texts in the text pool of the ABAP program. When the program starts, the corresponding data objects are generated from the texts stored in the text pool. They can be addressed using the name of the text symbol.
    Variables are data objects whose contents can be changed using ABAP statements. You declare variables using the DATA, CLASS-DATA, STATICS, PARAMETERS, SELECT-OPTIONS, and RANGESstatements.
    Constants are data objects whose contents cannot be changed. You declare constants using the CONSTANTSstatement.
    c.  Anonymous Data  Objects
    Data objects that cannot be addressed using a name are known as anonymous data objects. They are created using the CREATE DATAstatement and can be addressed using reference variables.
    d.  System-Defined Data Objects
    System-defined data objects do not have to be declared explicitly - they are always available at runtime.
    e.  Interface Work Areas
    Interface work areas are special variables that serve as interfaces between programs, screens, and logical databases. You declare interface work areas using the TABLES and NODESstatements.
    What is the difference between Type and Like?
    Answer1:
    TYPE, you assign datatype directly to the data object while declaring.
    LIKE,you assign the datatype of another object to the declaring data object. The datatype is referenced indirectly.
    Answer2:
    Type is a keyword used to refer to a data type whereas Like is a keyword used to copy the existing properties of already existing data object.
    Answer3:
    type refers the existing data type
    like refers the existing data object
    reward if useful
    thanks and regards
    suma sailaja pvn

  • Data objects in the alert modeler.

    Hi,
    in the default alert modeler profile, there are some data objects.
    Can we add more data objects to this profile..
    As in ... i want to display the campaign information of the business partner in the alert..
    also .. i want to display the last interaction record data like ... date.. description of the interaction record ..
    How can i achieve this.
    Regards
    Vandana Gupta

    hi vandana
    i suppose that u cant add new data object to ur alert modeler,because alert modeler is linked to the meta model and these meta models includes the set of data object which u can use while using a default profile but what u can do is assign new function event as data objects are linked with the events ,that way u can easily incubate ur new data object which u want to use with the alert modeler profile and assign that profile to the IC profile,
    for creating new function events u have to do some coding which is very easy ,if u don know u may ask the same in ur time who knows that.
    guess it will help
    best regards
    ashish

  • Data types and Data object

    Can Any one give me Clear definition of Data type and Data objects.
    Concept i know clearly.. but unable to explain it..
    Regards,
    Prasanna

    Data consists of strings of bytes in the memory area of the program. A string of related bytes is called a field. Each field has an identity (a name) and a data type. All programming languages have a concept that describes how the contents of a field are interpreted according to the data type.
             In the ABAP type concept, fields are called data objects. Each data object is an instance of an abstract data type. Data types in ABAP are not just attributes of fields, but can be defined in their own right. There are separate name spaces for data objects and data types. This means that a name can at the same time be the name of a data   object as well as the name of a data type.
    <b>Data Types:</b>
                     As well as occurring as attributes of a data object, data types can also be defined independently. The definition of a user-defined data type is based on a set of predefined elementary data types. You can define data types either locally in the declaration part of a program (using the TYPES statement) or globally in the ABAP Dictionary. You can use your own data types to declare data objects or to check the types of parameters in generic operations.
             Data types can be divided into elementary, reference, and complex types
    <b>Data objects:</b>
                      Data objects are the physical units with which ABAP statements work at runtime. Each ABAP data object has a set of technical attributes, which are fully defined at all times when an ABAP program is running. The technical attributes of a data object are its length, number of decimal places, and data type. ABAP statements work with the contents of data objects and interpret them according to their data type. You declare data objects either statically in the declaration part of an ABAP program (the most important statement for this is DATA), or dynamically at runtime (for example, when you call procedures). As well as fields in the memory area of the program, the program also treats literals like data objects.
    ABAP contains the following kinds of data objects
      Literals
       Named Data Objects
      Predefined Data Objects
      Dynamic Data Objects

  • Data types and data objects

    diff b/w data types and data objects

    hi prasanth,
    Data Types and Data Objects
    Programs work with local program data – that is, with byte sequences in the working memory. Byte sequences that belong together are called fields and are characterized by a length, an identity (name), and – as a further attribute – by a data type. All programming languages have a concept that describes how the contents of a field are interpreted according to the data type.
    In the ABAP type concept, fields are called data objects. Each data object is thus an instance of an abstract data type. There are separate name spaces for data objects and data types. This means that a name can be the name of a data object as well as the name of a data type simultaneously.
    Data Types
    Data types are templates for creating data objects. Data types can be defined independently in the ABAP program or in the ABAP Dictionary. As attributes of a data object, data types can also exist in a non-independent state. Data types do not use any memory space for work data, but may require memory for administration information.
    As well as occurring as attributes of a data object, data types can also be defined independently. You can then use them later on in conjunction with a data object. The definition of a user-defined data type is based on a set of predefined elementary data types. You can define data types either locally in the declaration part of a program using the TYPESstatement) or globally in the ABAP Dictionary. You can use your own data types to declare data objects or to check the types of parameters in generic operations.
    All programming languages distinguish between various types of data with various uses, such as ….. type data for storing or displaying values and numerical data for calculations. The attributes in question are described using data types. You can define, for example, how data is stored in the repository, and how the ABAP statements work with the data.
    Data types can be divided into elementary, reference, and complex types.
    a. Elementary Types
    These are data types of fixed or variable length that are not made up of other types.
    The difference between variable length data types and fixed length data types is that the length and the memory space required by data objects of variable length data types can change dynamically during runtime, and that these data types cannot be defined irreversibly while the data object is being declared.
    Predefined and User-Defined Elementary Data Types
    You can also define your own elementary data types in ABAP using the TYPES statement. You base these on the predefined data types. This determines all of the technical attributes of the new data type. For example, you could define a data type P_2 with two decimal places, based on the predefined data type P. You could then use this new type in your data declarations.
    b. Reference Types
    Reference types are deep data types that describe reference variables, that is, data objects that contain references. A reference variable can be defined as a component of a complex data object such as a structure or internal table as well as a single field.
    c. Complex Data Types
    Complex data types are made up of other data types. A distinction is made here between structured types and table types.
    Data Objects
    A data object is an instance of a data type and occupies as much memory space as its type specifies. An ABAP program only works with data that is available as content of data objects. Data objects are either created implicitly as named data objects, or exanonymous data objects using CREATEDATA.
    Data objects are the physical units with which ABAP statements work at runtime. The contents of a data object occupy memory space in the program. ABAP statements access these contents by addressing the name of the data object and interpret them according to the data type.. For example, statements can write the contents of data objects in lists or in the database, they can pass them to and receive them from routines, they can change them by assigning new values, and they can compare them in logical expressions.
    Each ABAP data object has a set of technical attributes, which are fully defined at all times when an ABAP program is running (field length, number of decimal places, and data type). You declare data objects either statically in the declaration part of an ABAP program (the most important statement for this is DATA), or dynamically at runtime (for example, when you call procedures). As well as fields in the memory area of the program, the program also treats literals like data objects.
    A data object is a part of the repository whose content can be addressed and interpreted by the program. All data objects must be declared in the ABAP program and are not persistent, meaning that they only exist while the program is being executed. Before you can process persistent data (such as data from a database table or from a sequential file), you must read it into data objects first. Conversely, if you want to retain the contents of a data object beyond the end of the program, you must save it in a persistent form.
    Declaring Data Objects
    Apart from the interface parameters of procedures, you declare all of the data objects in an ABAP program or procedure in its declaration part. These declarative statements establish the data type of the object, along with any missing technical attributes. This takes place before the program is actually executed. The technical attributes can then be queried while the program is running.
    The interface parameters of procedures are generated as local data objects, but only when the procedure is actually called. You can define the technical attributes of the interface parameters in the procedure itself. If you do not, they adopt the attributes of the parameters from which they receive their values.
    ABAP contains the following kinds of data objects:
    a. Literals
    Literals are not created by declarative statements. Instead, they exist in the program source code. Like all data objects, they have fixed technical attributes (field length, number of decimal places, data type), but no name. They are therefore referred to as unnamed data objects.
    b. Named Data Objects
    Data objects that have a name that you can use to address the ABAP program are known as named objects. These can be objects of various types, including text symbols, variables and constants.
    Text symbols are pointers to texts in the text pool of the ABAP program. When the program starts, the corresponding data objects are generated from the texts stored in the text pool. They can be addressed using the name of the text symbol.
    Variables are data objects whose contents can be changed using ABAP statements. You declare variables using the DATA, CLASS-DATA, STATICS, PARAMETERS, SELECT-OPTIONS, and RANGESstatements.
    Constants are data objects whose contents cannot be changed. You declare constants using the CONSTANTSstatement.
    c. Anonymous Data Objects
    Data objects that cannot be addressed using a name are known as anonymous data objects. They are created using the CREATE DATAstatement and can be addressed using reference variables.
    d. System-Defined Data Objects
    System-defined data objects do not have to be declared explicitly - they are always available at runtime.
    e. Interface Work Areas
    Interface work areas are special variables that serve as interfaces between programs, screens, and logical databases. You declare interface work areas using the TABLES and NODESstatements.
    regards,
    sravanthi

  • Checkboxes and Custom Data Objects

    I'm trying to create a form with a list of checkboxes based on customers' interests - there's 8 in all and they can select multiple options.
    What I want to do is to create shared lists for each option which will serve as a segment members for future mailings.
    I also need to hold the data for that individual together so if I ever need to, I can go in and say 'Well, Joe Bloggs here is interested in X, Y and Z so I'll put him into campaigns A and B'.
    Are Custom Data objects the way to go? I've had a go at creating one and mapping it, but I don't know what to do with these checkboxes!!
    Thanks!!

    For the shared list, simply use the "Add to Shared Contact List" processing step for your form and make it conditional on the box being checked. You'll need 8 of these steps, one for each option.
    For keeping the data, I would use a Custom Data Object. Create a new CDO set with a field for the email address and one for each of your checkboxes (plus whatever other info you want, of course.) And then use the "Update Custom Data Object - With Custom Values" processing step. You can set this step to add a "yes" or "on" or whatever else you'd like to the appropriate field in the CDO. Again, make this step conditional on the checkbox being checked in your form. Again, you'll need to create 8 of these steps, but once you get the first one done, the others should go quicker.
    PS, I kept typing "from" instead of "form." Argh.

  • Why is Java better than c#. most people say c# is better

    I have entered forums and end up seeing informations on c# being better than java. Pls can any body tell me what makes java better than c#. This days every one i know is now going c#. They are discoraging me to also go c#.
    i am quite con fussed. The only thing that keeps me to JAVA is platform independence.

    Well, I suppose you can search Google for 'C# vs java' and read an article such as
    http://en.wikipedia.org/wiki/Comparison_of_Java_and_C_Sharp.
    However arguing which is better is best left as an exercise for developers with a lot of experience in both languages rather than those just starting out (If your just starting out, you will not use the advanced features one has over the other).
    I think the market will be evenly split between both languages for quite some time. Ideally, as a professional developer you should know both well so you are more employable. For Java, I suggest getting familiar with The Eclipse IDE since its used by the bulk of Java developers. For C#, I suggest you install Visual Studio Express because its used by the bulk of C# developers (and the express version is free).
    I suggest you first learn one or the other very very well and good coding practices before learning the other language to avoid mixing the two somewhat different coding styles.
    I suggest learning whichever language your friends are using assuming you communicate with them about programming often (so you can help each other). If instead your on your own, I suggest you learn Java. I think you will have an easier time picking up the Object Oriented philosophy than C# because in my opinion Java is more low level coding and C# is more high level coding (ie, the advanced features it can do a lot for you). You should have a good handle on the low level concepts first. In may opinion, once you know Java well, C# is a lot easier to pick up since they are both object oriented and are very similar object oriented languages.

  • Reading/Setting Process Data Objects from Java Spring Component or XSLT

    I have a BPMN process that references a Spring Component service.
    The Spring service has a Java class and within that class I'd like to be able to reference process data objects of the BPMN process.
    Ideally, I'd like to simply read and write to those objects within the Java class.
    However, if that's not possible, I don't I can set input parameters on the Java class and have it return an object.
    If I go that route, how can I pass in or return an object of a type other than your standard types (string, int, boolean)?
    For example, I have a data object that is a type I created based on a schema.
    How would I refer to that in a Java class?
    Hope that makes sense.
    Thanks,
    Mike

    Hi Adam.
    I'm a little confused on the order of operations.
    Here are the steps I took:
    1. In JDeveloper, I created two Java classes: one interface and one class that implements it. Initially, the one method takes parameters that are Strings. I want it to also take a data type that's defined in a schema.
    2. In the composite, drag Spring Context component onto screen. This opens the XML and here I define the <bean> that points to the two Java classes I just created.
    3. In the composite, I create a pointer from the Spring component to Exposed Services and I create a new service, which creates the WSDL.
    4. Now I edit the WSDL to import the schema that defines the type I want.
    5. In my BPMN process, I add a call to the service I just created. For Data Associations, it recognizes the changes I made to the WSDL and I can map input variables to the new type added in step 4.
    Here's where I'm stuck. In the actual Java class, I don't know how to add the parameter for the data type I created. Where is this Java object created?
    Thanks,
    Mike

  • In terms of scalabilty, will static method in normal java class better than

    You only have one copy of the static method in memory, but you have a few copy of the stateless session bean, plus the overhead of those session bean.So isn't static method of normal java class more scalable than stateless session bean.

    Then you have to take care of transaction management, connection pooling, etc other ejb services all by your self.
    In fact stateless session beans acts more like a static class. They do not get destroyed when remove() method is called on client stub. Similarly they are not always gets created whenever someone calls create() method on home interface!! (Again it's specific to appserver implementation)
    Thx.

  • How to execute Custom java data source LOV view object from a common mthd?

    Hi,
    My application contains Custom java data source implemented LOVs. I want to have a util method which gets the view accessor name, find the view accessor and execute it. But i couldn't find any API to get the view accessors by passing the name.
    Can anyone help me iin how best view accessors can be accessed in common but no by creating ViewRowImpl class (By every developer) and by accessing the RowSet getters?
    Thanks in advance.

    I am sorrry, let me tell my requirement clearly.
    My application is not data base driven. Data transaction happens using tuxedo server.
    We have entity driven VOs as well as programmatic VOs. Both are custom java data source implemented. Entity driven VOs will participate in transactions whereas programmatic VOs are used as List view object to show List of values.
    Custom java datasource implementation in BaseService Viewobject Impl class looks like
            private boolean callService = false;
        private List serviceCallInputParams = null;
        public BaseServiceViewObjectImpl()
            super();
         * Overridden for custom java data source support.
        protected void executeQueryForCollection(Object qc, Object[] params, int noUserParams)
            List dataFromService = null;
            if(callService)
                callService = retrieveDataFromService(serviceCallInputParams);
            setUserDataForCollection(qc, dataFromService != null? dataFromService.iterator(): null);   
            super.executeQueryForCollection(qc, params, noUserParams);
         * Overridden for custom java data source support.
        protected boolean hasNextForCollection(Object qc)
            Iterator<BaseDatum> datumItr = (Iterator<BaseDatum>) getUserDataForCollection(qc);
            if (datumItr != null && datumItr.hasNext())
                return true;
            callService = false;
            serviceCallInputParams = null;
            setFetchCompleteForCollection(qc, true);
            return false;
        }Individual screen developer, who want to load data to VO, will do something like the below code in their VO impl class
        public void fetch()
            BaseServiceViewObjectImpl vo = this;
            vo.setCallService(true);
            vo.setServiceCallInputParams(new ArrayList());
            vo.executeQuery();
        }As these custom java data source implemented LOV VOs comes across the screens, i want to have a util method at Base VOImpl class, that gets the view accessor name, finds the LOV VO instance, retrieves data for that. I want to do something like
         * Wrapper method available at Base Service ViewObject impl class
        public void fetchLOVData(String viewAccessorName, List serviewInputParams)
            // find the LOV View object instance
            BaseServiceViewObjectImpl lovViewObject  = (BaseServiceViewObjectImpl) findViewAccessor(viewAccessorName);
            // Get data for LOV view object from service
            lovViewObject.setCallService(true);
            lovViewObject.setServiceCallInputParams(serviewInputParams);
            lovViewObject.executeQuery();
    Question:
    1. Is it achievable?
    1. Is there any API available at View Object Impl class level, that gets the view accessor name and returns the exact LOV view object instance? If not, how can i achieve it?

Maybe you are looking for

  • Won't print to my air printer

    I get an error message when trying to print

  • Tracking Edit Original in CS4

    Hi All, How can we know if an image has been edited with 'Edit Original' option in CS4. In previous Indesign versions (before CS4), the UIDRef of the link used to change if the image is saved after editing. In CS4 it doesn't change. In previous versi

  • How do i get my RAM to work ?

    Hi there.I have a Ram issue i really would like to get solved. i have 2x512MB RAM (TwinMOS PC3200 DDR-DIMM 1024MB Dual Pack) + i have 2x256MB RAM  (Brand : Kingston)  The Kingston RAM have this numbers: 9930282-007.A00  KVR400X64C3A/256 P53483-268183

  • Cold backup using RMAN

    Dear All, db_version :10.2.0.4 os_version:Window 2003 server Environment:Test I wish to perform cold backup using RMAN for the same i want to know following : 1. What is the script / command ? 2. How to restore cold backup completely ( ex:- if i lost

  • Problems with sound in the FCP

    I have a mpg movie that was created in another software Studio 14. I transfer the file to my HD and it plays fine video and sound. I need to edit it and I imported it into a FCP project. The video is fine, but there is no sound at all. Any suggestion