Confusion about Kodo and JCA

Hi,
I'm a bit confused about Kodo's Connection Architecture strategy. It is my understanding that
PMF's can be built to use the connection architecture. Along this line, one would configure the
ConnectionFactory or ConnectionFactoryName, and possibly the ConnectionFactory2 and
ConnectionFactory2Name properties in a PMF. The result of the PMF implementation supporting the
connection architecture is nice integration with the application servers in terms of security,
transaction, and connection management. One can lookup in JNDI a reference to a Kodo PMF that
supports datastore transactions or to another one that supports optimistic transactions or to
another one that supports NTR, and with proper settings of the transactional properties and suitable
application code, one's sesson bean will work.
But from what I can see of Kodo's JDOPersistenceManagerFactory class, it, itself, implements the
ManagedConnectionFactory interface, meaning, I think, that this class is resource adaptor. And that
the part that confuses me. Why would Kodo be a resource adaptor? I thought it used a resource
adaptor, which I think is the same thing as a connection factory.
Anyway, I'm puzzled, and I'm hoping that someone could straighten me out.
David Ezzio

David-
The fact that Kodo can integrate into an application server as a
Resource Adaptor, and section 3.2.2 of the specification that says that
the PersistentManagerFactory should be able to utilize a Resource
Adaptor to obtain connections to the data store are two separate issues.
We implement Kodo itself as a Resource Adaptor in order to provide ease
of integration into recent application servers. Your confusion is
understandable, since we do not actually yet support the use of Resource
Adaptors as the Connection Factories as per section 3.2.2.
Does that make sense?
David Ezzio <[email protected]> wrote:
Hi,
I'm a bit confused about Kodo's Connection Architecture strategy. It is my understanding that
PMF's can be built to use the connection architecture. Along this line, one would configure the
ConnectionFactory or ConnectionFactoryName, and possibly the ConnectionFactory2 and
ConnectionFactory2Name properties in a PMF. The result of the PMF implementation supporting the
connection architecture is nice integration with the application servers in terms of security,
transaction, and connection management. One can lookup in JNDI a reference to a Kodo PMF that
supports datastore transactions or to another one that supports optimistic transactions or to
another one that supports NTR, and with proper settings of the transactional properties and suitable
application code, one's sesson bean will work.
But from what I can see of Kodo's JDOPersistenceManagerFactory class, it, itself, implements the
ManagedConnectionFactory interface, meaning, I think, that this class is resource adaptor. And that
the part that confuses me. Why would Kodo be a resource adaptor? I thought it used a resource
adaptor, which I think is the same thing as a connection factory.
Anyway, I'm puzzled, and I'm hoping that someone could straighten me out.
David Ezzio--
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com
Kodo Java Data Objects Full featured JDO: eliminate the SQL from your code

Similar Messages

  • HT201320 I am having trouble with password. Forgetting password,as I have many mail IDs like yahoo,gmail,hotmail,apple, I cloud etc.,thus confusing about password and restating through procedures. The altered password is not accepted I Safari

    I am having trouble with password. Forgetting password,as I have many mail IDs like yahoo,gmail,hotmail,apple, I cloud etc.,thus confusing about password and restating through procedures. The altered password is not accepted I Safari. When I want to open my mail but window appears as incorrect password though the mail appears on the left. however whe I go to my mail separately opening my mail, without mail icon in my pad.

    I'm having the same problem, what did you do?

  • Confused about XPostFacto and the 8GB Limit - Please help

    Hi all,
    I've been running XPostFacto 4.0 on my Apple G3 Desktop (Rev C, 640MB Ram, 533 Mhz G4 OWC CPU upgrade) for sometime and is running great.
    But I have a question about the 8GB rule.
    This computer only runs off of a Seritek SATA card. There is a 35 GB Raptor drive on it, the first 7.81 GB is the 10.3.9 drive, and rest is for applications and files.
    I added a 160 GB Hitachi drive to the SATA card that I moved from my G4 MDD computer. It already has 3 partitions: 30 GB for 10.3.9, 10GB for OS9, and 115 GB for audio production files.
    If I wanted to boot off the Hitachi drive, would I have to re-format and create a 8 GB partition?
    As is, if I try to boot off the drive I just added, XPostFacto tries to synchronize the files, then it invariably crashes.
    I tried reading the manual again, but I get confused about the Mac OS X Installer and the 8GB rule, and so on.
    Thanks!

    i wound up erasing the partition on the transferred drive and carboncopycloning the beige's OS X drive to it...and now the transferred drive is booting ok!
    now, i'm thinking of copying the whole raptor drive over and re-partitioning the raptor drive (strangely, the raptor appears with about 9 partitions on Disk Utility, though the only two that i created are clickable...wonder if the OS sees this drive as something like scsi).
    this is a little asides the point, but on my MDD, the 7200 hitachi seemed to test as "faster" than the 10000rpm raptor in most categories. would the 7200 drive infact be better for OS style-tasks?
    Powerbook Alum 15 G4, MDD Dual 867 Mhz, Beige Minitower G3 Mac OS X (10.3.9)

  • Trying to set up encrypted mails but I'm confused about certificates and keys

    Hello all,
    My first foray into encrypted emails and I'm already confused! To begin with, I'm trying to exchange mails with one other person, who I believe uses Outlook. So far:
    He's sent me his certificate (although I thought I would receive his public key) which is a file called smime.p7m. I don't know what to do with this.
    I've successfully followed the instructions at https://support.mozilla.org/en-US/kb/digitally-signing-and-encrypting-messages. When I start a new mail, I can either go to the Enigmail menu and switch on encryption / digital signing and it seems fine, or I can go to the dropdown on the S/MIME button and it says "You need to set up one or more personal certificates before you can use this security feature." Are these two different ways of doing the same thing (in which case I'll use the one that works!) or not?
    As you can see, I'm getting confused between keys and certificates! If some kind person could take a minute to explain what my next steps are, that would be much appreciated. I couldn't find anything on the Thunderbird support pages, though I know I need to send him my public key.
    Thanks in advance.
    Stuart.

    Stuart8, good find, that article.
    I found the main disincentive to using the built-in S/MIME capability is that it's not immediately obvious where to get your certificate and keys. Most providers want $$$ for them, which is natural enough if they are actually going to validate you in some way. I did at one time have a Thawte certificate and even enough WOT vouches to be a low-grade WOT Attorney.
    Once you have your key, it's a bit of a pfaff to install it into Thunderbird. You'll probably find that S/MIME is the default in business correspondence, since many businesses operate their own mail servers, ftp servers and so on and probably have an arrangement to generate self-issued certificates or to buy them on a commercial basis from a CA.
    Enigmail/OpenPGP doesn't require any financial outlay on your part, but is harder to get your keys properly validated since there's not much of a formal WOT nor a reliable central registry. You generate your own keys and it's pretty much all based on mutual trust.
    Since the two systems are incompatible, you need to have set up the same as whatever your correspondent is using.
    I suspect that you have discovered that it's a two-way process. In order for a correspondent to send you an encrypted message, you must both be using the same system, and he must have your public key to encrypt his message, and you'll need his in order to reply with encryption. So yes, he needs to send you his public key for you to send to him, but what he sends to you needs YOUR public key.
    Obviously, signing messages is a useful halfway house. I believe that you sign with your private key, and the recipient will have to download your public key to validate your signature. Whilst a signature doesn't safeguard your privacy, it goes some way to proving that the message came from who it says it came from and that it hasn't been altered in transit. (I really can't understand why banks, lawyers, insurance companies haven't picked up on these encryption and signing schemes. Perhaps they actually prefer all those awful phone calls where you need to struggle to recall supposedly unforgettable names and dates! ;-) )
    In practice, I find that if you sign a message to an outfit who don't know what to do with it, their numpty anti-virus system will probably barf on the signature which it thinks is executable code and therefore must be a virus or worm. :-(

  • [solved] confusion about vim and its config files

    Hi, Im getting really confused with vim and its /etc/vimrc config, and the per user ~/.vimrc.
    On one of my PC's I have an untouched /etc/vimrc and a /home/jason/.vimrc which has:
    syntax on
    now, on that same PC, if I run
    vim .vimrc
    "syntax on" in green and yellow as expected, and if I run
    sudo vim .vimrc
    I also see
    "syntax on" in green and yellow, but surely this is opening it as root?
    *Edit
    Even though there is no .vimrc in /root, and the system-wide /etc/vimrc is untouched/blank
    On another PC I also have an untoched /etc/vimrc, and a /home/jason/.vimrc which has:
    syntax on
    Aswell, and:
    vim .vimrc
    has "syntax on" in green and yellow as expected, but this time:
    sudo vim .vimrc
    Has no colour?
    I cant explain this, any ideas?
    *Edit
    To clarify, both PC's have an untouched /etc/vimrc and there is no /root/.vimrc file on either PC
    Last edited by jrussell (2013-04-14 10:21:42)

    siriusb wrote:
    The configuration files in /etc are for system-wide settings. These are the default settings if not overridden by a user's own settings in their home directory.
    So running vim as your regular user will use the settings from your home directory.
    What does sudo? From man sudo
    sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy.
    So if you didn't specify any setting in the home folder of the user you want to run vim as, and you don't have anything in /etc/vimrc, vim won't apply any custom settings.
    I understand all of that, but on both my PC's I have a clean/untouched config /etc/vimrc, and both /root/.vimrc files do not exist, so howcome on one PC I get colour with sudo vim...., and on the other I dont?

  • Confuse about ADS and How to check ADS in NW7.0

    I confuse about ADS. It's a separate software from NW 7.0 or integrate when install NW7.0 . How to check ADS in NW7.0.
    Thanks in advanced

    Everything here : https://www.sdn.sap.com/irj/sdn/adobe
    Summary: installed with NW7.0, you must configure it. See config guide how to check it.

  • Confused about CLASSPATH and how java handles import statements...

    Hello,
    I must admit I don't get it. I read the articles about setting CLASSPATH etc. but I still wonder:
    If you use an import statement, what does the compiler do? I.e. where does it look for the specified classes? I find it confusing because I see in different locations different .jar files:
    C:\jdk1.3.1_03\lib\dt.jar
    C:\jdk1.3.1_03\lib\htmlconvertor.jar
    C:\jdk1.3.1_03\lib\tools.jar
    and also
    C:\jdk1.3.1_03\jre\lib\i18n.jar
    C:\jdk1.3.1_03\jre\lib\rt.jar
    C:\jdk1.3.1_03\jre\lib\jaws.jar
    C:\jdk1.3.1_03\jre\lib\sunrassign.jar
    Can someone explain me what the purpose is of these files?
    And why do I have the same contents in
    C:\Program Files\JavaSoft\JRE\1.3.1_03\lib
    and in
    C:\jdk1.3.1_03\jre\lib
    Why is that?
    Thanks for answering my questions!
    -mike

    Thanx for the answers, but I still wonder, everyone
    here says I need to set the classpath, but I don't.Probably because your classes are already in the class path. The compiler/jvm also look for classes by themselves not just in jar files, when just a directory is supplied in the class path. And a period (".") is a valid directory.
    Programs importing different classes compile with no
    problem. So what's up with that?
    Presumably you are referring to your own code - because they are in the class path.
    Second, I still don't understand why the runtime needs
    the .jar files. The runtime uses classes, like String, that have to come from somewhere.
    This would also mean that end-users
    need to set the classpath to the .jar files in their
    JRE directory to be able to run programs that import
    classes from these .jars. But this is not true, right?No it is true. The end-users will have to set the class path. There are variations on this which make it seem like no class path is set. For instance applets in a browser are java but the end-user does not need to set a class path. That is because the browser knows how to download classes/jars and how to set it up so it uses them. (Actually it uses a class loader, but that is probably more information that you need.)
    Because if I make some nice classes myself and import
    them, how can I expect my end-user to install these
    classes and make a classpath for them?That would be between you and you end-user.
    First installation is not part of java. For installation you will have to find something outside of java to accomplish the goal.
    Additionally how the class path gets set is OS specific. Java does not deal with that. You will also have to find some way to deal with this (most likely part of the installation.)
    There are also variations on this. For example the browser example I gave above. Or using the ext directory. Or creating an executable jar. Or simply setting the class path.
    In my understanding it should only be needed in the JDK, not
    in the JRE. True or am I mistaken?Mistaken. The class path is needed in the JRE as well. You will need to set it.

  • Confused about Mapviewer and SQL in OBIEE 11g.

    I read in another post that you cant use mapviewer unless you have an oracle database.
    Here is my confusion. The mapviewer product comes with OBIEE 11g, Correct?
    If I use Google Maps, and load the map information into an SQL data base, why wouldnt I be able to get it to work?
    I cant believe that Oracle, who makes a big deal about how OBIEE can work with "Any data source", would provide a key function
    that would only work with an Oracle data base, thereby purposely excluding many of their customers from using that key function.
    Someone please clear this up for me because we need to use maps and we use SQL Server 2008  for our data warehouse.

    Hi katherine,
    FILTER(count(distinct("customer info dimesion"."customerID")) USING ("TradeType Dimesion"."TradeType" = '001'))I think your formula there is mistake like many braces...instead type this in your f(x)
    =>Filter(count(distinct customer_id) USING trade type='001')
    This filter function is same like a case statement,if you filter still gives error write a case statement
    CASE WHEN TradeType Dimesion.TradeType='001' THEN count(distinct customer info dimesion.customerID) ELSE 0 END
    Will it be helpful?,follow this etiquette http://forums.oracle.com/forums/ann.jspa?annID=939
    By,
    KK

  • Confused about imessage and apple account

    So I just got my own icloud account. I used to share one with someone else but now I got my own. First, is the icloud account the same as apple account? Like is the apple store account the same as the icloud account?? Second, since I got this new account I started using it in imessage. But one problem is that it's not showing my phone number on the send and receive. But on the old account it does. Why is this? I'm super confused! What's the deal with all these accounts and it's relationship with imessage?
    i Have an iPhone 4S(ios 7), the newest ipod(ios 8) and an ipad air(ios 7)
    thank you

    iOS and OS X: Link your phone number and Apple ID for use with FaceTime and iMessage
    Using your Apple ID for Apple services
    Frequently asked questions about Apple ID

  • Confused about import and export formats

    I have a load of 8mm video footage that I want to archive before the old camera dies. As a first step I have used my DVD/HDD recorder attached to my TV to save the footage from the camera, do a little bit of editing and then burn onto DVD at the highest quality available. Doing this I can get 60 mins of footage onto each DVD and the quality is a good as the original. I now want to play with a few of these by importing into iMovie 09 so that I can add a few titles and link clips together with a few transitions. Nothing too complicated. Here's where I get a bit lost with all the formats available to me for importing and exporting. What's the best way of doing this? Having read around a bit it looks like conversion to DV is good for getting into iMovie in the first place. To do this I have tried using MPEG Streamclip and it looks OK, but what about all of the settings options DV25, DVCPRO25, DVCPRO50, frame blending, downscaling etc etc no idea what any of this means. Then having added a few bits and pieces, what's the best way of saving it again to make sure that I keep the quality as high as possible - DV? Ultimately I'd like to have the edited movies back on DVDs with the footage quality the same as I started with i.e. no compression artefacts. If I save the final version in DV format I could then keep copies to view with Quicktime and then do I just use iDVD or MPEG Streamclip to convert to a format playable on a DVD player. Is there any guide somewhere as to what all of the different formats are for pro.s cons etc. Also confused as to why files get bigger and bigger e.g. a 20min clip on a DVD is about 1.5GB, but when converted to DV becomes almost 5GB. I can understand how compression makes files sizes smaller, but what's happening here??
    Neil

    A Quick Time .mov movie can play on any PC as log as they have the Quicktime player
    free http://www.apple.com/quicktime/
    To do it, open iMovie, pick you project, then "Share to Media Browser" and pick the "HD" setting. It can take hours/movie depending on their length. Once it is done you can find it inside the iMovie project's file. TO get there, go to Users Folder -> your User name folder -> Movies -> iMovie projects -> and find the project that you made the movie from. Right click on that file (or use the control key as you click on the file) and you will see a menu -> Show Package contents -> Movies and your 720p .mov movie will be in that Movie folder. you can drag it to your desktop and copy it to your external HD or flash drive.
    roger

  • Confused about iTunes and home sharing

    My family of 4 has been using iTunes for a number of years with our iPhones (4 iPhones) but this home sharing has me confused and maybe I have been doing things wrong. Right now we have four different PCs, iTunes is installed on each computer. Each computer has it's own library. Each iPhone is synced with a different PC with its own library. Each of us have our own iTunes account with a different email address (so 4 different accounts), the two kids have their own credit card associated with their own accounts (I do not want to pay for their purchases), my wife and I have the same credit card with our two different accounts.
    So when I try to set up home sharing it wants me to put my wife's account into the home sharing on my machine and her machine so does that mean you can only share across one account? So she could not see items on my machine but I could access items on her machine? Does that mean the kids cannot share their purchases with both of us via home sharing? Perhaps my wife and I should start sharing the same iTunes account since the money comes from the same credit card.
    In the future I may purchase a laptop in addition to my desktop. So I would install iTunes on it and it would start with a different library than my desktop (although I believe I could copy the desktop library to the laptop initially) Does the laptop need a different iTunes account or could it keep the same one that I have on my desktop? How do I easy keep the libraries in sync and can I sync my iPhone with either my desktop or laptop and not get the iPhone or me confused.
    Please help thanks

    The iTunes/AppleTV/iOS comms system does seem to get easily confused at times even when it's worked peefectly for months.
    I've never felt these services which detect each other automatically are particularly good at re-establishing lost connections without restarting one or several components and as you suggest may be linked to IP addresses changing and devices still looking for each other on old IP addresses which have changes.
    Try restarting the Time Capsule - I had issues out of the blue last year, iTunes restart helped temporarily but the fix was a router power down and reboot (it had been on for months).
    Recently since 5.3, one of my AppleTV 3's has been very flaky with wifi - drops Home Sharing while loading a film then instantly finds it again once the film has stopped - wifi strength listed as full strength - might be interference but ethernet has fixed it for now.
    AC

  • Totally confused about "on" and "to"

    I program in several languages and have been reading up on Applescript for a full day in several references but I cannot figure why "to" is used in this example, what it means, or why not "on".  Since "to and "on" are both stopwords, I cannot search for this information.  Could someone provide a brief description of applicability and the distinction between the two.
    This example from the AppleScript Language Guide is the most confusing:
    script John
        property HowManyTimes : 0
        to sayHello to someone
            set HowManyTimes to HowManyTimes + 1
            return "Hello " & someone
        end sayHello
    end script

    From the Applescript Language Guide:
    Handler Syntax (Positional Parameters)
    A handler is a collection of statements that can be invoked by name. This section describes the syntax for handlers that use positional parameters.
    Syntax
    on | to handlerName ( [ userParamName [, userParamName ]...] ) [ statement ]...
    end [ handlerName ]
    Handler Syntax (Labeled Parameters)
    A handler is a collection of statements that can be invoked by name. This section describes the syntax for handlers that use labeled parameters.
    Labeled parameters are identified by their labels and can be listed in any order.
    Syntax
    ( on | to ) handlerName ¬
    [ [ of | in ] directParamName ] ¬
    [ ASLabel userParamName ]... ¬
    [ given userLabel:userParamName [, userLabel:userParamName ]...]
    [ statement ]... end [ handlerName ]
    Note the points I've highlighted in red.  You younguns probably don't know, but there's this pre-search tool called an "index" (pronounced ˈinˌdeks) In which one can find "page numbers" (those are kind of like links, though not as precise and requiring more physical action than a single mouse-click to follow). If you look up 'on handler parameter label' in the "index" and scroll backwards until that weird number they put at the bottom of every page matches the number given, you'll be amazed. 
    Hard to believe that the ancients could do something that sophisitcated, I know.  I mean seriously, these are people who painted symbols on sheets made out of pulped wood and wrapped them in animal hides for protection.  But there you have it.

  • CS5 confusion about saving and previews

    I'm adjusting to the recent upgrade to CS5 but have reached a hiccup. I'm on a Mac Pro (2010) with OS 10.6.4. Previously, when I've saved a file (whether it was a jpg, tiff, eps, png., psd...), a preview was created. If I double-clicked on it to open it, even if Photoshop wasn't opened, the document would open up in the native Photoshop software. Now, after saving a tif, jpg. or eps., upon double-clicking, the document opens up in the generic Macintoch preview window and will not initiate the Photoshop software. I checked my preferences for document handling and the "Always Save" in: Icon and Windows Thumbnail are checked. There is no longer a save in Macintosh Thumbnail, as in previous software versions. I hope this explains my full dilemma and that a member will see the discrepancy to help me out. Is there something I need to change that I can't recognize?
    Thanks,
    Al

    I'm a bit confused by your explanation, is the problem that when you save the file it doesn't have a thumbnail? If so, are you running Photoshop 12.0.1? There was a fix on the 12.0.1 update to fix this.
    If the problem is that when you double click on a file it doesn't open in Photoshop, then you just need to change a preference in Finder. Select the file you want (say, a .tif) and go to File>Get Info (or Command+I). On the "Open With:" option, choose Photoshop CS5 from the drop down menu. After that, click on the "Change all" button below it. You'll need to do that to all the extensions you want (.jpg, etc)
    Hope this helps!

  • Confusion about Reader() and InputStream()

    I am reading the "Overview of I/O Streams" tutorial, and I'm trying to get a handle on streams. I can't seem to understand whether InputStream() is a subclass of Reader() or if they are just two separate classes. I think they are two separate classe because one reads bytes the other reads chars...but then at the beginning of the tutorial it says everything is derived from the Reader() class. What's the dealio?

    I think you are confused.
    InputStream is not a subclass of Reader. Both of them extend from Object.
    Reader is used to handle the data in the form of characters, while InputStream is used to handle the data in the form of bytes.
    Read the explanation carefully in the tutorial.

  • Quiz 1: confused about destroyApp() and notifyDestroy()

    There was a question in the Lesson 1 quiz where notifyDestroy() was called in the startApp() method and the question is basically what happens? Does it keep running, etc..? I got the question wrong twice, and a popup came up and said that destroyApp() would be called. However, if I look at the javadocs for notifyDestroy() it reads "The application management software will not call the application's destroyApp method..."
    So what exactly are the life cycle differences between these two methods, and is the quiz wrong or am I misreading something?
    Thanks!

    Hi!
    It's simple: destroyApp is called by framework to notify app that it will be destroyed, notifyDestroyed() is used to be used by app to notify framework about app shutdown. 
    /Sergey

Maybe you are looking for

  • GPIB Ethernet/1​00 Performanc​e

    Does anyone have some real world peformance measurements on the transfer speeds of the NI GPIB-Ethernet/100 box. I am very disappointed in the performance of a block read which is approximately 6ms/byte transfer (tested from 20 bytes to 32kbytes bloc

  • Opening multiple screens in safari

    how do i open multiple screens using safari???

  • Problem with character

    Hi Cyrillic letters don't show as cyrillic, show other symbols on the text of JLabal, JButton, JMenu..., but I can write cyrillic text to JTextField, JTextArea when app is working. Thanks, ~Hill

  • Migrate NW Server with Root Master, CA, and DA Running On It

    It looks like I am finally going to start moving our old NW environment over to OES. When we looked at doing this before, it seemed very difficult to move the services in my title over to OES. From what I can tell now though from the docs and forum p

  • Dreamweaver cs4 refuses to start. Error window pops up but there is no message

    I recently downloaded an Dreamweaver extension (HTML5) for cs4. Shortly after I got an error while I was working in Dreamweaver about the ssi.html server. When I closed dreamweaver and tried to restart, Dreamweaver refused to start. There is a popup