Cryptography with J2ME / J2EE

cheers to you all,
i have to develop an application in which there is encrypted message exchange between a client (Mobile phone) and a server.
i wil use AES , RSA, HMAC-SHA (for digest) and i don't know where can i find the convenient sources / API since i will use J2ME for the client and J2EE for the server
help me please
thanks

Hi!
I have to connect an J2ME client to the J2EE server
and I want to know if is it possible using JNDI/LDAP.
but I want to realize the connection using JNDI/LDAP.Sounds like you've misunderstood what JNDI/LDAP is.
You should read up what these two technologies are (and what they are for).
For what particular reason did you 'want to realize the connection using JNDI/LDAP'?

Similar Messages

  • J2EE with J2ME ... Please help

    Hello All,
    I want to know if it is possible to make J2EE application communicate with J2ME application?
    Actually I have developed a web application (J2EE application) which is needed to be run/accessed on a Tablet PC.
    I am also supposed to provide Ink Enabled Control for some of the functionalities for this Web Application.
    So, is this possible? If yes then can you please provide me some references for the same?
    It would be a great help if you can share your thoughts on this issue.
    Thanks in advance.
    Twinkle

    Here is a link to a section in the Swing tutorial that shows you how to use text components (JTextField, JTextArea, JEditorPane, JTextPane):
    http://java.sun.com/docs/books/tutorial/uiswing/components/text.html

  • Where can I find a good tutorial for mobile game developement with J2ME ?

    Hi All,
    I'm completely new to J2ME programming. But I have past experience on J2SE developement. Now I would like to know that where can I find a good tutorial for mobile game developement with J2ME ?
    I'll be very greatful if I can find a useful step-by-step tutorial (eg. "The Java Tutorial" for J2SE)
    Please point me ot the direction.
    Thanks
    ZuriJAckshoT

    ibook-widgets.com    have a free tutorial book in the iBooks store.  Search for "Create your first interactive book using iBooks Author"   they also  sell widgets.
    I  dont have any connection - I  found their eBook in the store long ago  and used it to learn more about iBA.
    The best advice though, is be patient,  go back over the process step by step, I cannot  access the Help files for some reason.. but i am sure its in their.

  • Issue in Communication of SAP R/3 6.4C with SAP J2EE Engine 6.40.

    Hello,
    We have an application deployed in SAP J2EE engine 6.20. From SAP R3 (SAP R/3 version is 6.4C), We are communicating to the application deployed in SAP J2EE Engine 6.20 using RFC protocol. EJB module (Deployed in SAP J2EE Engine 6.20) which is being invoked from a Function Module using RFC protocol has the same name as the Function Module name. We were able to communicate to SAP J2EE Engine 6.20 this way.
    Currently, I have deployed the same application in SAP J2EE Engine 6.40. I have followed the same procedure which i have used while depolying and working with SAP J2EE Engine 6.20. But, it is not working, and i was not able to communicate to SAP J2EE 6.40, the same way i did in SAP J2EE Engine 6.20.
    Please let me know whether the procedure for communicating to SAP J2EE Engine 6.40 has changed in comparison with SAP J2EE Engine 6.20.
    Also,Any pointers regarding RFC and JCO implementation in SAP J2EE Engine 6.40 willl be helpful.
    Thank you.
    Regards,
    -Shabir Rahim.

    Hi,
    compare to 4.7
    1.New ABAP editor added like if u write code  in abap editor ,using if coditions and select statments it automatically shows the link endif,  like if .. endif,select ...endselect.
    2.New abap debugger compare to the classic debugger.
    3.DBACOCKPIT
       Missing indexes of various database tablesu2019 and the transaction to reactivate all the missing indexes  is u2018DBACOCKPITu2019. Below is the screenshot of the transaction DBACOCKPIT.
    Regards,
    Madhu

  • Emulating HTTP POST for file upload with J2ME

    I have search through a lot of site and couldn't find the actual code. I try to emulate below html with J2ME.
    <form method="POST" enctype="multipart/form-data" action="Insert.asp">
    <td>File :</td><td>
    <input type="file" name="file" size="40"></td></tr>
    <td> </td><td>
    <input type="submit" value="Submit"></td></tr>
    </form>
    here is my code :
    HttpConnection c = null;
    InputStream is = null;
    OutputStream os = null;
    byte[] filecontent = file byte content ...
    try {
    c = (HttpConnection)Connector.open("http://xx.com/insert.asp");
    c.setRequestMethod(HttpConnection.POST);
    c.setRequestProperty("Content-Length", String.valueOf(cmg.length + 15));
    c.setRequestProperty("Content-type","multipart/form-data");
    os = c.openOutputStream();
    os.write("file=c:\\abc.png".getBytes());
    os.write(filecontent);
    os.flush();
    I can emulate form with text field and it work, but when it come to file upload, above code not working, I don't know what to put for the outputstream, filename ? content ? or both ? since the html only has one field that is the "file" field. The file is actually store in rms with filename abc.png, and I just put in the c:\ for the server as a dump path.

    File upload is more complicated then that... you need multi-part MIME formatting.... But I have just the code...
    http://forum.java.sun.com/thread.jspa?forumID=256&threadID=451245

  • I will begin a project with J2me

    I will begin a project with J2me at school.I just have some basic knowledge about J2se,and would you kind enough to give me some advice on how to get the first step?

    start with basic understanding of Midlets, Lists , Forms , CommandListeners and Record Stores.

  • Is SAPI working fine with J2ME..?

    helllo..
    i wana to do my final project in speech recogniton.. application for PDA's..
    is the cureently SAPI.working fine with J2ME....Can i use it.. for PDA's application
    Message was edited by:
    M_Suhail

    Hi, i am also doing JSAPI for my FYP for pocket PC..I have tried freeTTS, sphinx4. All the demo can work. But when i try to use the 'Hello' programe from sun page, it can't work. Some null error after i hit the RUN button. dun know why. Den some ppl say the JSAPI that is availabe from the freeTTS, is not able to support the javax.speech.reconigation. I have not try out cloudgarden. but that one is only able us to use for 30days. after which. have to buy. Den is that version able to be use for pocketPC, or rather is it name as j2me?
    I have also found another one. pocketsphinx(free open source). ITs suppose to be for PPC. think u can try that out. but it's in C++ it hink. but i dun know how to use it. If u know, pls let mi know how.
    I only need to have a Command reconigation. after the reconation, it will send a btye of data thru the serial port profile of bluetooth.. Anyone has the open source of the voice thingy., pls share with us.
    tks
    [email protected]

  • Receive short messages with J2ME

    Hi,all
    Could anybody give me a hand of sms programming with J2ME.
    I want to receive short messages with J2ME. But i dont know how.
    Thanks very much!

    hi,
    You can send and receive sms through your network provider by using the wireless package.
    try the following links.
    you wil get a solution.
    [send sms example 1 |http://j2me-codes.blogspot.com/2008/02/j2me-sms-sending-sms-in-j2me.html]
    [send sms example 2|http://www.java-tips.org/java-me-tips/midp/sending-receiving-sms-on-j2me-device-4.html]
    Ramesh

  • Help with J2ME streaming

    Hi,
    My name is Constantinos Loizou and I am a student and currently developing a project for my Master's degree.
    I need to stream audio and/or video to a PDA device. There is a trick here which is:
    The PDA must receive the stream from a multicast address. For this I have implemented a Bridge application which joins the multicast group on behalf of the PDA and receives the Multicast RTP packets (which are sent from JMStudio) and Unicasts them to the PDA.(HP iPAQ) I had no problem implementing this. The streaming is done using JMStudio player which encodes the streaming audio data into a number of encodings (DVI/RTP in my case). I choose DVI/RTP and stream a .wav audio file.
    Now I have to accept the packets and play the stream on the PDA.
    The j2me application receives all the RTP packets successfully and I can extract usefull information from the packets such as: Timestamp, sequence number, payload type. The payload type is 5 which means it is a DVI4 encoding therefor the packets are accepted without any problem. I then save the data of the packet into a byte[] array and in regular intervals (50 000 bytes) I load them into a new ByteArrayInputStream(buffer); When I try to load the BytearrayInputStream and open it with a player I get the following error message:
    javax.microedition.media.MediaException: Failed to realize Player: Malformed wave media: expected 'RIFF'
    at com.sun.mmedia.WavPlayer.doRealize(+160)
    at com.sun.mmedia.BasicPlayer.realize(+84)
    at src.ViewVideoCanvas.run(ViewVideoCanvas.java:112)
    The command I run is: player = Manager.createPlayer(input, "audio/x-wav");//create new player
    And the error occurs on player.realize();
    I believe that this happens beacause the data is encoded to DVI/rtp. I have searched a lot and found the algorithm of decompressing the DVI data but again I get the same error
    Anyway, this is a brief description of my problem and I hope you can help me.
    Contact me for any more details or help you can provide (code sammples, decoding algorithms and implementations in java)
    Thank you
    Constantinos Loizou

    Hi my name is shaun benjamin and I am sorry I dont have the solution to this problem but could you please do me a fovor. I am looking for j2me source code for an audio streaming midlet tha can stream mp3 or wav. Could you please kindly send me some source code because I am not too fimiliar with j2me and am learning.

  • Starting with J2ME

    I'm trying to start with J2ME, and am completely puzzled by the whole thing. And Sun doesn't help much either. I'm trying to make a game, where lines fly by in the screen. The user must avoid these lines, by moving the ship around with the stylus. Is there enough in J2ME to accomplish this?
    Another worry: Is J2ME obsolete? It appears to me that it hasn't been updated for a long time.

    Hello,
    Is there enough in J2ME to accomplish this?Yes.
    Is J2ME obsolete?No. Sometimes new technologies are not much visible to newbies. J2ME may be one of them. If you continue having difficulties, i reccomend you to buy a book to start quickly to J2ME.
    Here are some tips for your J2ME game:
    Getting Started with Java ME
    http://www.java-tips.org/content/view/95/73/
    How to write your First MIDP game
    http://www.java-tips.org/content/view/833/73/
    How to use a tiled layer in J2ME
    http://www.java-tips.org/content/view/423/73/
    How to implement a sprite class in J2ME
    http://www.java-tips.org/content/view/424/73/
    Detecting collision with sprites in J2ME
    http://www.java-tips.org/content/view/425/73/
    Good luck.

  • What to install JDK 1.1.8 with J2ME personal profile option.

    Hi,
    I want to install JDK 1.1.8 with J2ME personal profile option in motorola device MC3190 which is having windows CE .
    1) From where I will get the exact software and what is the procedure to install it.
    Thanks
    Subhasis

    891487 wrote:
    Hi,
    I want to install JDK 1.1.8 with J2ME personal profile option in motorola device MC3190 which is having windows CE .
    1) From where I will get the exact software and what is the procedure to install it.
    Your phone vendor.

  • Use of applets, when to go with a J2EE server?

    I am very new to Java, so bear with me. I understand the basic concepts of applets, servlets, etc. I understand you don't need a J2EE server to write applets, so at what point do you go with a J2EE server? I know some people coding database connections in an applet just using a web server, but that just doesn't seem right to me, but what the heck do I know. I guess what I am asking is: what type of functionality do you write in an applet without a J2 server, and at what point does your functionality require a J2 server? Thanks in advance!

    BTTT

  • WiFi Connection Detection with J2ME

    Does anybody know how to detect the WiFi connection with J2ME? In fact i should ask that question = Is it possible ?
    I guess it is not possible but i need further help....
    A. Cansever

    Describe your network; router, make and model, network security setting...
    Good read:
    http://www.wi-fiplanet.com/tutorials/7-tips-to-increase-wi-fi-performance.html

  • Using accelerator keys for loading a appliaction made with J2ME

    Hi
    Is there any methods to use accelerator keys to load a application made with J2ME for mobile telephones. The application is not running and i must find a way to load the application using keys codes.
    How can i accomplish this? can i use the application manager and the jad file? i know that i can use PushRegistry for incomming connections to load the application automaticaly. But i need a way to accomplish this by using the key events on a mobile phone when the application is closed.
    Best Regard
    jan Fredrik Fallsen

    Hi
    Is there any methods to use accelerator keys to load a application made with J2ME for mobile telephones. The application is not running and i must find a way to load the application using keys codes.
    How can i accomplish this? can i use the application manager and the jad file? i know that i can use PushRegistry for incomming connections to load the application automaticaly. But i need a way to accomplish this by using the key events on a mobile phone when the application is closed.
    Best Regard
    jan Fredrik Fallsen

  • Compatability of jdk1.3 with j2me

    Hi,
    Is there any compatability problem(jdk1.3 with j2me)?
    will j2me support the jdk1.3?
    Advanced Thanks
    Audippa

    Can any body help on knowing of the compatability of jdk1.3 with j2me
    how can we know the compatabilty?
    is there any way to know the compatability?
    pls help on this
    Thanks
    Audippa Naidu.M

Maybe you are looking for