Which is better to connect with MIDlet? jsp or servlets

Hello to all,
I am Vishnu from India. I have tried connecting MIDlet with jsp but not using servlet. Few asked me to use servlet to connect to MIDlet.
I want to connect to database (sql server) from MIDlet.
I do not know which should I go for ,
what should i choose whether jsp or servlet?
If I choose servlet, can i create new servlets on the run, is it possible?
Thank you in advance,

hey vishnu,
can u please tell me how to Connect a servlet/jsp using a midlet.. i also want to connect SQL Server .
i have one application on JSP and i want tht application to run on j2me platform.
i hope u ll help me.
thnx
Ahmed

Similar Messages

  • G5 Power PC vs Imac...which is better for editing with final cut studio 2?

    This is my present computer:
    iMac 3.06GHz Core 2 Duo (2008 model)
    4 gigs of 800 mhz ddr2 sdram (this is the max ram for this computer! )
    NVIDIA GeForce 8800 GS 512 MB
    Hard drive: 465 gig (I use mainly external drives for editing)
    I use this mainly for video editing with final cut studio 2.
    Rendering in compressor takes forever!!!
    A friend suggested I pick up a used G5 Power PC.
    I found this one, here are the specs:
    APPLE POWER MAC G5 PowerPC DUAL CORE (2 x 2 GHZ)
    System Mac OSX 10.5.8
    RAM 12 GB
    1 Hard drive of 160 Gb
    Superdrive 16x CD/DVD/DL DVD (32x)
    Video card NVIDIA GeForce 6600 (VRAM 256 Mb)
    3 open PCI-Express expansion slots.
    1x FireWire 800
    3x FireWire 400
    4x USB 1 and 2
    2x Ethernet Port
    2x Displays ports
    Is this insanity or a smart move to move over to the older G5.
    According to my friend, the older G5s are much better at processing video.
    Is a dual 2 GHZ processor enough or would I need a 2.3 or 2.5?
    OR is there another option that someone might be able to suggest?
    I would be so appreciative of any opinions regarding this issue.
    Thanks in advance.
    Bill

    Save your pennies and look for a refurbished or used MacPro. Early 2008 or newer 8 core machines w/8GB of RAM running 4 instances in QMaster will chew through material.
    Beyond running compressor, it is just a better all round machine for editing video.
    • it has multiple internal drive bays which run via SATA connections - much faster than the FW800 limits of the iMac for external drives
    • it has 3 slots which give you the option of an i/o card from AJA, Blackmagic or Matrox so that you can actually monitor your video properly as well as ingest high end formats
    • the slots give you the ability to connect esata raids for even higher data speeds
    • you have much greater flexibility with computer monitors
    • you have much greater RAM capacity
    and so on ...
    x

  • How can I use oracle 9i to connect with my jsp

    Hi,
    I have a question with my a little final year project. I have been install oracle 9i on Win2000. I also install apache and tomcat on Win98 and it works properly. I am trying to use jsp to develop my homepage and it can be connect with my oracle to retreive information. I'm wondering what steps/configure I need to do?
    Could anyone tell me about this? Thanks
    Amy

    Amy,
    You can look at [url http://otn.oracle.com/sample_code/tech/java/jsps/ojsp/dbaccessjdbc.html]this sample. It provides step by step explanation on how to connect to database using JDBC from a JSP. We use Java Beans in the sample. Download the code and have a look at it.
    Hope this helps.
    Regards,
    Anupama
    [url http://otn.oracle.com/sample_code/]OTN Sample Code

  • MPEG or AVI in PPro CS4 - which is better to work with?

    Back when I was using older versions of Premiere Pro, I was forcefully told by people here on the Adobe forums that I should avoid doing any editing work in MPEG format.  The emphatically-worded advice was that I should do everything in AVI within Premiere, and export it as AVI, and then let Encore handling transcoding it into MPEG form when the time came for that.
    There were several reasons for that.  One was that several people told me that MPEG's lossy nature meant that the more you edited and re-saved a file, the more quality you lost each time.  I was told that AVI avoided this problem.  Another reason for it was that Premiere Pro's handling of the MPEG file format was extremely buggy - which is indeed a phenomenon I experienced firsthand.  I struggled a LOT with how Premiere Pro handled MPEG files in those older versions.
    Now that I'm asking questions about CS4, having just upgraded 3 weeks ago, I'm seeing a different trend in the comments people are making.  Now, it seems, the advice is that it's better to do my work within MPEG. In a different thread, I was told that Premiere Pro can no longer format chapter markings for Encore as part of AVI files, but that functionality does exist now with MPEG.  And other comments in other threads seemed to favor working in MPEG.
    So, has that changed?  Is MPEG now the "preferred" format to use for files when editing and exporting video footage?  Isn't lossiness still an issue?

    The key is to keep the footage in its source format and codec as long as possible, changing only when the final export is ready.  If you need to convert your footage to another format and codec to edit it, then choose a lossless or near-lossless codec:
    For AVI, uncompressed, Lagarith and UT are good choices.  Uncompressed is huge and slow; Lagarith and UT are much faster and much smaller in file size.
    For MOV, Animation and Photo-JPEG are good choices.
    For MPEG2, I-frame only MPEG2 at high bit rates like 100 Mbps is a good choice.
    If you are exporting to MPEG2 DVD, it really doesn't matter if you let Pr or En do the MPEG2 encoding; the encoder can be set identically in both applications.  With the new Dynamic Link from Pr to En in CS4, it makes a lot of sense to send the sequence to En and then let En transcode it.
    -Jeff

  • Which is better, Raid 0 with two hdds or 1 ssd?

    Hi,
    I have a macbook pro Mid 2010 with two open hard drive bays (thanks to the mce optibay.) I was wondering if it would be better to put two caviar black hard drives in raid 0 on my macbook pro, or have one vertex 2 drive as a boot/applications drive and another data drive.
    Thanks
    Sam

    I understood what the hard-drive-in-optibay meant.  Regardless, it's still two platter-based hard drives versus an SSD.  An SSD will be faster in your situation.  If you had a lot of platter-drives in RAID0 and you had some sort of hardware based RAID controller with battery-backed cache, then maybe, possible, potentially, that (really expensive) platter-based RAID0 could be as fast as a SSD.  You don't have that and can't put that in a notebook, so it ain't gonna happen for you.
    Now add to the mix, the fact that RAID0 will lose data if any one of the drives in the array fails.  You have two drives in RAID0 versus one drive in a non-RAID.  The RAID is twice as likely to have a drive failure just because you have more drives.  If you made the RAID from two SSD drives, which are more reliable than platter-based drives, then you're got something interesting.  But you're still twice as likely to have a SSD-RAID0 array failure compared to a single non-RAID SSD.  (And more than twice if it's platter-based drives in the RAID0 versus a single non-RAID SSD.)  So it's up to you to determing how much risk you are willing to take...and how much you can afford.
    Also note that some Macbook and Macbook Pro models have slower performance on the SATA port for the optical drive.  (One assumes Apple tried to save a few dollars and put in a older, slower SATA controller for the optical drive.)  I don't know exactly which models but if yours is one of those, then you may get uneven performance on your RAID0.  Whether that is noticable or acceptable to you, will depend on a lot of things that you won't  know until you try.  (e.g.: model of drive, apps you're using.)
    And it's good that "backup is easy for you."  With RAID0 for the boot volume, you're that much more likely to have a failed boot volume.  (IOW, can't boot the Mac at all, which means you'll be using that easily made backup a lot. )  Ideally, workstations that used RAID0 used them for the data, not for the OS.  For example, in video editing, the scratch disk needs to be fast, but could be RAID0 because you "threw away" whatever was on the scratch disk after you were done editing, and presumably saved/copied the final edited product to another archival drive.  But the OS was on a typical single drive non-RAID (or a RAID1 or RAID5 if necessary,) not on a single RAID0 array for both OS and data.
    In your situation, you can't separate the OS and data onto separate RAID arrays, so in general, RAID0 is NOT what you want, regardless of whether you use SSDs or platter-based hard drives.  But again, only you can determine how much risk and cost you're willing to gamble with.

  • How to learn which iTunes Library is connected with my devices?

    I do not love it when my Mac deletes files.
    Karl

    You'd have to check the LibraryPersistent IDs of each library against the one on the device. There is a webpage here that claims to be able to extract your ID by processing one of the device backup files, info.plist. It's probably safe, but a quick look at the file we're going to upload shows that it includes the device IMEI & phone numbers, a list of Wi-Fi syncing profiles, info on iBooks, Media and Apps synced to the device along with the presumably obscured ID we want and who knows what else? There is, I suppose, a risk that the data could include AppleID info so I'm somewhat reluctant to test the site.
    According to one posting the data should also exist in /private/var/mobile/Media/iTunes_Control/iTunes/iTunesPrefs.plist on the device but I'm having a hard time finding an app to explore the my iPhone's file system and there is no certainty the value is human readable there either.
    It's not too hard to read the LibraryPersistentID of an iTunes library from the accompanying XML file (line 12 in plain text for me), but reading every one you have on every machine might take some time.
    OK, in the interests of confirming whether the site does what it claims to I'm going to test my iPad backup's Info.plist file. If my AppleID gets hijacked at least it was in a good cause.
    Bingo! The website brought back:
    <key>Library Persistent ID</key><string>CCF046191585EA85</string> which matches
    <key>Library Persistent ID</key><string>CCF046191585EA85</string> from my xml.
    tt2

  • HT201274 If you erase your iPod content, would it erase the music from the iTunes on the computer which that iPod is connected with?

    I'm giving away my old iPod touch so I want to restore everything, deleting all content but I also have an iPhone connected to the same iTunes account on my laptop. If I restore all music, setting, apps, etc. will it also erase all those things from my iTunes on my laptop?

    No. Erasing your iPod wiol not effect iTunes on the computer.

  • Which LDAP attribute is connected with isUserAccountLocked() method?

    Hello,
    In IUserAccount object there is an API method isUserAccountLocked()
    Can anyone tell against which LDAP attribute is the check being made on or is it an internal UME DB attribute?

    Hi Roy,
    isUserAccountLocked() will check in the UME DB attribute. I thing isUserAccountLocked fetching the data belogs to the ume.ldap.blocked_accounts.
    refer to http://help.sap.com/saphelp_nw2004s/helpdata/en/af/0cfc3f09c2c442e10000000a1550b0/content.htm
    Regards
    AJ

  • How to find out phone connected with a PC

    Is there a way to programatically find out which IP phone is connected with a given PC? We have a need where an application will be installed on each PC, but instead of having the user manually enter the information about the PC, we want auto detect the phone connected with that PC.

    Old topic, but if anyone is interested I played around and got something working in VS 2005/C# using SharpPcap and the PacketCDP class from an app on codeproject called Pacanal. I had to make some changes to the PacketCDP.cs code to get it to work, but if you can get that far I believe it was relatively minor. The app I made sniffed the CDP packet for the phone devicename and then used that to call a CUAE app to log a phone into extension mobility. Here's some partial code:
    PcapDeviceList devices = SharpPcap.GetAllDevices();
    PcapDevice device = devices[i];
    device.PcapOnPacketArrival += new SharpPcap.PacketArrivalEvent( device_PcapOnPacketArrival );
    device.PcapOpen(true, 1000);
    string filter = "ether host 01:00:0c:cc:cc:cc";
    device.PcapSetFilter( filter );
    device.PcapStartCapture();
    private static void device_PcapOnPacketArrival(object sender, Packet packet)
    EthernetPacket eth = (EthernetPacket)packet;
    returnbool = PacketCDP.Parser(myTreeNode.Nodes, eth.Data, index, LItem, ref deviceName);
    HttpWebRequest request = (HttpWebRequest)
    WebRequest.Create("http://10.10.50.75:8000/emLogin?phone=" + deviceName + "&user=testuser");

  • What USB 3.0 card should I get for early 2009 Mac Pro so I can connect the Drobo 5D? They say get CalDigit or Sonnet. Anyone have preference or experience with reliability. Trying to find which is better.

    What USB 3.0 card should I get for early 2009 Mac Pro so I can connect the Drobo 5D? They say get CalDigit or Sonnet. Anyone have preference or experience with reliability with this. I am running Lion and Trying to find which is better as I know from experience not all cards are created equal. Thanks in advance for your help!

    yakov536 wrote:
    High Point RocketU Quad USB 3.0 for Mac is working great for me. Had an issue with CD/DVD Drive which was resolved with most current driver downloaded from the support site.
    Running Moutain Lion on Early 2009, mirroring two Seagate Go Flex 2TB USB 3.0 Drives. Installed in Slot 4.
    Using it primarily with VMWare Fusion for Virtual Drives. Windows, Unbuntu and other OS running really well.
    HPT Support was responsive and very helpfull using the WEB Portal under the product page.
    I have some comments and a suggestion:
    Have you tried your setup with a SD/CF combo card reader (like the Lexar or Kingston FCR-H63)? Does the card appear on the desktop when first plugged in?
    Did you need to fool around with any kind of power issues in installing this card in the x4 PCIe slot of the MacPro?
    Suggestion. Have you tried one of the fixed in this article to cure the BT issues in MacPro 3,1?
    Good luck.
    Henry

  • Which one better to use - jsp:useBean or import statement

    Hi,
    I just want to know that which one is better to use jsp:useBean or import statement .
    I can instantiate and call method of myclass -
    1) by importing the class through import tag in jsp as <%@page import="myclass"%. or
    2). by using <jsp:useBean tag....
    i have these two option to do the same thing. i know that basically useBean is used to call setter and getter method of bean class and but it can be used to call a normal java file that have some logic .
    so what should i used , which one is better and why?
    useBean provides scope and object instance so no need to create object by new operator. and with import you have to create an instance .
    but which tag should i use in my jsp?
    i am confused???

    ok, means i can use jsp:useBean tag for all my
    classes that are not actually bean. so it will be
    instantiated at run time and provide efficiency .No. Jsp:useBean is used for java bean components.
    >
    but when should i use import statement in my jsp and
    it happen at translation time so will it create any
    type of burden for my code if i import multiple
    classes.For non-java beans, you need to import the classes, period.
    It's not a burden, it's a necessity.

  • Connecting MAC Air to Projector - which is better, hdmi, vga or usb?

    Connecting MAC Air to Projector - which is better, hdmi, vga or usb?

    HDMI is thje preferred digital replacemnt for older analog video standards, which your other choices use. It offers far higher signal and definition quality.
    Apple has an adapter that is used with your Thunderbolt port/ Mini DisplayPort, if yours is equipped as such.
    I've not had a problem with this. It is a Belkin.
    http://store.apple.com/us/product/HA824ZM/A/belkin-mini-displayport-to-hdmi-adap ter?fnode=51

  • Is it possible to know which bluetooth services are available with a MIDlet

    ...Bluetooth Services like Serial Port Support, Obex File Transfer, Dial-up Networking...
    I've already try to search with "getProperty()" (api.version, n� max. of devices...) but it awlays return "null" !!!!. I'm a beginner in j2me BLUETOOTH. Thanks!

    Varies from phone to phone.
    I believe it is recommended to use a port between
    16001 and 16999 on a J2me app as these are almost
    always free.
    In my opinion the best way to find out what will work
    and what won't is to create a small app which will
    try to create an SMS connection on a specified port
    (specified through something like a textbox) and
    which will display something indicative if an
    IOException is thrown during the process of
    creation.
    Most manufacturers usually also have documentation on
    this on their developer sites...hi i have a similar problem with they guy above
    i have installed a camera network wich has acces to web from port 8080 i have access from any computer that has internet but when i connect with the java app provided from the cameras company it throws "java.lang.securityexception untrusted midlet attempted to connect to a restricted port" i was wondering if i change te port tha i connect will i have access from that program?? and if yes wich port should i use? i am asking because its not easy to have access to the router to change the port forwarding settings thank you in advance

  • I have a problem to connect with FaceTime. I am using OS X 10.9.1 on a Mac PowerBook which is 4 weeks old. I can connect on iPhone but not from my computer.

    I have a problem to connect with FaceTime. I am using OS X 10.9.1 on a Mac PowerBook which is 4 weeks old. I can connect on iPhone but not from my computer. Does anyone have a similar problem???

    The warranty entitles you to complimentary phone support for the first 90 days of ownership.

  • Which is better? 2.5ghz dual i5 with 16g ram or 2.3 quad i7 with 8g ram?

    Which is better? 2.5ghz dual i5 with 16g ram or 2.3 quad i7 with 8g ram?

    You are welcome!
    If is best to buy from a reputable supplier that actually test RAM in Mac's and guarantee there upgrade kits.
    The two most recommended here are OWC and Crucial

Maybe you are looking for