WebLogic: Can I use CMP for HTTP/XML calls like I can for JDBC ConnPools

I have an Entity EJB that I currently persist using WebLogic's CMP with an Oracle Conn Pool and JDBC. I have a new persistance (home-made) storage system that talks XML over HTTP. No real SOAP implementation except in the XML/HTTP communications.
Questions:
Can I still leverage CMP to persist entities - such that I could create a pool of XML/HTTP objects (that open a java.net connection - send a URL request in XML format) and have CMP handle persisting as it does now?
I would think there is some universal way to create a pool of communication objects to talk to anything if you define the mechanisms..right? If so, how do I get CMP to see that? In other words, is CMP only applied to "Known" data sources? Or can I give it my own..create my own weblogic-cmp.xml file.

So, you have a home-made persistence solution with your own API and you expect CMP (_Container_ Managed Persistence) to be able to hook into that? Unlikely, right?
Maybe you could implement a JDBC driver on top of your persistence scheme, then you might have a shot.
Vlad.
P.S. Entity beans' performance is so bad everyone recommends against using them -- doing persistence over something as slow as HTTP would only make matters worse.

Similar Messages

  • How can I use a 3rd party XML parser such as xerces with OC4J ?

    Hi all tech experts,
    I am using Oracle Application Server 10g Release 2 (10.1.2) and i have
    installed Portal and Wireless and OracleAS Infrastructure on the same
    computer.
    i tried all the solutions on this thread
    Use of Xerces Parser in out application with Oracle App Server 9.0.4
    but still fighting.
    I have also posted this query on OTN on following thread
    How can I use a 3rd party XML parser such as xerces with OC4J?
    but no reply....
    Please help me on this issue.
    Since OC4J is preconfigured to use the Oracle XML parser which is xmlparserv2.jar.
    i have read the following article which states that
    OC4J is preconfigured to use the Oracle XML parser. The Oracle XML parser is fully JAXP 1.1 compatible and will serve the needs of applications which require JAXP functionality. This approach does not require the download, installation, and configuration of additional XML parsers.
    The Oracle XML parser (xmlparserv2.jar) is configured to load as a system level library of OC4J through it's inclusion as an entry in the Class-Path entry of the oc4j.jar Manifest.mf file. This results in the Oracle XML parser being used for all common deployment and packaging situations. You are not permitted to modify the Manifest.mf file of oc4j.jar.
    It must be noted that configuring OC4J to run with any additional XML parser or JDBC library is not a supported configuration. We do know customers who have managed to successfully replace the system level XML parser and the Oracle JDBC drivers that ship with the product, but we do not support this type of configuration due to the possibility of unexpected system behavior and system errors that might occur from replacing the tested and certified libraries.
    If you absolutely must use an additional XML parser such as xerces, then you have to start OC4J such that the xerces.jar file is loaded at a level above the OC4J system classpath. This can be accomplished using the -Xbootclasspath flag of the JRE.
    i have also run the following command
    java -Xbootclasspath/a:d:\xerces\xerces.jar -jar oc4j.jar
    but no success.
    How could i utilize my jar's like xerces.jar and xalan.jar for parsing instead of OC4J in-built parser ?
    All reply will be highly appreciated.
    Thnx in advance to all.
    Neeraj Sidhaye
    try_catch_finally @ Y !

    Hi Neeraj Sidhaye,
    I am trying to deploy a sample xform application to the Oracle Application Server (10.1.3). However, I encountered the class loader issue that is similar to your stuation. I tried all the three solutions but the application is still use the Oracle xml paser class. I am wondering if you have any insight about this?
    Thanks for your help.
    Xingsheng Qian
    iPass Inc.
    Here is the error message I got.
    Message:
    java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement
    Stack Trace:
    org.chiba.xml.xforms.exception.XFormsException: java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement
         at org.chiba.xml.xforms.Container.dispatch(Unknown Source)
         at org.chiba.xml.xforms.Container.dispatch(Unknown Source)
         at org.chiba.xml.xforms.Container.initModels(Unknown Source)
         at org.chiba.xml.xforms.Container.init(Unknown Source)
         at org.chiba.xml.xforms.ChibaBean.init(Unknown Source)
         at org.chiba.adapter.servlet.ServletAdapter.init(ServletAdapter.java:153)
         at org.chiba.adapter.servlet.ChibaServlet.doGet(ChibaServlet.java:303)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.ClassCastException: oracle.xml.parser.v2.XMLElement
         at org.chiba.xml.xforms.Instance.iterateModelItems(Unknown Source)
         at org.chiba.xml.xforms.Bind.initializeModelItems(Unknown Source)
         at org.chiba.xml.xforms.Bind.init(Unknown Source)
         at org.chiba.xml.xforms.Initializer.initializeBindElements(Unknown Source)
         at org.chiba.xml.xforms.Model.modelConstruct(Unknown Source)
         at org.chiba.xml.xforms.Model.performDefault(Unknown Source)
         at org.chiba.xml.xforms.XFormsDocument.performDefault(Unknown Source)
         at org.chiba.xml.xforms.XFormsDocument.dispatchEvent(Unknown Source)
         at org.apache.xerces.dom.NodeImpl.dispatchEvent(Unknown Source)
         ... 18 more

  • IDOCS for HTTP-XML

    Hi,
    I would like to use IDOCS on my SAP ECC6 EHP4 (ABAP). Our functionals are planning to use HTTP-XML function for IDOCS.
    My question is , do we require a JAVA stack for it to work? Secondly, does anyone has a configuration guide what to do for HTTP-XML to works?
    Thanks,
    Azir.

    Hi,
         In what format are you supposed to send the idocs to the 3rd party systems, in IDoc XML or Idoc flat structure?
    If you need to send it as falt file and are on Ehp 1, you can make use of the IDOCXMLToFlat converter module
    http://wiki.sdn.sap.com/wiki/display/XI/UsingJAVAIDOCModuleswithCustomorExtendedIDOC
    http://help.sap.com/saphelp_nw73/helpdata/en/74/a45bc07e2043fb9b63295229178903/content.htm
    The module can be called from any J2EE based adapter.
    Else, you need to follow the below mentioned approach of an Abap mapping to do the conversion.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a?quicklink=index&overridelayout=true
    Regards

  • Can I use my creative cloud account at the same time for my iMac and my MacBook?

    Can I use my creative cloud account at the same time for my iMac and my MacBook?

    Thank you Sheena!!
    Guy
    Op 2-jan.-2015, om 12:16 heeft Sheena Kaul <[email protected]> het volgende geschreven:
    Can I use my creative cloud account at the same time for my iMac and my MacBook?
    created by Sheena Kaul <https://forums.adobe.com/people/Sheena+Kaul> in Adobe Creative Cloud - View the full discussion <https://forums.adobe.com/message/7059158#7059158>
    Hi Guy Heyligen,
    Absolutely. You can use the creative cloud account on two machines.
    You may also refer to the link below:
    Creative Cloud Help | Creative Cloud / Common Questions <http://helpx.adobe.com/creative-cloud/faq.html>
    Regards,
    Sheena
    If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7059158#7059158 and clicking ‘Correct’ below the answer
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
    Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7059158#7059158
    To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"
    Start a new discussion in Adobe Creative Cloud by email <mailto:[email protected].com> or at Adobe Community <https://forums.adobe.com/choose-container.jspa?contentType=1&containerType=14&container=46 70>
    For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624 <https://forums.adobe.com/thread/1516624>.

  • Can i use my 2010 20" imac as an external monitor for my Power mac

    can i use my 2010 20" imac as an external monitor for my Power mac? Sounded like a 'no' a couple years back, but not sure if there are any new adapters out there.

    https://discussions.apple.com/thread/4082303?start=0&tstart=0

  • Can I use the samsung galaxy phone as a hot spot for the ipad

    can I use the samsung galaxy phone as a hot spot for the ipad

    If your Cell carrier supports it, you should have an option in your phone for "Portable Wifi Hotspot"  under Wifi and networks.
    Look in your Phone's manual for specifics.
    http://www.fusiondub.com/how-to-turn-your-samsung-galaxy-s3-into-a-wi-fi-hotspot -2/
    Once you set up the Hotspot, the iPad can connect to it like a regular Wifi network.

  • Can I use a student version adobe CS3 product to qualify for the $29.00 rate for the cloud?

    Can I use a student version adobe CS3 product to qualify for the $29.00 rate for the cloud?

    Hi Mariofsanders
    An educational version of the software does not qualify for the upgrade price of the Creative Cloud plans.
    Please see this link for the current plans.
    https://creative.adobe.com/plans
    Thanks
    Scott

  • HT2477 Can I use Microsoft excel on iMac ? Does it cost for this app?

    Can I use Microsoft excel on iMac ? Does it cost for this app?

    Yes you can. It is going to cost around 140 USD. However there are other products out there that are free:
    http://www.libreoffice.org
    http://www.openoffice.org
    You can check those out.
    Phil

  • Can I use iCloud to since many users to one account for my business and have me as a administrator to oversee and change peoples calendars?

    Can I use iCloud to since many users to one account for my business and have me as a administrator to oversee and change my employees calendars and contacts??

    Go to System Preferences and click Sign Out, select Delete at all the prompts, then sign back in with the changed ID?   (Your iCloud data will disappear from your Mac when you sign out and choose Delete, but will still be in iCloud.  Provided you are signing back into the same account your data will reappear on your Mac when you sign back in.)

  • Can i use an alternate email instead of an apple ID for iMessage?

    can I use an alternate email instead of an apple ID for iMessage?

    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage - Apple Support

  • Can I use a C/C++ xml parser in my java program?

    Hi,
    How can I use a C/C++ xml parser in my java program?
    Elvis.

    You would still need to convert the XML data structure into a Java data structure to import it into Java.
    Don't assume you need C++ to do anything. I woudl write it in Java first, then profile the application to see where the bottle necks are and then optimise them
    Don't optimise code unless you have proof it needs to be optimised.
    If you want to improve the speed of reading XML, try XMLbooster

  • [svn] 3148: You can now use CSS styles to set the default text format for TextView.

    Revision: 3148
    Author: [email protected]
    Date: 2008-09-08 15:01:15 -0700 (Mon, 08 Sep 2008)
    Log Message:
    You can now use CSS styles to set the default text format for TextView. It no longer has any formatting properties. It supports the entire set of Gumbo text format styles.
    SkinnableComponent and Group now also support all these styles. However, skins such as ButtonSkin, TextInputSkin, and TextAreaSkin continue for now to specify instance styles on their TextBox, TextGraphic, and TextView, in order to give them a Gumbo look rather than a Halo look. So if you try setting, for example, the fontSize on the Application, it doesn't yet affect the text format of a Button, TextInput, TextArea, etc. unless you remove the instance style in the skin.
    Reviewer: Glenn
    Bugs: -
    QA: Lots of new stuff to test!
    Doc: No
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/SkinnableComponent.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicEle ment.as

    Nevermind guys - I did it using the 'rb_on.selected' command on the "on" radio button if the .txt file variable was "on", else the "off" radio button is selected.
    Thanks for taking a look though!
    Shaun

  • How can I use apps that I have purchased from Apps Store for Mac on my iPad2?

    how can I use apps that I have purchased from Apps Store for Mac on my iPad2?

    Thanks, varjak, it is too easy to fall into use of jargon assuming everyone understands what it means.
    One additional point in all of this, not all "iDevice" apps run on every "iDevice".  Some are customized for a specific device, or class of devices such as the iPod/iPhone with their smaller screen.  Others for just the iPads for their larger screens.  So the user needs to be sure they are getting an app that will work on their specific device.
    And to Phoneboone, you do need to purchase the app again if it is for a different class of equipment.  When you are looking at apps such as iWorks for the Mac and iWorks components for the iPad, the iPad versions are very inexpensive.  Pages is only $10 (US) which is really cheap for such a good word processor that reads and saves in the MS Word format.
    Anyway, search for what you need and just enjoy the convenience of so many options for apps.

  • Can I use the songs that come with adobe Premiere Elements for commercial use/film?

    Can I use the default songs that come with adobe Premiere Elements for commercial use; such as in a film?

    C. Raio
    We are not Adobe here. Rather user to user.
    In the threads that I have read here the following is the user to user reply on this matter that is seen regarding project assets....Music Scores in this case....
    The Music Score soundtracks are from the Adobe Premiere Elements (12 or 13) Music Score selections within the program.
    And, they can be used in the users choice of export. As for "authorship", I guess you would point to Adobe, Premiere Elements version, Music Score.
    Would the evaluators settle for the above information?
    ATR

  • Can I use a Nokia C2-01 as bluetooth 3G modem for an iPad 2?

    Can I use a Nokia C2-01 as bluetooth 3G modem for an iPad 2?
         I asked the same to Nokia support, and they told me that the iPad should be compatible with one of the following profiles: "A2DP, AVRCP 1.0, DUN, FTP, GAP, GAVDP, GOEP, HFP, HSP, OPP, PAN, PBAP 1.0, SAP, SDAP, SPP 1.0".
         I just didn't get it ._.

    Yes. Download Nokia Suite. Then connect your phone to the pc via Nokia Suite. Define proper access points. Then you will be able to use the phone as modem.
    Please mark the post as solution if it solves your problem.
    Current Device - Nokia Lumia 1020/920

Maybe you are looking for

  • USB device does not work after sleep

    The problem in the following: X230t in tablet mode, connect to the USB port of the adapter USB to COM Port (ftdi232) all works fine, but if not disconnect the adapter from the USB port and put the laptop into sleep (or hibernation) the following incl

  • Is there a way to delete all my email messages in my inbox at once?

    Is there a way to delete all my email messages in my inbox in one move, rather than selecting one at a time, then deleting?

  • How to find out my Skype ID

    Hi, Can someone tell me how to find out my Skype ID? thanks

  • Export from Apex 3.2 and import to Apex 4.0

    I apologize if this has been asked before (and I am sure it has). We are about to move all our Apex/Oracle apps to a server where Apex 4.0 is installed. Our current Apex version is 3.2. My question is can we export from Apex 3.2 and import in Apex 4.

  • Best practice for Documenting SOA Composites

    Hi, I am looking for any general guideline or best practice to create documentation for composites developed as part of a project. Are there any plugins which help export in Visio or other tool? I don't see a create JPEG button on composite editor si