Oc4j and EJB2.0: not really?

Hello
Some colleagues and I are trying to port a large project from JBOSS to OC4J. We used JBOSS 3.0 (beta) in order to evaluate EJB2.0 features and see if we could use it. We already have OC4J in production, but only as a JSP/Servlet container. The next step would be to deploy our EJB application to OC4J.
We have read the material and it is written that OC4J (developers preview) is EJB 2.0 compliant. However, the specific documentation and the examples don't show how to specify OC4J specifc XML files. We absolutely need CMR and Local Interfaces, because we don't have the time required to downgrade our JBoss EJB2.0 application to the EJB 1.1 specification. We have over 80 Session Beans and over 20 Entity Beans.
Is there anybody there that can confirm that OC4J developer's preview is really EJB2.0 compliant? If so, could you send me some pointers to information about OC4J container specifc deployment descriptors? The docs listed at the web site don't have EJB2.0 features listed, nor does the Oracle samples.
Thanks for your attention,
desperately,
Luis Fernando Soeiro

Hello Debu
I've got alll howtos and I mangaged to get some parts of OC4J [Oracle9iAS (9.0.3.0.0) Containers for J2EE (build 020323.1689)] working.
There are still some issues that are stalling our development. Could you please comment on them, maybe providing an estimate of when they will be solved/implemented?
First of all, a little background. Our application uses many Java Swing application clients that connect to the EAR application in the container.
The ear application has the following structure:
All database access (Oracle 8i, located in its own server) is done exclusively by means of CMP entity beans. A entity bean may access other entity beans. There are workflow session beans (stateful and stateless) that access the entity beans. All clients see only the workflow session beans (session beans fagade).
Our applicatoin is complex, having more than 80 session beans and more than 25 entity beans (not counting entity beans that exist only to represent relationships among entity beans).
There goes the questions:
1) It seems that entity beans cannot currently be referenced by remote interfaces. We couldn't deploy our application using it. Since we could use only local interfaces fot entity beans, thats what is been done now.
2) There is no CMR supported. Is this true?
3) EJBQL seems to be very limited. In the howto examples there are EJBQL statements that compare two numbers. However, when we tried to use String comparisons, it didn't work. Here is the statement:
"SELECT DISTINCT OBJECT(p) FROM Person p WHERE p.name = ?1"
If I compile, package and deploy the ear applicatin with the above EJBQL statement, OC4J generates an exception when executing the finder method. The exception is:
"java.rmi.NoSuchObjectException: Session has timed out
at com.evermind.server.ejb.StatefulSessionEJBObject.throwPassivisat
ception(StatefulSessionEJBObject.java:188)
at Cad023Remote_StatefulSessionBeanWrapper0.obterPessoasPorParteNom
023Remote_StatefulSessionBeanWrapper0.java:754)
at java.lang.reflect.Method.invoke(Native Method)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:8
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)"
If I remove the where clause, the expection is gone. However, I get all records. ;-)
4) It seems that all EJBQL clauses must be capitalized. Is this true?
FINALY)
Is there a newer OC4J build that could use to get the development going? Do you know where there will be one? Is there any way of contacting the OC4J development team to report bugs?
If you would like, we could discuss it in private e-mail (please use my private mail [email protected]).
Thanks for your attention,
Luis Fernando Soeiro
Hi !! OC4J 9.0.3 developer's preview has most features of EJB 2.0. We are working on updating on our docs and samples for EJB 2.0
Please look at the following URL that has some How Tos on EJB 2.0 features such Local Interfacea, EJB QL, etc : http://otn.oracle.com/tech/java/oc4j/htdocs/oc4j-how-to.html#ejb
regards
Debu Panda
Oracle

Similar Messages

  • Why when I export photos from I photo to the desk top , and then to a CD they end up as alis  and some are not really there?

    Why when I export photos from I photo to the desk top , and then to a CD they end up as alis  and some are not really there?

    Why? Because of something you are doing wrong - however unless you actually tell us what you are doing - and what version of iPhoto you have - and any other detail that might help no one can even gess.
    Exactly how are you exporting? Are the photos successfully exported to the desktop? How are you moving to the CD? why do you think they are not there?
    LN

  • Render background black is not really black and white is not really white

    Goodday,
    I have problem when i try to render movies from Premiere Pro CS4 in Adobe Media Encoder.
    When it is has black background or a white background and i want to render it in Adobe Media Encoder the color shifts a little bit. Black gets really dark grey and white is not white anymore.
    I import the composition in Media Encoder and make a WMV from it with all its values to the max. I also tried a few different codecs, but non of them keeps the background black or white.
    what can i do to solve the problem?
    sincerly,
    3Demian

    It's possible you have got some "sit-up" on the black. Do you have access to a 'scope? Not the rubbish thing in PrPro. If you have then look at the line timebase in the output and check the position of the 0 level after the back porch (after the line sync period). An overly raised black level (pedestal) in the video period will cause the blacks to look grey. If you are using a Proc Amp anywhere in the output then check the setup.
    Similarly, raising the black level can cause clipping on your whites, which can result in the white not looking "white" depending upon how much it's being clipped and the setup of the clipping device threshold.
    Just a thought.

  • JNDI Lookup in OC4J *AND* Tomcat 5 (not either/or)

    I've been struggling to get a web application to deploy and run correctly on Tomcat 5.x. I couldn't ADF to look up the Datasource I'd set up in the Tomcat configs. After reading this forum post:
    Problem deploying BC4J Toy Store app on Tomcat 4
    I was able to run my test app successfully on Tomcat by prepending 'java:comp/env/' to the JNDI name of my Datasource in bc4j.xcfg. Unfortunately, specifying the JNDI name in this way breaks the JNDI lookup in the embedded OC4J container. The impression I got from the above forum post was that OC4J should be able to look up the data source when the name is specified as either jndi/myDataSource or java:comp/env/jndi/myDataSource. I can only get it to work with the former.
    Is there a way to specify the JNDI name of a datasource in bc4j.xcfg such that both Tomcat AND the embedded OC4J container within JDeveloper will be able to look it up?
    Thanks,
    -Matt

    To answer my own question, a fairly straight-forward way of achieving this is to use two configurations for the application module: one for testing locally (the supplied configuration), and another one for deployment that is a copy of the first except for the JNDI name. I can switch between the configurations via the Databindings depending on whether I want to test locally or deploy to Tomcat.
    This is certainly a useable solution, but I'm bothered by the fact that I need to reference the JNDI name in two different ways. Shouldn't this be container-independent?
    -Matt

  • Why doesn't Firefox close even when I close it. When I try to open it again I get a "Firefox is running, please close before reopening...or something like that", but I can't close it and it's not really open where I can see it.

    It just won't close unless I reboot my computer

    One situation in which Command+w or Ctrl+w might not work is if the "focus" is in a plugin such as the Flash player used on Youtube after you interact with the player controls. Firefox will continue to send the keyboard input to the plugin until you move the focus back to the page. Does that account for any of the problem?

  • My hard drive is full, and it will not let me delete anything... :(

    hello, so here is the story...
    i bought my iMac about a little more than half year ago and i really like this mac. About 3 months ago, my computer started popping up me hard drive is full messages, and i did not really bother to delete any files. Because i have been using computers before this one, and i have never used up all the spaces before and the computer i have used before had even smaller hard drives. At the time i did not think it is going to effect my usage of this computer so i kept on using it. After about a month, while i was using my computer, it suddenly shut down and when i restart it my desktop is a plain blue background, with no wallpaper or any icons. Then i tried to delete some files, but when i try to do so, i can not even open up my applications or any kind of window. The only thing that i can open is safari, so right now i can only serve the internet, can not even watch any videos or movies online...
    can anyone tell me how to delete files right now, because my hard drive is so limited right now, i can not even open up anything, so there is no way to delete any files

    In all your use of computers, did you learn how to recover your backups and have a good backup strategy in place?
    Or are you going to need help now on backups, recoverying files (already some good threads to just re-read), and rebuild your hard drive.
    For starters you will need one or more external drives, and install OS X on one of them and use one or part of one for recovering files.
    You should be able to free up space. Just go to your home account folder / library / caches and trash anything to do with Safari like Metadata cache folder to free up a little.
    You don't need to "open" anything other than Finder. And you probably want to boot with SHIFT KEY at the least on startup - continue to hold shift key until you hit the desktop.
    But you really should not or limit any use of this hard drive, and work from and boot from another hard drive for now.
    Pick up some USB/FW drives:
    http://www.macsales.com/firewire

  • I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I'm not really sure how to get those source files back

    I imported different trips to different catalogs on different external hard drives.  Later renamed external HDs.  I want to combine catalogs and have my source (NEF) files all together on one drive.  I’m not really sure how to get those source files back and get rid of the extra long path to where the source files are now located. If I re-link files to their current catalog (many different paths to files in same catalog) can I merge (import catalogs) into one master catalog?  Will the new (Master catalog) have the correct link to the source file?  If not, how or can this be done?
    I have tried to explain my situation as clearly as I can.  Do you understand my situation?
    This maybe something you don’t have time to help me with.  If not can you suggest somewhere I can get an answer?  I really need help.  PLEEEZZZ HELP ME.
    Bruce Schuerman
    Norman, OK
    405_514-4875 (call collect)
    [email protected]

    Is there any solution (other than buying
    I really think 'buying' is the best solution on this one.  Ideally, you would have at least five internal hard drives.
    System
    Projects
    Cache/Scratch
    Media
    Exports
    Use externals and network drive only for backup.

  • So i have an apple ipod touch 1st generation and it is not charging! It shows the charging sign but its taking a really long time to charge. Ive had it charging for at least 3 hours and it still says under 20% so can someone help me figure this out??

    So i have an apple ipod touch 1st generation and it is not charging! It shows the charging sign but its taking a really long time to charge. Ive had it charging for at least 3 hours and it still says under 20% so can someone help me figure this out??

    Not Charge
    - See:      
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable.
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar 

  • A while ago i went to sync music onto my Ipod Touch. Not only did the computer erase my music i had no idea how to get it back :( I contacted Apple on the phone but the name was american and i found it really hard to understand him. How do i get it back!

    A while ago i went to sync music onto my Ipod Touch. Not only did the computer erase my music i had no idea how to get it back I contacted Apple on the phone but the name was american and i found it really hard to understand him. How do i get it back! i bought most of my music on itunes but i just dont have any idea where to go and whjat to do can any help me??
    Respond please!

    Depending upon what country that you are in (music can't be re-downloaded in all countries) then see if you can redownload your past music purchases (those that are still in the store) via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes : re-downloading.
    If you are not in a country where music can currently be re-downloaded, then have you not got it on your computer and/or on a backup ? If not then you can try contacting iTunes support and see if they will grant you a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • I've ordered a new mac book pro 15" and i need to clean hard drive off my old PC...not really to move them to the mac, but just to save in case needed; mostly pics and office docs....any suggestions?

    I've ordered a new mac book pro 15" and i need to clean hard drive off my old PC...not really to move them to the mac, but just to save in case needed; mostly pics and office docs....any suggestions?

    Buy an external USB hard drive and copy your data to it.  Either that or burn them all to single or double layer DVDs (depending on amount of data you have).  Or if it's really a small amount, consider putting it all on a USB memory stick.

  • Computer really noisy (fan I think?). Resetting PRAM and SMC does not work.

    Hi,
    so basically, as the title says, my computer is making a really loud noise as soon as I turn it on, I am presuming it is the fan.
    Over a month ago, my computer started to constantly crash, and about two weeks ago I took it to a Genius Bar for a diagnosis. The problem was a hard drive failure, so I had it replaced and yesterday I brought it back home.
    However, after the fix, the computer now runs fine, but there is a really loud noise from the computer.
    I have tried resetting the PRAM and SMC like some other threads have suggested, and none of them have worked. I have tried restarting, shutting down the computer and everything suggested.
    The computer has never made this noise in this manner before.
    Before the fix, the only time it would be noisy like this is when I wake it from sleep, just left it there (on screen requiring username and password) and it sleeps again, and if I wake it from sleep, then it would be loud like this, but that is solved by just simply sleeping the computer again and waking it, and it will be all quiet again.
    However, now, it makes this loud noise as soon as I turn the computer on, and as long as the computer is not shut down or asleep, it will make this noise.
    Before the fix, my OS was 10.4.11, but the Genius Bar had installed 10.5.8 on this hard drive.
    Is this a software problem or a hardware one?
    Anyone got any suggestions or ideas how to fix this?
    I have called the Apple store I visited for this fix already, they push me over to AppleCare and AppleCare pushes me back to Apple store and they tell me they cannot provide technical support over the phone and would need me to take the computer back to the Genius Bar.
    I am just not happy about this. I live almost an hour away from the closest store and I have university to attend to as well.
    So I am hoping this problem can be resolved without having to go back to the Genius Bar, although all methods I have read so far do not help.
    Thanks,
    From Lelouch

    Hi, well, the thing is, I am just worried that, while making other repairs, they might have damaged something unintentionally and probably do not know about it, which would not be documented.
    My initial problem of a loud fan, after a hard drive replacement, was fixed, so I do not hear it anymore, but this wind-like noise is different. With the iMacs, I presume the fans are towards the top, which was where the loud fan noise came from, however, this wind-like noise seems to come from the bottom of the computer screen are, centre and right side (in the direction I face it), but not the left side.
    I describe it as wind-like, but it sounds a bit like when the computer is on heavy demand and the computer loads, yet different as it is quieter and slightly different in pattern, and unlike the usual heavy demand noise which comes from the top, it comes from the bottom.
    I actually installed a temperature widget after my last repair, just in case my fan was just simply tuned off and would not come on at all for the sake of fixing the loud noise it was making.
    The temperatures read as follows:
    HD: 31
    CPU: 27
    Ambient: 17
    GPU: 36
    GPU Diode: 46
    GPU Heatsink: 36
    HD Bay: 33
    Optical Drive: 30
    To my knowledge, these should be fine temperatures?
    But the noise persists regardless. The noise can instantly be heard (providing that it is quiet enough) as soon as the computer starts up.
    Thanks,
    From Lelouch

  • I have a Keyrig 49 m-audio and it is not recognize by OS 10.9.4 when it says that mavericks is plug and play. I would really like to do what I am able to do on earlier version of OS... Please help

    I have a Keyrig 49 m-audio and it is not recognize by OS 10.9.4 when it says that mavericks is plug and play. I would really like to do what I am able to do on earlier version of OS... Please help

    it the link it seem someone made it work. How can a new OS make things more difficult... it seem crazy too me.
      via: http://community.m-audio.com/m-audio/topics/m_audio_keystation_with_osx_maverick s_9_1_doesnt_work_via_plug_n_play
    pavery85   8 months ago
    **UPDATE*** All is working on Mavericks 10.9.1 for me!! Back in business!
    Drivers seem to working now!

  • Not really a problem just would like to know if I install firefox 4 beta...will I lose my bookmarks already in my current firefox browers and is that the same for the farmville game bar from facebook

    Not really a problem just would like to know if I install firefox 4 beta...will I lose my bookmarks already in my current firefox browers and is that the same for the farmville game bar from facebook

    It should not be a problem, as long as you are careful. Note the delete settings option when uninstalling firefox will delete bookmarks etc for ALL installed versions of firefox.
    Firefox attempts to retain the profile information, that include bookmarks etc when updating. It may still be prudent to consider other backup methods not entirely dependent on firefox.
    The firefox 4 beta will install by default in a slightly different location, you are then able to run either the current or the beta version of firefox. It is recommended you set up a new profile for the new version of firefox. see
    * [[managing profiles]]
    *[http://kb.mozillazine.org/Testing_pre-release_versions]

  • Ipad takes photo every time I close the cover of its case. When I close the cover - it really does take a picture and saves a photo. Luckly, it make a click, and pictures are seen in the photo album, and it does not appear to be forwarding.

    When I close the cover - it really does take a picture and saves a photo. Luckly, it make a click, and pictures are seen in the photo album, and it does not appear to be forwarding. It is just gobbling memory and annoying as I can only delete these pictures one at a time.

    It seems to take a picture of the counter top = I do not see the keyboard.
    I am wondering ....It may be a kids game app that takes pictures of the screen or out the back camera. I am starting to think it may just be a sound effect when placing the iPad on its screen. So many things that may be unrelated but coincedental. It started in May (the sound) and so did the multiple pictures - starting to think they are not related.
    Thanks for the quick tip on deleting multiple pictures.

  • OC4J and Oracle forms causes ie or firefox to not respond when running form

    When I run a form in Oracle Forms 10g, I have OC4J running, and have the following displayed:
    E:\Windows\system32>E:\DevSuiteHome_5\jdk\bin\java -Doracle.security.jazn.confi
    g=E:\DevSuiteHome_5\j2ee\DevSuite\config\jazn.xml -Doracle.home=E:\DevSuiteHome_
    5 -DORACLE_HOME=E:\DevSuiteHome_5 -jar E:\DevSuiteHome_5\j2ee\home\oc4j.jar -use
    rThreads -config E:\DevSuiteHome_5\j2ee\DevSuite\config\server.xml
    07/11/20 23:11:44 Warning: Error reading transaction-log file (/E:/DevSuiteHome_
    5/j2ee/DevSuite/persistence/transaction.state) for recovery: premature end of fi
    le
    07/11/20 23:11:44 Forced or abrupt (crash etc) server shutdown detected, startin
    g recovery process...
    07/11/20 23:11:44 Recovery completed, 0 connections committed and 0 rolled back.
    07/11/20 23:11:44 Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)
    initialized
    07/11/20 23:18:10 FormsServlet init():
    configFileName: E:\DevSuiteHome_5/forms/server/formsweb.cfg
    testMode: false
    I am running vista, and have the latest version of the dev suite. Does anybody know how I can fix this problem?

    You cannot use Internet Explorer on Windows Vista to run Web Forms.
    <p>But you CAN run web forms through Netscape or Firefox. But you first need to disable Java in the browser.
    <p>And to run OC4J on Vista, you need to set its compatibility mode to Windows XP.
    <p>See my notes on OC4J and "Browser Settings" in this thread:<br>   
    Forms 10g installed and running on Windows Vista

Maybe you are looking for

  • Could there be independent VI paths for different versions of LabVIEW?

    Hello, When jumping between different versions of LabVIEW (6.1, 7.1, 8.5) it is annoying that the current path for one becomes the current path for the other.  If I am working with LV 7.1 in a folder dedicated to 7.1 VI's, and then open LV 8.5, I don

  • How to format Memory card in N79 and 5630 Xpressmu...

    Hi everyone, I am using N79 amd 5630 Xpressmusic. Can any body tell me how to format the memory card in these sets. Coz in file manager there is no option to format memory card. Regards

  • No Syncing or Streaming

    Just bought myself an apple TV 160Gb - very disapointed. Have not been able to make it work apart from downloading movie trailers and You Tube from the net. I continually get the "check any firewall software has been set to allow communication port 3

  • Err = 100008 message after downloading miusic from itunes

    i have tried to download 5 songs from itunes but all 5 keep coming up with an error message and it is getting frustrating can anyone help please

  • DMP 4400G after upgarde "5.2_EFT_DMP4400G.fwimg" trouble

    Hi i have upgraded one dmp 4400G to 5.2 using "5.2_EFT_DMP4400G.fwimg" firmware, every thing goes ok upgrading, burnig, verifing, ok but after the front light turns into green, no response from the dmp using the remote controle, can't show ip adress