New to J2EE - stuck up with certain setting parameters

Hi all,
I downloaded The J2EE 1.4 Tutorial for Sun Java System Application Server Platform Edition 8.1 2005Q2 UR2 . I installed server and unzipped the tutorials also.I followed the Application server installation tips as per tutorials.
I am stuckup with "Building the examples " section of tutorilas. I need to set some properties like j2ee.home, j2ee.tutorial.home in the build.properties file. But the problem is dont know how to open the file as it is .properties extension file.
Am I understanding the point correctly. Please let me know how to set the properties in the build.properties file. Thanks in advance.
regards

1-.properties files are plain text files so you can open them in any text editor.
in windows notepad , write....
a suggestion : try to set J2EE_HOME ,java_home , ant_home .... as an environment variables it make your life easier as most application looks for them . in windows you can do it by :right click on my computer / properties/advanced/environment variables .
Try to use netbeans for learning and developing j2ee applications , imho you can kickstart faster , and you will understand concepts during your works .
grab it from : www.netbeans.org , best option for now is netbeans 5 beta 2
i remember that there was a copy of Sun j2ee tutorial , changed to comply with netbeans.
to start application server just goto installation directory / domains / domain1/bin/startserv.bat Im sure that installer make a shortcut for starting and stopping both application server and Pointbase database.
hth

Similar Messages

  • After creating a new slideshow I export it with the  setting HD 1080p it is then saved as a .mov i then create a dvd in idvd and the quality is not  as good as the original photo's when viewed on the monitor or a TV, am i doing something wrong?

    After creating a new slideshow I export it with the  setting HD 1080p it is then saved as a .mov i then create a dvd in idvd and the quality is not  as good as the original photo's when viewed on the monitor or a TV, am i doing something wrong?

    DVD's are only 640 x 480 (interlaced), so yes, the quality is not nearly as good.  You should probably create your .mov in DV format to best match the DVD format

  • UPDATE multiple columns with conditional SET parameters

    I have a procedure that updates multiple columns of a table using the procedure's parameter. Is it possible to have one update statement with conditional SET parameter?
    CREATE TABLE TEMP
    (POL_NUM NUMBER,
    OED DATE,
    TERM NUMBER,
    TRANS_CD CHAR(2));
    INSERT INTO TEMP VALUES (1, '1 AUG 2009', 12, 'NB');
    INSERT INTO TEMP VALUES (2, '4 AUG 2009', 12, 'XL');
    INSERT INTO TEMP VALUES (3, '2 AUG 2009', 12, 'RN');
    COMMIT;
    CREATE OR REPLACE PROCEDURE TMP_PROC (
      pPOL_NUM NUMBER,
      pOED IN DATE,
      pTERM IN NUMBER,
      pTRANS_CD CHAR2)
    AS
    BEGIN
      IF pOED IS NOT NULL THEN
        UPDATE TEMP SET OED = pOED WHERE POL_NUM = pPOL_NUM;
      END IF;
      IF pTERM IS NOT NULL THEN
        UPDATE TEMP SET TERM = pTERM WHERE POL_NUM = pPOL_NUM;
      END IF;
      IF pTRAN_CD IS NOT NULL THEN
        UPDATE TEMP SET TRANS_CD = pTRANS_CD WHERE POL_NUM = pPOL_NUM;
      END IF;
      COMMIT;
    EXCEPTION
      WHEN OTHERS THEN
         NULL;
    END;Is it possible to replace multiple IFs from the code to have only one UPDATE statement with condition that update the column only if the passed parameter is not null? In real scenario I have more than 3 columns and I don't want to write many IF blocks.
    Please help Gurus!!
    Edited by: Kuul13 on Sep 18, 2009 1:26 PM

    Hi,
    You certainly don't want to issue separate UPDATE statements for every column; that will be really inefficent.
    SQL has several ways to implement IF-THEN-ELSE logic. CASE is the most versatile, but NVL will do everything you need for this job. You can use one of those to set a column to itself (and therefore not really update that column) when appropriate.
    For example:
    CREATE OR REPLACE PROCEDURE TMP_PROC (
      pPOL_NUM   IN       NUMBER,
      pOED          IN   DATE,
      pTERM          IN   NUMBER,
      pTRANS_CD  IN       CHAR
    AS
    BEGIN
         UPDATE  temp
         SET     oed      = NVL (poed,       oed)
         ,     term      = NVL (pterm,       term)
         ,     trans_cd = NVL (ptrans_cd, trans_cd)
         WHERE     pol_num      = ppol_num;
      COMMIT;     -- Maybe
    END    tmp_proc;"EXCEPTION WHEN OTHERS THEN NULL" is almost always a bad idea. If there's an error, don't you want to know about it? Shouldn't you at least log a message in a warnings table or something?
    Think careflully about whether or not you want to COMMIT every time you call this procedure.
    Just as it's inefficient to issue a separate UPDATE statement for every column, it's also inefficient to issue a separate UPDATE statement for every row. If efficiency is important, it should be possible to UPDATE several rows in a single UPDATE statement, using NVL (or CASE, or COALESCE, or NULLIF, or NVL2, or ...).
    This was a very well-written question! Thanks for providing the CREATE TABLE and INSERT statements, and such a clear explanation.

  • New 5g touch need help with photo setting and..

    Hello!
    Can someone help me pls. I'm sure anyone who has a 4g touch or iphone 5 or previous iphone can help. I'm coming from ipod touch 2g so a lot of this technology is foreign to me. Anyway, I accidentally synced my photo's from my computer onto my touch. I don't want thousands of pics on there. I can't seem to find a delete button for the albums on the touch. How do I delete them from my ipod? I have transferred pictured I've taken from the ipod to my computer, so I am not worried about deleting them. I have deleted individual pictures but thousands would take forever one by one. Also, I have set this ipod as a new device as I want to be particular about what is on it. So I didn't want to back up from my 2g. I've notice that when I synced and chose the game/apps I wanted on the device that they all reset. the games have deleted their save information and I have to start from scratch. Is this normal?
    Thanks,
    From a long time coming updated device!

    I think I might need a little clarification on your problem. But just to clarify, the iPod Touch nor the iPhone support synchronization over WiFi, they still have to be synchronized over a physical iPod cable. Are you trying to get both the iPod and the computer connected to the internet? Do you own a wireless router?

  • We have an older IMac (preIcloud) and just purchased a new Macbook Air. Our Iphones are set-up to synch with the IMAC and my calendars on the IMac & the phone look the same. But when I open ICal on the MacBook Air my calendar is missing items? Help..

    We have an older IMac (preIcloud) and just purchased a new Macbook Air. Our Iphones are set-up to synch with the IMAC and my calendars on the IMac & the phone look the same. But when I open ICal on the MacBook Air my calendar is missing items? Help.

    Are you wanting to import iCal to the MacBook Air. Since iCloud doesn't work with 10.6 OSX you probably don't have any data in iCloud yet?

  • How do I set up my new Macbook Pro to associate with my Apple ID so I can download purchased music?

    How do I set up my new Macbook Pro to associate with my Apple ID so I can download purchased music?
    Under 'Manage Devices' it only lists my iPhone and iMac. I've bought stuff on my new Macbook Pro using my Apple ID, but I can't find music I previously purchased using the iMac.

    Oh, wait, I've found it. Silly me!

  • I recently changed my apple ID but my previous apple ID is associated with my icloud account. I'm setting up my new iphone 6 and cannot complete the set up until I can sync my icloud account. Does anyone know how to change the icloud id?

    I recently changed my apple ID but my previous apple ID is associated with my icloud account. I'm setting up my new iphone 6 and cannot complete the set up until I can sync my icloud account. Does anyone know how to change the icloud id?

    Do the following:
    Make sure you are signed into iMessage and FaceTime with your current ID.  If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
    Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.)  Now go to Settings>iCloud, turn off Find My iPhone and enter your current password when prompted (even though it prompts you for the password for your old ID).  Then go to Settings>iCloud, tap Sign Out and choose Delete from My iPhone when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your phone).

  • While updating my iphone 4s to ios6, I had to restore it. Now every time I connect to itunes, I get the "Set Up Your iPhone" window with the set up as new iphone and restore from backup options. After the restore, I got everything except my apps back.

    While updating my iphone 4s to ios6, I had to restore it. Now every time I connect to itunes, I get the "Set Up Your iPhone" window with the set up as new iphone and restore from backup options. After the restore, I got everything except my apps and music back. Do I need to set the phone up as new again?

    Hi Vidbrent,
    If you are having issues updating or restoring your iPhone, you may find the following article helpful:
    Apple Support: If you can't update or restore your iOS device
    http://support.apple.com/kb/ht1808
    Regards,
    - Brenden

  • I just bought a new Mac mini but cannot complete the set up and I could not pair my apple wireless keyboard with mac min. Can someone help?

    I just bought a new Mac mini but cannot complete the set up, as I could not pair my apple wireless keyboard with mac min. Can someone help?

    Bluetooth: How to set up your Apple Wireless Keyboard

  • Brand new IPad 3 out of the box - set up problem with Apple ID

    Brand new iPad 3 out of the box - set up problem. It says my Apple ID (email address) is already being used. I reset the password successfully but still says I need another Apple ID. Why won't the ID recornize me?

    Open current iTunes on your computer. Connect iPhone to the computer with the Lightning USB Cable. Hold both the Home and Power buttons for about 20 seconds until iTunes recognizes the iPhone in Recovery Mode. Click the Restore button of iTunes. If still problem, make Genius reservation or set up Sevice and take or send to Apple for resolution under Warranty.

  • How do I transfer from time machine lightroom programme to my girlfriends computer (backed up on time machine) with out setting up my full desktop - i need it until i can afford a new computer to restore my old set up completely.

    How do I transfer from time machine adobe lightroom programme to my girlfriends computer (backed up on my hard drive via time machine) with out setting up my full desktop - i need it until i can afford a new computer to restore my old set up completely.
    Any ideas, I can access files - i.e. jpegs of old work, but can't edit new photos...
    P

    If you have a license for Lightroom, you should be able to reinstall it from an installer disc or re-download it from Adobe after explaining the situation and clarifying the license issues. Either will be simpler than trying to extract and install it from a TM backup of a different Mac, I think. If it's anything like other Adobe products, it has bits and pieces all over the place that you'll have to find and put in their right places on your girlfirend's Mac.

  • I tried to install the new iOs 7 on my iphone5 and itunes shut down before it completed and now my phone is stuck on with the apple and a line under it.

    I tried to install the new iOs 7 on my iphone5 and itunes shut down before it completed and now my phone is stuck on with the apple and a line under it.

    Hello roch23
    Check out the article below to get you back up in running.
    iOS: Unable to update or restore
    http://support.apple.com/kb/HT1808
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • I signed up yesterday with synch. I dont know my password and I need it to reset a new password. Please advise how to set a new password when I dont know old 1

    I signed up yesterday with synch. I don't know my password and I need it to reset a new password. Please advise how to set a new password when I dont know old 1
    I set it up on my "upstairs computer" and then came to my "downstairs computer" to synch and I can not get into the account because of the above password problem. I write down my passwords. I must have mistyped it or mis written.
    I want to change my password

    The new Sync version uses the Firefox account and stores the login data (username/email and password) under the https://accounts.firefox.com site heading in the Password Manager and use the signedInUser.json file in the profile folder to store the credentials once connected to the account to avoid having to enter the master password on each start.

  • HT5622 Update to ios7 need to tke how long ? My upateting stuck at updating icloud setting.... For more then 2 hrs wht should i do with it ?

    Update to ios7 need to tke how long ? My upateting stuck at updating icloud setting.... For more then 2 hrs wht should i do with it ?

    Shouldn't take that long. Reset and continue with update.
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears

  • Brand new MacBookPro 13" , Stuck at White Screen with gray apple and spinning gear.

    Brand new MacBookPro 13" , Stuck at White Screen with gray apple and spinning gear.
    This MBP apparently didn't come with a DVD and safe mode ( holding shift at boot up ) isn't working.
    Any ideas would be most appreciated.

    Call AppleCare. You should not be having problems with a brand-new machine.

Maybe you are looking for

  • How old is this Mac?

    Is there a way to tell how old this Mac is somewhere in the OS? I want to justify purchasing new ones. Below information is from the system profiler Model Name: Power Mac G5 Quad Model Identifier: PowerMac11,2 Processor Name: PowerPC G5 (1.1) Process

  • Safari in Lion crashing on opening

    I click on Safari, it bounces in the dock for a few seconds and then I get an error page with "Safari quit unexpectedly" and then all this gumpf in the Problem Report. Does anyone have any idea how to rectify this? Process:         Safari [397] Path:

  • SSRS report Excel Export file size is huge

    Hello everyone, I am facing an issue with SSRS report exporting  to Excel. Issue : Exported file size is too big. I have a matrix report ( parametrized report ) it fetches data from multiple table. initially when 1) I select all parameters all values

  • Dodge tool brush area

    CS3, Windows XP, 5.1.2600 Service Pack 2 Build 2600, System Model: E-4500S, System Type: X86-based PC x86 Family 15 Model 6 Stepping 4 GenuineIntel ~2799 Mhz Regardless of the brush diameter or hardness when using the dodge tool to lighten an area of

  • I need some idea for my last project about Java

    Hi my name is suzanna from Indonesia. I have lots of interest with Java programming and I want make something about it for my last project. It's very important and I need some idea...could u give me some topic? I'm sorry if my english is very bad.thx