J2ME and J2EE cross platform

Hi everyone,
Currently I'm developing a three tier architecture system. The presentation logic will be developed using J2ME while the business logic will be developed using J2EE. There are a lot of projects on this area. However, the projects are on web centric application. My system is to develop non web centric application. Therefore, I have some questions that need help from expert.
1. Is it possible to use J2EE to retrieve data from database and send the result to mobile phone? [NOTE: This is not an web application].
2. Should I use EJB to develop the application?
Thanks for your help and have a nice day.
With regards,
Teck Guan.

1. Is it possible to use J2EE to retrieve data from databaseYes, that's about 98% of what J2EE systems are for.
and send the result to mobile phone?If the mobile phone can talk HTTP to the J2EE server, yes.
2. Should I use EJB to develop the application? If you're using J2EE you don't have much choice about that.
But your question has nothing whatsoever to do with RMI.

Similar Messages

  • How to upgrade the oracle RDBMS and migrate cross platform

    Hi ,
    I would like to migrate my database from solaris 5.10 to linux. Simultaneously upgrade my RDBMS database from 10g to 11gR2.
    Can you please suggest
    Thanks
    Naveen

    My present database is 10.2 and new target database is 11.2.0.1.
    cross platform is from solaris to linux.
    Size of the database is 2.5TB . Does datapump a viable solution? Any alternative methods.
    We do not get any down time. I am figuring out a solution for initial lot and migation. Thereafter i can use golden to sync up and do the cutover
    Thanks
    Naveen.
    Edited by: 949870 on Jul 30, 2012 4:53 PM

  • Encryption between j2me and j2ee

    I need to exchange some cofidential data between j2me client and servelt using http connection . So i need to encrypt the data before i send from j2me and the data should be decrypted at the server side so obviously i should also pass the key. I have searched on the net for a common algorthim that wil suit my requirements but i din get any useful solution. Please any one help me in finding out a algorithm tat meets my requirements.
    I appreciate all the replies

    i am getting the impression you are new to data security...
    if this is indeed the case, and you are in any kind of hurry, i strongly advise you to use ssl if at all possible.
    if you can not or will not use ssl then you will need to look into some other options.
    there are multiple algorithms to choose from for secure key exchange, diffie-hellman prob being the most popular.
    however, you will need to supplement the cldc api in order to implement.
    some key words to search on:
    diffie-hellman
    rsa
    aes
    tripple des
    satsa
    bouncycastle
    j2me security
    j2me encryption

  • Email images and signatures not displaying cross platform??

    I have noticed something odd when emailing people who are using windows. For some reason, attachments and signatures that are images (.jpg files that WILL open in a browser on the PC) or PDF's do not show up in the body of the email I send to them. Yet they are using HTML email, and emails they send to ME do have images showing up correctly in both the body of the email and the signatures on my Mac. Is there something on my end that I need to do in the formating to make this cross platform? Has anyone else run into this?
    I'm confused, I thought HTML was HTML....

    Same here... in Outlook 2007 many times the Mac email signature ends up as an HTM attachment... Any news on this odd behavior!

  • Exchange tasks and to-dos and cross platform continuity

    When one creates a task on the PC with the shortcut to create a task it gets created as a to-do and not in the tasks folder or the exchange account. All other devices only look at the tasks folder so tasks are not cross platform.
    Ctnl-shift-K is create new task. So why does it only show in the PC to do list and not the task list. It does not then show in the task list
    on my mac or other devices. Whoever had a hand in the task and to do set up had no idea of continuity between apps, naming and functions. 
    Creating a task in the mac environment (too many keystrokes) will create a task but it will often show on my PC in the to-do list but not on the Mac task list on which it was created.
    Does anyone have any great answers or solutions? HELP!!!!!!

    Since there's no evidence in your post that any of this has anything to do with an Exchange server, I recommend that you post this in the Outlook Forum: 
    http://social.technet.microsoft.com/Forums/en-US/outlook/threads
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • How could I create, force mount, and burn a read-only cross-platform .iso image?

    Hello,
    I am new to this group.
    I want to perform the following steps as quickly as possible.
    1. Create a cross-platform .iso
    2. Mount the cross-platform .iso as read-only
    3. Unmount the cross-platform .iso
    4. Finally, burn the cross-platform read-only .iso to CD-R media
    I need someone to give me an example and step-by-step instructions by using the hdiutil command in Mac Terminal.
    Thanks in advance for your responses.
    John P.

    1. Create a cross-platform .iso
    hdiutil makehybrd -o image-file source-directory -iso -iso-volume-name volume-name
    2. Mount the cross-platform .iso as read-only
    hdiutil attach image-file
    3. Unmount the cross-platform .iso
    hdiutil detach /Volumes/volume-name
    4. Finally, burn the cross-platform read-only .iso to CD-R media
    hdiutil burn image-file
    For more information, see the man page for hdiutil(1).

  • Cross platform upgrade question between Photoshop CS5/CS6 and multiple Windows/Mac computers

    Hello,
    I'm currently using a Windows laptop and PC running Photoshop CS5 from a Student license I got in college. I am considering moving to an Apple laptop so I was looking at the cross platform update question on the forum that led me here: Order product | Platform, language swap
    It's not really clear if I will be eligible for the upgrade, and Adobe support chat sent me to the forum, and that page sends me back to where I started to see if I am eligible. I would prefer to purchase the upgrade outright, rather than pay for the new monthly subscription model.
    If I am eligible for a swap/upgrade to Apple CS6, will I still be able to use CS5 on my Windows PC?
    Thanks.

    I don't have a definitive answer, but I have a feeling that a student teacher version is not eligible for an upgrade discount.  You own the CS5 perpetual license, and can install it on two computers at the same time as CS6, CC etc.  That will be the case in perpetuity.  (not sure why I didn't just type 'forever' back there, or alert the cliche police 'Going forward')
    Photoshop CS6 Extended will cost you just shy of US$1600 according to this Amazon page  The non extended version does not give you the 3D tools, and Photoshop CC comes as the full extended version as standard.  If you got the Photoshop / Lightroom Photography plan at a mere $10 a month, the price of CS6 would keep you subscribed for > three years.  Photoshop CC has a lot of wonderful features CS6 does not have, and will never have, and CC will be be constantly updated 'in perpetuity'. ;-)  $10 a month!  Heck, what's not to like about that?!!!

  • Adobe software and suites with cross platform licenses

    Hello,
    I am aware that Photoshop Elements, Premiere Elements, and Lightroom come with cross-platform licenses (so I can install one copy on my PC and one copy on my Mac using the same serial number).
    Because I own a Mac and a PC, this type of license is very useful for me.
    Could you please provide a full list of Adobe software and software  suites which carry this type of license?
    Thanks

    Your list is complete. As far as Creative Suites are concerned, only Creative Cloud or Volume Licenses allow cross-platform use and activation. All otehr normal retail bundles are platform specific.
    Mylenium

  • Mega simple video capture and edit program. Cross platform.

    Looking for a mega simple video capture and edit program. Am overseeing a bunch of small groups where we want each person in the group's story told. Some groups will have Macs, some PCs, some iPads, iphones, etc. So needs to be cross platform.
    Really, the simpler, the better. Like targeting 5 year olds

    Is there any software anyone recommends - Sorenson?
    I am capturing regular dv from minidv.

  • Cross platform migrate repository and oms, gets "EM Key Verification Error"

    Hello,
    I am trying to cross platform migrate repository and oms from Sun Solaris Sparc 64 bit to Linux x86-64bit.
    Environment:
    Original repository Oracle 10.2.0.3, OMS 10.2.0.5, Sun Solaris Sparc 64 bit
    New repositoy Oracle 10.2.0.3, OMS 10.2.0.5, Linux x86-64bit
    Following metalink note:
    Subject: How To Move Grid Control Oms & Repository To Another Server
    Doc ID: 853293.1
    to step 4:
    4. Point the new OMS to the new repository
    can't get over emkey corrupt issue, gets error:
    2009-10-13 14:07:24,570 [AJPRequestHandler-ApplicationServerThread-11] ERROR conn.ConnectionService verifyRepositoryEx.918 - EM Key Verification Error = Em key does not match with repos verifier
    2009-10-13 14:07:27,910 [Shutdown] ERROR em.notification unregisterOMS.2573 - Error unregistering: EM Key is Missing java.sql.SQLException: EM Key is Missing
    The newly installed additional OMS can only point to the original repository and can't point to the newly migrated repository.
    Steps I did:
    Install an addition OMS to point to original repository (make sure emkey is in repository)
    create a new empty database on new host with a new name (is new name caused problem?)
    migrate old repository to new (use export/import)
    point new OMS to new repository by modifing emoms.properties
    startup oms and gets emkey corrupt error
    This metalink note does not help either:
    Subject: The Em Key is not configured properly. Run "emctl status emkey" for more details.
    Doc ID: 817035.1
    I also have a SR open but still have no help from Oracle support. I did make sure the emkey is in the repository before migrate. There may be tricks that I don't know.
    Can anyone shed some light on this?
    Thank you for your help in advance.
    Edited by: user1062137 on Oct 16, 2009 2:14 PM

    Hi, I'm having the same issue.
    Our original installation was on Windows 32bit with the repository and OMS on the same host. I want to move the repository to a linux 64bit host to make more resource available for everything. The new database is 11.1.0.7 though. As the Grid control release is 10.2.0.5 Oracle Support have confirmed that the 11g database is OK to use.
    In the log I see a lot of this:
    [AJPRequestHandler-ApplicationServerThread-5] ERROR conn.ConnectionService verifyRepositoryEx.911 - Invalid Connection Pool. ERROR = ORA-01031: insufficient privileges
    ORA-06512: at "SYSMAN.MGMT_USER", line 10296
    ORA-06512: at "SYSMAN.SETEMUSERCONTEXT", line 17
    ORA-06512: at line 1
    2009-11-05 18:54:57,254 [AJPRequestHandler-ApplicationServerThread-7] ERROR conn.FGAConnection _setConnContext.326 - java.sql.SQLException: ORA-01031: insufficient privileges
    ORA-06512: at "SYSMAN.MGMT_USER", line 10296
    ORA-06512: at "SYSMAN.SETEMUSERCONTEXT", line 17
    ORA-06512: at line 1
    java.sql.SQLException: ORA-01031: insufficient privileges
    ORA-06512: at "SYSMAN.MGMT_USER", line 10296
    ORA-06512: at "SYSMAN.SETEMUSERCONTEXT", line 17
    ORA-06512: at line 1
    2009-11-05 18:54:59,973 [Shutdown] ERROR em.notification unregisterOMS.2573 - Error unregistering: EM Key is Missing
    java.sql.SQLException: EM Key is Missing
    Unfortunately that package is wrapped so I can't see what privs are required.
    The instructions say (simplified here) either datapump or exp/imp to the new database, run some admin scripts, then update the emoms.properties with the new connection information. Thats it - start OMS again and it should work.
    Thankfully I can turn the old repository back on while I sift through these logs.

  • Does anyone have issues sending pdf's or jpg's cross platform and the images do not come through as an attachment. iMac OS 10.8.2

    Issues with mailk.
    When I send an attachment, if I drag n drop or actualy use attach. When it is sent cross platform, especially outlook. The person says the image is embedded in email. I tell them to right click and they say it saves to small.
    Anyone have any ideas, I am strictly aa apple girl. Never had PC so I don't know what to tell my clients.
    Thanks for any help.

    Lion Mail: If Windows users have trouble with your attachments

  • Difference between Java EE 5 Platform and J2EE 1.4 Platform

    What are differences between Java EE 5 Platform and J2EE 1.4 Platform. How we can choose one for a specific environment.
    regards

    dont be phsyco. MAy be i m good in other topic than
    u. Its time restriction i am facing. OK leave it,
    dont reply any help. its ok.
    ake careEvery culture has rules under which it operates. This one is no exception. It is the unspoken policy of the forum regulars to heap scorn on people who demonstrate an unwillingness to do things for themselves, or to at least put forth an effort. Therefore you have been the target of a certain amount of vitribution. Perhaps you are the lazy worthless git your posting implies perhaps not. None of my business and I don't really care.
    You were pointed to a source of the information you asked for and rather than saying thank you, you demand that the rest of us sacrifice our time to synthesize the information and provide you with an answer about which we actually have very little information, namely what in the bloody <expletive deleted> you're interested in? Oh wait you did say you wanted us to tell you how to pick one or the other.
    And you still can't see why you would become the target of a certain amount of ire on the part of the forum regulars. Might want to give that one some thought.
    But now to your question, well sort of, I can give you a synopsis of what's changed between 1.4. and EE 5, but if I do that what you will know is that one person told you something. If you use the resources that you've already been given and arrive at your own conclusions and questions you will both know what you found and have a frame of reference with which to address specific questions relating to specific change topics. If you do that, most of us here will be more than happy to discuss adnauseum the ramifications of any and all of the changes.
    These are the kinds of topics that we will happily get wrapped up in, but after we've spent our effort and time learning the differences and how they relate to what we're doing why should we concern ourselves with someone who wants a spoon fed answer? Consider this, if you never move beyond bottle fed pablum (formula) you wouldn't be able to tolerate more robust food like say a steak. If you never learn to derive your own answers to questions like this, you will never move forward as a developer.
    Now that I've ranted for a while. Read the material you've already been pointed to, come back with comments and questions of your own and we'll be happy to help and comment.
    Cheers,
    PS.

  • Question about education version of cs6: once per year restriction and cross platform

    I am an education use of cs6, which I currently use on my mac.  I now have a windows pc, which I would also like to use cs6 on concurrently.  My understanding is my existing license doesn't cover cross-platform use, so I would have to buy a new license.  However, education licenses also have a once per year restriction (ie. you can only buy 1 license per title per year).  So my question is, for the purpose of the once per year restriction, does the windows version count as a different title from the mac version (ie, is it once per year per title per platform)?

    http://www.adobe.com/uk/special/education/students/studentteacheredition/order_fulfillment .html
    RESTRICTIONS ON USE
    You may purchase only one license per platform of any Adobe Student and Teacher Edition product per year. Purchases of suite editions (such as Design Premium or Master Collection) are limited to one title per platform per year. Adobe Student and Teacher Edition products may be used only on your privately owned computer and may not be resold.
    Even though that's a UK link, I cannot find any other info on Adobe's website which is similar in content so I assume those rules are global.

  • Will �cross platform app� run on one platform?

    Hi there,
    please forgive my stupidity but if I have a J2ME app which contains one function calling functions from Blackberry library. Can this app be installed and run ok on non Blackberry phones, such as Nokia (suppose that Blackberry related code will not be called under this non-Blackberry phone), within Nokia emulator environment, or real Nokia phones?
    It would be much appreciated if someone could shed some light here so that my time and effort to try it out could be saved.
    Many thanks in advance,
    qmei from London

    Here, let me actually be helpfull...
    It depends on the phone.
    To be able to use the exact same app in multiple devices, when some are calling device specific code is possible, but it really does depend on a few factors...
    1) You must not ever reference or instantiate any classes that import the device specific libraries. If any such classes are referenced directly in your application, the offending class will be loaded into memory, at which point the device's VM will notice that it's trying to reference a library that it doesn't recognize, and likely crash out.
    2) You must only load such offending classes by name, and even then, there must only reference offending classes through an interface. So if you have a canvas class that imports nokia libraries, as well as other canvas classes that import other manufacturer libraries, you must make them all implement the same interface, and do something like this...
    try{
    Class cls = Class.forName("com.nokia.mid.ui.FullCanvas");
    cls = Class.forName("NokiaGameScreen");
    Object o = (cls.newInstance());
    gameScreen = (GameScreen)o;
    gameScreen.init(this);
    }catch(Exception e){
    //cant' use nokia!
    //try another manufacturer...
    }... so I'll explain in greater detail...
    1) Class cls = Class.forName("com.nokia.mid.ui.FullCanvas");This line with throw an exception if no class matches the supplied argument. Generally you'd do something like this to check for the existance of one of the classes you intend to import. If this line does not throw an Exception, than instantiating the desired display should be fine. In this case, if we don't throws an Exception, we can be sure that we are running on a Nokia device.
    2) cls = Class.forName("NokiaGameScreen");This line actually grabbs the class you intend to instantiate, which contains the offending import. Only when we reach this point does the VM load the class into memory, and validate it's imports. We have already determined that we are running on a Nokia device from the previous line.
    3) Object o = (cls.newInstance()); Get an instance of the desired class.
    4) gameScreen = (GameScreen)o;gameScreen is of the type 'GameScreen', which is an interface I defined and is implemented by all of my different manufacturer/device specific Canvas's.
    5) gameScreen.init(this);I am simply calling the 'public void init(Midlet)' function I created that is exposed through my 'GameScreen' interface.
    As you can see in the above example, I never directly reference the 'NokiaGameScreen' class, and instead indirectly reference it through an interface it's implementing called 'GameScreen'.
    This type of 'cross platform' coding works well on many, but not all devices. It's a headache, but some devices go through the entire .jar file and validate each and every .class file during the installation process. These annoying phones will cancel the install if they find any imports that are not recognized. So even if the class is simply accidentally left in the .jar, with no possible way to ever load or instantiate it, the device may decide it won't let you run or install.
    Because of the problem devices, I always create a separate build for each manufacturer, and exclude the other manufacturer's classes from the build entirely.
    Message was edited by:
    hooble

  • Cross platform CS on PC to CS3 on Mac does not work like video says

    Your video on cross platform workflow states that you can import older Premier CS files on a PC into CS3 on a Mac. I tried this and get the message, "this project was saved in a aversion prior to Adobe Premiere Pro CS3 and cannot be opened on a Mac. Please refer to the User Guide for import options." I guess I have to assume then that the video, www.adobe.com/go/vid0236, is wrong about this? Can someone please explain how I can salvage the work I did 3 years ago on Premiere Pro 1 on a PC when I am now exclusively working on the Mac in CS3?
    Thank you.

    Ty,
    This has come up a few times and the solution is to find a PC CS3 user, who will Open the Project and then Save it in CS3-CS4 for you. I does mean that you'll have to befriend a PC-person, but who knows, maybe you can reciprocate later on. In each previous instance, this workflow, PC to PC to Mac worked perfectly. Note: the same holds for Encore Projects, and there is some PC to PC incompatibilities between very early versions and later versions. I had to Open and Save an Enocre 1.0 Project in CS2, so a CS4 (only) user could then Open in CS4. This stuff happens, and the skip in Mac porting can play a role in it. If I had CS3 on my PC's, I'd do it for you, but CS2 will not hlep you.
    I believe that P 6.5 was the last previous version ported for the Mac, until CS3.
    Good luck,
    Hunt

Maybe you are looking for