How do you know what classes to use ?

Hello,
This may sound daft - but how do you know what classes to use to do a particular task ? For example to do password-related stuff - how would I know which classes are all relevant to that ? Am I supposed to buy a book on the classes as the API documentation doesn't really tell you WHEN to use which classes.

If you're using JSP, then your password field is likely going to be implemented in HTML. So that's nothing to do with Java. (And you can't use a JPassword field in a JSP page.) But when that field comes back to your server, you may be using Java to authenticate it. Even there, the question is not yet what Java method you are going to use, but what methodology. You could have a database to authenticate against, or an LDAP directory. Or you could have the web server use its built-in authentication, which means you don't have to do any Java coding at all. And there are other ways.
So the question before yours is, how do you know what methodology to use? Again, that comes down to experience.

Similar Messages

  • HT1918 how do you know what computers are authorized to use home share before i delete a computer

    how do you know what computers are authorzed to use an I tune account?

    Welcome to the Apple Community.
    There is no way to view a list of authorised computers. You can only tell a computer is authorised from that computer itself, from the store menu in iTunes.

  • How do you know what view is available to a form?

    A customer requirement that we set the a firstlogin attribute on the on one of the resources the first time a user logs into the IDM end user interface, changes their password, and provides answers for their authentication questions. The way I know that a person has done this, it that they are displayed the "End User Menu"
    The problem is the accounts portion of the User view is not accessible from the End User Menu. I put the same code in the End User Form and it works.
    Is there a way for me to access resource attributes from this form?
    Is this the incorrect approach to solving this problem?
    How do you know what view is available to a form?

    Thanks, that was my problem originally. When using a fieldref I had to set the base context to variables.user i.e.
    baseContext=':variables.user'
    And in workflow I had to preface variable names with the name of the object I checked the view out into.
    What I really wanted to know how to have multiple views open in a form if possible. I'd like to be able to manipulate user and role objects in the same form when editing users in a specific org.

  • How do you know what version Mac OSX is on ANOTHER drive?

    How do you know what version Mac OSX is on ANOTHER drive without starting that drive
    and seeing the system profiler? In fact, because the drive wont start up, Now I am wondering if it is pre-intel. ? CMD-I doesn't do it. Thanks

    Why mess with this? Well, I got the HDDs and the enclosure from my previous PPC, so I'd like to make use of it all without $pending again.
    I don't see any problems with using the card and drives on your new Mac. Hardware is too pricey to just leave behind if you can't help it. With the new drivers I suspect you'll be able to use your drives, I just don't think you'll be able to boot from them if the interface card requires drivers. They should still be very fast storage devices, and probably reliable due to the ongoing support the vendor has provided.
    I went through the same type of issue when I bought my Dual G4 1.42 Tower (upgraded from a Quadra 840AV ). Several of my devices were SCSI (I was into SCSI Wide/Fast drive arrays at the time for video capture), and I was able to use an Adaptec card for scanning for several years with Jaguar and Panther. I'd spent quite a bit of cash to ensure high quality and performance and didn't want to loose all of the investment. Eventually the SATA hard drives and other USB and Firewire replacements became so cheap and performance improved enough that loosing SCSI with Tiger was not a big deal. I do think I should get about 5 years of hardware compatibility with most products and I keep older Mac's around for dedicated services as long as they aren't a costly maintenance issue.

  • HT4859 how do you know what is backed up/restored from iCloud

    How do you know what items are backed up to iCloud and also if the restore is correctly restored from iCloud.Are applications also backed up to iCloud

    What is backed up
    You get unlimited free storage for:
    Purchased music, movies, TV shows, apps, and books
    Notes: Backup of purchased music is not available in all countries. Backups of purchased movies and TV shows are U.S. only. Previous purchases may not be restored if they are no longer in the iTunes Store, App Store, or iBookstore.Some previously purchased movies may not be available in iTunes in the Cloud. These movies will indicate that they are not available in iTunes in the Cloud on their product details page in the iTunes Store. Previous purchases may be unavailable if they have been refunded or are no longer available in the iTunes Store, App Store, or iBookstore.
    You get 5GB of free iCloud storage for:
    Photos and videos in the Camera Roll
    Device settings (for example: Phone Favorites, Wallpaper, and Mail, Contacts, Calendar accounts)
    App data
    Home screen and app organization
    Messages (iMessage, SMS, and MMS)
    Ringtones
    The following items are not backed up to iCloud. You can sync these items with a computer using iTunes:
    Music, movies and TV shows not purchased from the iTunes Store
    Podcasts and audio books
    Photos that were originally synced from your computer

  • How do you know what exception to throw?

    I want to make sure that I'm using exceptions properly, and I understand the whole try/catch block, but how do you know what type of exception to throw? Is there a list somewhere of all the different types of exceptions?

    I want to make sure that I'm using exceptions
    properly, and I understand the whole try/catch block,
    but how do you know what type of exception to throw?
    Is there a list somewhere of all the different types
    s of exceptions?Kind of. There is a list called "Java API". You can search that for "Exception". But apart from that you can alwas create your own exception.

  • When setting up a new ipad how do you know what your user name is?

    When setting up a new ipad how do you know what your user name is?

    How to set up Apple ID
    http://support.apple.com/kb/ht2731

  • How do you know what generation your iPod touch is?

    I have just bought an iPod Touch - my first iPod of any type.  How do you know what generation it is? There is nothing on the packaging and the only clue in the 'About' screen appeared to be the version 4.3.3.  I am trying to purchase a universal dock adapter and need to know the generation in order to get the right one.

    meredithlr wrote:
    Why do apple refer to the products by generation and then not actually include that information on the product?
    beats me.
    you can inform Apple of your displeasure by leaving a comment via iPod Touch Feedback.

  • Dumb question but How do you know what generation iPad you have?

    Dumb question but how do you know what generation iPad you have?  I got mine as a gift on Xmas day 2012 but don't know how to find out what version/generation it is.  Can someone help me find that info?  I have looked within settings & elsewhere and I cannot find it.  Thanks in advance!

    Append the last three characters of its serial number to http://www.everymac.com/ultimate-mac-lookup/?search_keywords= and load the page.
    (83797)

  • HT1338 How do you know what is installed on your MacBook Air?  Which system?

    How do you know what operating system you have?

    Go to System Profiler > SERIAL-ATA > Then you will have the Model numbers - Just google them & you should get your drive!

  • How do you know what version of OS X you have on your Mac Mini?

    How do you know what version of OS X you have on your Mac Mini?

    Apple Menu (upper left on meu bar) > About This Mac
    "Verion: " 10.8.x is Mountain Lion, 10.7.x is Lion, 10.9.x is Mavericks, 10.6 x is Snow Leopard.

  • TES 6.1.x - how do you tell what DB is used by ClientMgr?

    We just externalized the Client Mgr DB to Oracle, updated config files, etc. How do you tell what db is using - Derby or Oracle?        

    After you externalize the CM database, you should see the db objects (tables and views) in the database are now created shortly after you start the CM service.
    You can verify creation of database objects in the actual database and in the plugin log upon start-up. This log can be found  under the ../ClientManager/plugin/tes-6.0/log directory
    John

  • How do you know what programs to uninstall?

    Cannot get rid of GeekBuddy pop up. Tried several times to uninstall and then restart computer.I need to free up space on HP Tools (E)How do you know what programs to uninstall?I have no idea what board to choose.

     Hi  ,
    I would be happy to assist if needed as there are many models of HP Notebooks, I would need the model number.
    How Do I Find My Model Number or Product Number?
    Please respond with which Operating System you are running:
    Which Windows Operating System am I running?
    Please let me know.
    Thanks.

  • How will you know if someone is using video chat?

    How will you know if someone is using video chat? Does the green camera indicator turns red?

    Hi,
    You Buddy List will show two types of AV icons.
    "Single" type which indicates the person can only do 1-1 Chats.
    "Stacked" icons indicating they can do Multi-way chats.
    Example pic
    If they appear feint or "greyed out",  so to speak, then they are Busy to someone else.
    (if they are chatting with you they will appear dark again once connected)
    9:01 PM      Tuesday; November 15, 2011
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb( 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • How do you know what generation your Apple TV is?

    How can you tell what generation your Apple TV is and what the version IOS it is running? Thanks for any help!

    In the link provided, there is a section which tells which model you have; e.g.
    Apple TV (3rd generation)
    Year introduced: Early 2012
    Color: Black
    Model number on bottom:
    A1427 for Apple TV (3rd generation)
    A1469 for Apple TV (3rd generation) Rev A
    The A1427 or A1469 is printed on the bottom of the apple tv with very fine print, i had to use a flashlight to see my model number.

Maybe you are looking for

  • A few questions about Patone colors

    I have a few questions about patone colors since this is the first time I use them. I want to use them to create a letterhead and business cards in two colors. 1) I do understand that the uncoated is more washed out than the coated patone colors. I h

  • ITune 9.1.1 (12) does not recognize iPod Touch

    I tried to add new music onto my iPod touch today, and found that iTunes did not recognize my iPod. I even used three different USB cords to connect. I cannot update to a new version of iTunes because my OS is so old (I am waiting for the summer 2011

  • EEWB (attributes from product set type)

    Hi gurus, I have a question about EEWB. Could you please help me. There is possibility to add components (attributes from product set type) at item level: Business object - BUSINESS_TRANSACTION Extension Type - ADD_NEW_ITEM_COMPONENT. I’ve created an

  • To view the company code wise cost and profit centers

    hi all, how to know the company code wise cost centers and profit centers? and what is the transactin codes for this? Regards, Soma

  • Entity data in alternate rollup not rolling up to parent.

    We have a number of different entity hierarchies in our application.  In our main entity hierarchy we have system rules setup to pull specific account data down to STAT accounts for particular entities and then that same STAT account data is pulled o