How to organize codeline for both java ME and java SE?

Hi,
I am working on a project that requires a library for java ME and java SE versions, I wonder what is the best practice for codelines
1) put ME and SE source in different directory. If some java files are identical, just put seperate copy and maintain them seperately.
or
2) create a "common" directory and put common files in it. create a ME and SE directory for java files that ME, SE are different
or
3) Use one directory. Try to make ME and SE java files be the same. i.e. only use java 1.1 features and a limited util classes (like not use HashMap, ArrayList etc... for SE version)
I wonder what is good for easy development and easy sustaining?

If it's a desktop app, put them all in a JAR file, add CLASSPATH to the manifest, and make it executable.
If it's a Web app, put them all in a WAR file.
If it's an enterprise app, put them all in an EAR file.
MOD

Similar Messages

  • I have one apple ID for my MAC and another used for both my iPhone and IPad.  Purchases from iTunes don't appear on either my iPhone or iPad only only the MAC. How do I sync the two IDs?

    I have one Apple ID for my MAC and iTunes account and another that is used for both my iTunes and iPad.  When I purchased music from iTunes using the Mac ID, the music isn't available on my iTunes or iPad.  Neither lets me change my ID so how do I fix this issue so I can play the music on all three?

    Hello chlanli
    You would need to use one Apple ID for purchases in order to get them across all of your devices and computer. If you want you can use one Apple ID for purchases and the other one to sync personal data. The article below will explain further.
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Regards,
    -Norm G.

  • How do I use the same Itunes for both my IPOD and IPAD?

    How do i use itunes for both my ipod and ipad? and have everything on both of them.

    You can connect one of them to your computer's iTunes, select it on the left-hand side of iTunes, and then on the right-hand side select the Music tab and choose what to sync to that device - you can then connect, select and sync the same content to your other device.

  • So when I plug my iPhone 3GS into my iMac, for music reasons, it says I have 123 songs. When I plug my iTouch into my iMac it says I have 565 songs on my iTouch. I have the same apple idea for both my iPhone and iTouch, how do I transfer my 565tomyiphone

    So when I plug my iPhone 3GS into my iMac, for music reasons, it says I have 123 songs. When I plug my iTouch into my iMac it says I have 565 songs on my iTouch. I have the same apple idea for both my iPhone and iTouch, how do I transfer my 565 songs on my iTouch to my iPhone? PLEASE HELP!!!

    When you connect your iPad or iPod to the Mac, click on the device name in iTunes - don't click on the arrow on the device. Then click on the Music tab in the main window pane. Now you should see 'Sync Music' and all your playlists, artists and albums. Here you mark the checkboxes for what should be synced.

  • After I updated to yosemite my iMovie will not open.  I have found the folders in the applications for both versions 9 and 10 but neither one opens when I double click on the icon.  How do I remedy this?

    After I updated to yosemite my iMovie will not open.  I have found the folders in the applications folder for both versions 9 and 10 but neither one opens when I double click on the icon.  How do I remedy this?

    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    The title of the Console window should be All Messages. If it isn't, select
              SYSTEM LOG QUERIES ▹ All Messages
    from the log list on the left. If you don't see that list, select
              View ▹ Show Log List
    from the menu bar at the top of the screen. Click the Clear Display icon in the toolbar. Then take one of the actions that you're having trouble with. Select any messages that appear in the Console window. Copy them to the Clipboard by pressing the key combination command-C. Paste into a reply to this message by pressing command-V.
    The log contains a vast amount of information, almost all of which is irrelevant to solving any particular problem. When posting a log extract, be selective. A few dozen lines are almost always more than enough.
    Please don't indiscriminately dump thousands of lines from the log into this discussion.
    Please don't post screenshots of log messages—post the text.
    Some private information, such as your name, may appear in the log. Anonymize before posting.

  • Hello I have one I tunes account for both my Iphone and my pc. I havent used my computer in a while but decided that I should back up all my songs from my phone to my computer. Is this possible and if so how?

    hello I have one I tunes account for both my Iphone and my pc. I havent used my computer in a while but decided that I should back up all my songs from my phone to my computer. Is this possible and if so how?

    If you didn't sync iphone with your pc before then read this carefully
                     Syncing to a "New" Computer or replacing a "crashed" Hard Drive

  • Hello CS Community: I am about to renew my cloud subscription for one year. My current subscription is for one user for both Mac (and) PC. When I pay for this, how do I know I'm getting a subscription for both my MAC and PC? It's not clear what is being p

    Hello CS Community: I am about to renew my CS cloud subscription for one year. My current subscription is for one user for both Mac (and) PC. When I renew, how do I know I'm getting a subscription for both my MAC and my PC? It's not clear what is included in the purchase. I'm choosing the 49.00 a month package. Any insight would be much appreciated.

    Hi ShearLine,
    The Creative Cloud subscription is not OS specific as it's licensed via your Adobe ID.
    You can purchase a single subscription and use it on 2 machines irrespective of it being Windows or Mac.
    Regards,
    Rave

  • I've just bought an iPhone 5S in the UK, seems like a big mistake. I have turned off sync to icloud from the phone for both my contacts and calendar, as told on itunes. However, iTunes still says they are synced from iCloud and wont sync to PC, Fix ?

    I've just bought an iPhone 5S in the UK, seems like a big mistake, but luckily by law we can return goods, which is exactly what is going to happen if I cant get this to work. This is my business phone, not having it functional can cost me money.
    I have turned off sync to icloud from the phone for both my contacts and calendar, as told on itunes. However, iTunes still says they are synced from iCloud and wont sync to my PC, why and how do I fix it so that it doesnt go to iCloud for anything ?
    The phone currently has no contacts or calendar information installed.
    PC is HP Probook 4730s running Windows 7, Professional, version 6.1.7601 Service Pack 1 Build 7601.

    I'm happy you figured it out and just try to keep in mind that not everyone you talk to at support will give the same advice or have the same knowledge. Just like those who contribute to these forums. Sometimes Google is your best friend.
    I agree that Apple could probably make it easier, but as of yet prefer security over freedom. (sound famaliar?)
    Anyway, if you choose to do so, you can leave feedback here:
    Apple.com Feedback
    Apple Support Feedback
    Developer Feedback
    Product Feedback
    QuickTime Feedback
    Search Feedback

  • Can you use the same charging cable for both an iPhone and an IPad or are they different?  When I use the charging cable for my iPhone on my Ipad, it doesn't charge.

    Can you use the same charging cable for both an iPhone and an IPad or are they different?  When I use the charging cable for my iPhone on my Ipad, it doesn't charge.

    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
     Cheers, Tom

  • Basic / Scheduling dates are calculated for both main orders and Collective

    How the Basic / Scheduling dates are calculated for both main orders and Collective orders?
    when in master data we have given different value of in house production time for both the orders.

    Hi,
    The basic dates are calculated from the data mentioned in the Material Master - In-house production time days, either lot size dependent or lot size independent.
    The scheduled dates are calculated from the timings maintained in the routing.
    In the configuration for Scheduling parameters for the order type - Adjust scheduling - the dates can be adjusted.
    Kindly revert back if you need any further clarifications.
    Warm regards,
    Umesh Poojari

  • Relevent Account Group for Change in WIP & Reserve for both P&L and BS

    Hi
    Experts
    Pl tell me what will be the relevent account group in FI for creation of GL (Change in WIP and Reserve ) for both P&l and Balance sheet account.
    Regards
    Asit

    Hi Eli,
    I've tried to change at GS02, but I got this error mssg 'Set PESB_1050 does not exist'.
    At GS03, I keyed in PESB_1050 at Set ID field and <enter> then I can see the value (GL acnt) inside the PESB_1050. Account group is PESB_1050. Any idea how to change (delete/add GL) the value for that account group?
    Thanks in advance

  • HT201077 I have Photo Stream enabled with Automatic downloads enabled. Yet when I try to join a Photo stream I get referred to The I Cloud start support page - this happens for both my Mac and my IPad. What can I do?

    I have Photo Stream enabled with Automatic downloads enabled. Yet when I try to join a Photo stream I get referred to The I Cloud start support page - this happens for both my Mac and my IPad. What can I do?

    The following is from this Apple Document: iCloud: Photo Stream FAQ
    What do I need to use Photo Stream?
    To use Photo Stream, including Shared Photo Streams, you need an iCloud account, compatible devices, and up-to-date software:
    iPhone, iPad, or iPod touch with iOS 6.0 or later
    Mac with OS X Mountain Lion v10.8.2 or later and iPhoto 9.4 or Aperture 3.4 or later
    PC with Windows 8, Windows 7, or Windows Vista (Service Pack 2) and the iCloud Control Panel 2.1 or later for Windows
    Apple TV (2nd generation) with Software Update 5.1 or later
    You can still use Photo Stream without Shared Photo Streams if your devices meet these requirements:
    iPhone, iPad, or iPod touch with iOS 5.1 or later
    Mac with OS X Lion v10.7.5 or later and iPhoto 9.2.2 or Aperture 3.2.3 or later
    PC with Windows 7 or Windows Vista (Service Pack 2) and the iCloud Control Panel v2.0 or later for Windows
    Apple TV (2nd generation) with Software Update 5.0 or later
    For complete iCloud setup instructions, visit How to set up iCloud.
    You need Mt. Lion in order to use Shared Photo Streams.
    OT

  • Can I use one account for both my labtop and my ho...

    can I use one account for both my labtop and my home computer?
    Solved!
    Go to Solution.

    Softthunder wrote:
    can I use one account for both my labtop and my home computer?
    Hello,
    Yes you can. You can access your account using any Skype enabled computer/device in any country worldwide.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Email Notifications for both UWL Tasks and Collaboration Tasks.

    Hello,
    I want to configure Email Notifications for both UWL Tasks and Collaboration Tasks.
    Could any one please give me the configuration steps.
    Thanks in Advance.
    Regards,
    Sridhar.

    Hi sri,
    Refer the following threads
    https://www.sdn.sap.com/irj/scn/thread?threadID=147316
    https://www.sdn.sap.com/irj/scn/thread?messageID=315715#315715
    https://www.sdn.sap.com/irj/scn/thread?messageID=1170132#1170132
    Regards,
    P.Manivannan

  • I recently changed my iCloud account because someone stole my last phone and changed all my passwords for both my iCloud and emails account. So when I changed my account I accedently erased all my contacts is there anything I can do? (It wasn't backup)

    I recently changed my iCloud account because someone stole my last phone and changed all my passwords for both my iCloud and emails account. So when I changed my account I accedently erased all my contacts is there anything I can do? (It wasn't backup)

    I'd say your best bet is to try to regain access to your old account. Call 1-800-MY-APPLE, and ask to talk to the account security team. Hopefully they can verify you are the account owner, and then reset the password for you.

Maybe you are looking for

  • XSLT Redirect extension in SAP PI

    Hi, We are trying to use XSLT redirect function PI 7.11 mapping. I can't find the actual class path name for Redirect class XSLT processor used in PI which I believe is XALAN. The XSLT syntax i am trying is: ?xml version="1.0" encoding="UTF-8"?> <xsl

  • Retrieve input values from the selection screen

    I have a requirement to retrieve the variable value or values inputed from the selection screen and label the worksheet tab to replace the tab name 'Sheet1' from the Excel. The only way to do this would be to write a macro to label the sheets but how

  • Receiving net payroll data from 3rd party (ADP)

    We are currently outsourcing 3rd party payroll to ADP. Master Data and Time Wage Type IDOCs are transmitted. After payroll processing, G/L data is downloaded through ADP Infolink G/L interface website as a .csv file. We want to receive G/L data back

  • SEARCH BOX IN ADOBE READER X

    Hey everybody. I recently upgraded my Adobe Reader to Adobe Reader X from Adobe Reader 9. However, I can't find the "Search" box in the new Adobe Reader X. I really need it to make my reasearch for Homework a lot easier. Can anyone help me out?

  • Network Desktop needs to be refreshed after waking from sleep mode

    My network is running Win 7 32bit SP1, All users have their documents and desktop saved on the network. I'm testing two computers for a new sleep mode policy, and I've noticed that after waking up from sleep outlook will be disconnected and/or requir