Information about class athenticator

hello;
i am developing an aplication that ask authenticatin from user so i want to know if i have to build the Jdialog that it will be sent to user or just call this methode getPasswordAuthentication() and just this methode wil return to me login and passwrd without that i build a frame or jdialog and send them to user.
and how can i sent them to right user is it by inetadress or how

where is that getPasswordAuthentication method?

Similar Messages

  • Information about class files debugging information

    Hi,
    As known, when compiling "javac -g ..." the class files contain debugging information.
    my Naive question is WHAT is this information?
    could you please add any links to articles about this debugging information?
    Many thanks!!

    http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#22856
    http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#5956

  • Looking for information about AS3 sound classes in "audio" wrong places?

    I'm looking for in depth information about ActionScript 3.0 sound classes. No matter where I search I continually encounter the same sort of kindergarten level descriptions, which never teach more than what we can readily glean from Adobe's documentation. Someone must know where there a discussion that really gets to the heart of the matter.
    I've read Adobe's LiveDocs on the Sound, SoundChannel, SoundMixer, SoundTransform classes. Indeed, they provided me enough guidance to create my own streaming MP3 player, with volume, pan, my own custom mono mix, http request, a preloading animation, and peak meters ...
    Here's an example (in the last statement of the following code) where I understand the end effect, but I fail to comprehend what happens at the compiler level:
    var currentSoundSource:Sound = new Sound();
    currentSoundSource.load(new URLRequest("http://www.mySite.com/myRecording.mp3"));
    var audioChannel_01:SoundChannel = new SoundChannel();
    audioChannel_01 = currentSoundSource.play();
    Unfortunately the class definitions in LiveDocs are quite terse, and they're seemingly incomplete with respect to:
         •     advice on best practices
         •     a thorough coverage of class to class interactivity
         •     a description of exactly how audio streams/plays into channels
    ... and in certain cases it appears that Adobe's descriptions are not fully accurate.*
    Regarding best practices, at first blush I'm sure everyone ponders over the fact that SoundChannel and SoundMixer have a stop method while the Sound class does not.
    One assumes that this surprising design must bear some advantages. If so,  what are they? Where are the analog sound mixer analogies? What would be the disadvantage of a sound class with a stop method ...  particularly when they have their own play method?
    Where are the discussion of these concepts? (Even if Adobe hired the wrong guy to write its sound classes, there should be some follow through that thoroughly explains the existing situation.)
    Phrankie
    * Here's an instance where the docs appear to be partially in error. (Is "and play" mistakenly included in the following?)
    "The Sound class lets you lets you create a new Sound object [and] load and play an external MP3 file into that object."
    ... uh, mmmmmm ... we play an MP3 into a sound class object?
    Wouldn't it be more accurate to say the following:
    A soundChannel can receive the audio data from a sound class object. We can play a sound object into an SoundChannel and manipulate it by altering the SoundChannel's soundTransform property, and we can stop it with the SoundChannel's stop method. 

    check everything you can find written by tinic uro.  this will get you started:  http://www.kaourantin.net/

  • Make information about the current user available in a managed bean

    I've overridden prepareSession in an Application Module (AM) so that when a user logs into my application, it immediately uses the username as a bind variable to execute the query for a View Object (VO) that gets more information about the user, like full name, e-mail address ... This works fine and I'm able to bind the VO to a page and display the information.
    But now I'm beginning to realize that I'm going to need this information about the user throughout the application. Do I have to include an iterator for the user info VO and associated attributeValues on every single pageDef, or is it possible to write a single managed bean that will expose the attributes of the single row of the VO as properties. The application I'm working on now is a "minor" upgrade of a JDeveloper 10.1.3 application, so I need a 10.1.3 solution, but I have a 11.1.2 application in the works that will probably do the same thing.
    Oh, and sorry if this is an FAQ - I'm probably not using good search terms to find solutions that have already been posted.

    Thank you Nick -
    Your code didn't give me exactly the answer I needed, but it pointed me in the right direction. For one thing, I had a version of ADFUtils that didn't have the getApplicationModuleForDataControl method. However I was able to do a Google search and find working code for the missing method. And since the values I need to expose in the managed bean are from the VO, not the AM, I had to go one step further and get a reference to the VO from the AM, and then a reference to the first (and only) row of the VO.
    For anyone else with this question, here's my version of the code:
    public class UserInfo implements Serializable {
        private String eMail;
        private String stateCode;
        private String fullName;
        public UserInfo() {
            AppModuleImpl appModule =
                (AppModuleImpl)ADFUtils.getApplicationModuleForDataControl("AppModuleDataControl");
            ContactInfoViewImpl contactInfoVO =
                (ContactInfoViewImpl)appModule.getContactInfoView1();
            contactInfoVO.reset();
            ContactInfoViewRow contactInfo =
                (ContactInfoViewRow)contactInfoVO.first();
            stateCode = contactInfo.getConStCode();
            System.out.println("At construct UserInfo stateCode=" + stateCode);
            eMail = contactInfo.getConInternetAddr();
            System.out.println("At construct UserInfo eMail=" + eMail);
            fullName =
                    contactInfo.getConFname() + " " + (contactInfo.getConMi() != null ?
                                                       contactInfo.getConMi() +
                                                       " " : "") +
                    contactInfo.getConLname();
            System.out.println("At construct UserInfo fullName=" + fullName);
        public String getStateCode() {
            return stateCode;
        public String getEMail() {
            return eMail;
        public String getFullName() {
            return fullName;
    }

  • Oracle BPM Java API - getting informations about process activities

    Hi
    I have a problem with Oracle BPM Java API, can someone help me?
    I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
    Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
    I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
    I did some tests, below a piece of code of my test:
    IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
    IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
    IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
    List<ProcessMetadataSummary> processMetadataSummaryList =
    processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
    if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
    return;
    ProcessMetadataSummary processMetadataSummary = null;
    for (ProcessMetadataSummary summary: processMetadataSummaryList) {
    if (summary.isIsDefaultRevision()) {
    processMetadataSummary = summary;
    break;
    if (processMetadataSummary == null)
    processMetadataSummary = processMetadataSummaryList.get(0);
    IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
    oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
    Sequence<UserTask> activities = process.getActivities(UserTask.class);
    for (UserTask activity: activities) {
    System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
    There is another way to get this information?
    Thank's

    Hi
    I have a problem with Oracle BPM Java API, can someone help me?
    I have a business process project deployed in Oracle SOA Suite and I need to get some informations of my process programatically via Java API.
    Basically I need to get informations about process activities and the corresponding human tasks referenced by these activities.
    I'm able to get the HumanTasks of my Business Catalog and also to get the Activities of my Process, but the relationship between them is null.
    I did some tests, below a piece of code of my test:
    IBPMServiceClient bpmServiceClient = BPMConnectionUtil.getBPMServiceClient();
    IProcessMetadataService processMetadataService = bpmServiceClient.getProcessMetadataService();
    IProcessModelService processModelService = bpmServiceClient.getProcessModelService();
    List<ProcessMetadataSummary> processMetadataSummaryList =
    processMetadataService.listProcessMetadataSummary(BPMConnectionUtil.getBPMContext(), "processNameOrId to find", "processName", "ASC");
    if (processMetadataSummaryList == null || processMetadataSummaryList.size() == 0)
    return;
    ProcessMetadataSummary processMetadataSummary = null;
    for (ProcessMetadataSummary summary: processMetadataSummaryList) {
    if (summary.isIsDefaultRevision()) {
    processMetadataSummary = summary;
    break;
    if (processMetadataSummary == null)
    processMetadataSummary = processMetadataSummaryList.get(0);
    IProcessModelPackage pack = processModelService.getProcessModel(BPMConnectionUtil.getBPMContext(), processMetadataSummary.getCompositeDN(), processMetadataSummary.getProcessName());
    oracle.bpm.project.model.processes.Process process = pack.getProcessModel();
    Sequence<UserTask> activities = process.getActivities(UserTask.class);
    for (UserTask activity: activities) {
    System.out.println("Human Task: " +activity.getHumanTask()); // <<<<<<<<<<<<<<<<<<<<---------------------------- here is the problem. the human task is null, but my activity have a task associated
    There is another way to get this information?
    Thank's

  • How to get information about an eToken

    Is there a way to obtain information about an Aladdin eToken from Java? I am interested to find out the Maximum Number of Password Retries for an eToken inserted in the USB. I am using the BouncyCastle provider. I saw that you can use the PKCS#11 functions C_GetSlotInfo and C_GetInfo from the class sun.security.pkcs11.wrapper.PKCS11 but I cannot find any connection to the Bouncy Castle provider. Thank you.

    hi, you can use the sys_context function, like this:
    select sys_context('userenv','current_user'),
         sys_context('userenv','os_user'),
         sys_context('userenv','host'),
         sys_context('userenv','ip_address'),
         sys_context('userenv','instance'),
         sys_context('userenv','sessionid'),
         sys_context('userenv','terminal')
    from dual;
    Is this what you 're looking for?

  • In what table are stored information about BOR objects

    Hi Gurus,
    I have to find all objects like classes, function modules, reports and other related to BOR objects. Let say that I have BOR object type. With this information where can I find information about it? In which table this information are storred?
    Best regards
    Marcin Cholewczuk

    Hi ,
    SWOTDI      Definition Interfaces
    TOJTB       Business object repository: Basic data
    u  can use search  help  in SE11 with  table name equal  to  TOJ*

  • Need information about unicode

    Hello friends,
           I need informatiion about an unicode to change english language in to regional language.Please give me information about same.
    Thanx,
    Rahul Talele

    Hi
    Hope it will help you,.
    Reward if help.
    The Link will be helpful to you.
    Re: Upgrade 4.6 to ECC - What are the responsibilites
    regarding Unicode influence in Standard programs
    Very good document:
    http://www.doag.org/pub/docs/sig/sap/2004-03/Buhlinger_Maxi_Version.pdf
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d37d1ad9-0b01-0010-ed9f-bc3222312dd8
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/589d18d9-0b01-0010-ac8a-8a22852061a2
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f8e316d9-0b01-0010-8e95-829a58c1511a
    You need to use the transaction UCCHECK.
    The report documentation is here
    ABAP Unicode Scan Tool UCCHECK
    You can use transaction UCCHECK to examine a Unicode program set for syntax errors without having to set the program attribute "Unicode checks active" for every individual program. From the list of Unicode syntax errors, you can go directly to the affected programs and remove the errors. It is also possible to automatically create transport requests and set the Unicode program attribute for a program set.
    Some application-specific checks, which draw your attention to program points that are not Unicode-compatible, are also integrated.
    Selection of Objects:
    The program objects can be selected according to object name, object type, author (TADIR), package, and original system. For the Unicode syntax check, only object types for which an independent syntax check can be carried out are appropriate. The following object types are possibilities:
    PROG Report
    CLAS Class
    FUGR Function groups
    FUGX Function group (with customer include, customer area)
    FUGS Function group (with customer include, SAP area)
    LDBA Logical Database
    CNTX Context
    TYPE Type pool
    INTF Interface
    Only Examine Programs with Non-Activated Unicode Flag
    By default, the system only displays program objects that have not yet set the Unicode attribute. If you want to use UCCHECK to process program objects that have already set the attribute, you can deactivate this option.
    Only Objects with TADIR Entry
    By default, the system only displays program objects with a TADIR entry. If you want to examine programs that don't have a TADIR entry, for example locally generated programs without a package, you can deactivate this option.
    Exclude Packages $*
    By default, the system does not display program objects that are in a local, non-transportable package. If you want to examine programs that are in such a package, you can deactivate this option.
    Display Modified SAP Programs Also
    By default, SAP programs are not checked in customer systems. If you also want to check SAP programs that were modified in a customer system (see transaction SE95), you can activate this option.
    Maximum Number of Programs:
    To avoid timeouts or unexpectedly long waiting times, the maximum number of program objects is preset to 50. If you want to examine more objects, you must increase the maximum number or run a SAMT scan (general program set processing). The latter also has the advantage that the data is stored persistently. Proceed as follows:
    - Call transaction SAMT
    - Create task with program RSUNISCAN_FINAL, subroutine SAMT_SEARCH
    For further information refer to documentation for transaction SAMT.
    Displaying Points that Cannot Be Analyzed Statically
    If you choose this option, you get an overview of the program points, where a static check for Unicode syntax errors is not possible. This can be the case if, for example, parameters or field symbols are not typed or you are accessing a field or structure with variable length/offset. At these points the system only tests at runtime whether the code is sufficient for the stricter Unicode tests. If possible, you should assign types to the variables used, otherwise you must check runtime behavior after the Unicode attribute has been set.
    To be able to differentiate between your own and foreign code (for example when using standard includes or generated includes), there is a selection option for the includes to be displayed. By default, the system excludes the standard includes of the view maintenance LSVIM* from the display, because they cause a large number of messages that are not relevant for the Unicode conversion. It is recommended that you also exclude the generated function group-specific includes of the view maintenance (usually L<function group name>F00 and L<function group name>I00) from the display.
    Similarly to the process in the extended syntax check, you can hide the warning using the pseudo comment ("#EC *).
    Applikation-Specific Checks
    These checks indicate program points that represent a public interface but are not Unicode-compatible. Under Unicode, the corresponding interfaces change according to the referenced documentation and must be adapted appropriately.
    View Maintenance
    Parts of the view maintenance generated in older releases are not Unicode-compatible. The relevant parts can be regenerated with a service report.
    UPLOAD/DOWNLOAD
    The function modules UPLOAD, DOWNLOAD or WS_UPLOAD and WS_DOWNLOAD are obsolete and cannot run under Unicode. Refer to the documentation for these modules to find out which routines serve as replacements.

  • Need information about interfaces and namespaces in actionscript 3.0

    Hi,
    I need information about actionscript interfaces and
    namespaces, I'm preparing for ACE for Flash CS3 and I need to learn
    about this subjects and I can not find resources or simple examples
    that make these subjects understandable.
    Anybody can help me!
    Thanks a lot.

    Interfaces (cont.)
    Perhaps the most useful feature of interfaces is that you not
    only can define the data type but also method signature of the
    class that implements this interface. In other words, interface can
    define and enforce what methods class MUST implement. This is very
    useful when classes are branching in packages and team of
    developers works on a large application among others.
    The general syntax for an Interface with method signatures is
    written the following way:
    package{
    public interface InterfaceName {
    // here we specify the methods that will heave to be
    implemented
    function method1 (var1:dataType,
    var2:datType,…):returnType;
    function method2 (var1:dataType,
    var2:datType,…):returnType;
    To the previous example:
    package{
    public interface IQualified {
    function method1 ():void;
    function method2 ():int;
    Let’s write a class that implements it.
    If I just write:
    package{
    public class ClassOne extends DisplayObject implements
    IQualified {
    public function ClassOne(){}
    I will get a compilation error that states that I did not
    implement required by the interface methods.
    Now let’s implement only one method:
    package{
    public class ClassOne extends DisplayObject implements
    IQualified {
    private function method1():void{
    return;
    public function ClassOne(){}
    I will get the error again because I implemented only one out
    of two required methods.
    Now let’s implement all of them:
    package{
    public class ClassOne extends DisplayObject implements
    IQualified {
    private function method1():void{
    return;
    private function method2():int{
    return 4;
    public function ClassOne(){}
    Now everything works OK.
    Now let’s screw with return datatypes. I attempt to
    return String instead of void in method1 in ClassOne:
    private function method1():String{
    return “blah”;
    I am getting an error again – Interface requires that
    the method1 returns void.
    Now let’s attempt to pass something into the method1:
    private function method1(obj:MovieClip):void{
    return;
    Oops! An error again. Interface specified that the function
    doesn’t accept any parameters.
    Now rewrite the interface:
    package{
    public interface IQualified {
    function method1 (obj:MovieClip):void;
    function method2 ():int;
    Now compiler stops complaining.
    But, if we revert the class back to:
    private function method1():void{
    return;
    compiler starts complaining again because we don’t pass
    any parameters into the function.
    The point is that interface is sort of a set of rules. In a
    simple language, if it is stated:
    public class ClassOne implements IQualified
    it says: “I, class ClassOne, pledge to abide by all the
    rules that IQualified has established and I will not function
    correctly if I fail to do so in any way. (IMPORTANT) I can do more,
    of course, but NOT LESS.”
    Of course the class that implements an interface can have
    more that number of methods the corresponding interface requires
    – but never less.
    MORE means that in addition to any number of functions it can
    implement as many interfaces as it is desired.
    For instance, I have three interfaces:
    package{
    public interface InterfaceOne {
    function method1 ():void;
    function method2 ():int;
    package{
    public interface InterfaceTwo {
    function method3 ():void;
    package{
    public interface InterfaceThree{
    function method4 ():void;
    If our class promises to implement all three interface it
    must have all four classes in it’s signature:
    package{
    public class ClassOne extends DisplayObject implements
    InterfaceOne, InterfaceTwi, InterfaceThree{
    private function method1():void{return;}
    private function method2():int{return 4;}
    private function method3():void{return;}
    private function method4():void{return;}
    public function ClassOne(){}
    Hope it helps.

  • Document from file - how better store information about document?

    I have a text file that contains information about documents (content from groups than define the document - one row is one document). Every group content from fields (from 10 to 70 in every group). Document consist of 9 groups. In one documen can difference number of groups (> 1 group). E.g. one document can have 3 group1, 2 group6. In another document 2 group9, 1 group 6 and so on. I need to store document in DB and must edit document (by JFrame). To store document I use object MyDocument to store information about document.
    3 solutions:
    1. Store every group as list from hastables
    public class MyDocument {
       private ArrayList<Hashtable<String, String>> group1;
       private ArrayList<Hashtable<String, String>> group2;
       private ArrayList<Hashtable<String, String>> group3;
       private ArrayList<Hashtable<String, String>> group4;
       private ArrayList<Hashtable<String, String>> group5;
       private ArrayList<Hashtable<String, String>> group6;
       private ArrayList<Hashtable<String, String>> group7;
       private ArrayList<Hashtable<String, String>> group8;
       private ArrayList<Hashtable<String, String>> group9; 2. Store all groups as one list from hashtables
    public class MyDocument2 {
      private ArrayList<Hashtable<String, String>> allGroups;
    } 3. Store groups as lists consist from individual objects (MyDocumentGroup1, MyDocumentGroup2 and so on.)
    public class MyDocument3 {
       private ArrayList<MyDocumentGroup1> group1;
       private ArrayList<MyDocumentGroup2> group2;
       private ArrayList<MyDocumentGroup3> group3;
       private ArrayList<MyDocumentGroup4> group4;
       private ArrayList<MyDocumentGroup5> group5;
       private ArrayList<MyDocumentGroup6> group6;
       private ArrayList<MyDocumentGroup7> group7;
       private ArrayList<MyDocumentGroup8> group8;
       private ArrayList<MyDocumentGroup9> group9;
    public class MyDocumentGroup1 {
       private ArrayList<Hashtable<String, String>> group1;
    public class MyDocumentGroup9 {
       private ArrayList<Hashtable<String, String>> group9;
    }What solutions is better? Or maybe has another solution?

    Maybe better to store one document in ONE HashMap
    public class M2Document {
         private HashMap<String, String> data = null;in the next format:
    -------------key ---------value----------
    GroupID_FN | some value
    where, GroupID is ID of group, FN - field number
    example:
    -------------key ---------value----------
    Group1_1 | some value
    Group1_2 | some value
    Group2_1 | some value
    Group2_2 | some value
    Group3_1 | some value
    Group3_2 | some value

  • General information about JATO.

    OK,
    We are finally ready to get off of ND4.
    I'm doing some research about our next direction.
    The way I understand it is that iMT will transform my ND apps into
    J2EE apps using the JATO architecture. Where can I find more
    information about JATO? I can't seem to find much on the iPlanet
    site, or in general. Is it on a level with Struts? Does it only work
    with iPlanet? I've contacted my iPlanet/Sun/NetDynamics rep about
    starting this process, so maybe I will get more information then. It
    just seems odd not to find it generally discussed. If I go with JATO,
    am I just locking my self into another proprietary api (ala
    NetDynamics)? Any general tips NetDynamics veterans can offer?
    John Hoskins
    john.hoskins@t...
    TDS

    John--
    I'm doing some research about our next direction.
    The way I understand it is that iMT will transform my ND apps into
    J2EE apps using the JATO architecture. Where can I find more
    information about JATO? I can't seem to find much on the iPlanet
    site, or in general.Unfortunately, as much as we've been tirelessly promoting JATO for the last
    year and a half, only now is significant public information finally going
    to be made available. The link at the bottom of each forum email will be
    live in a week or so, and will be the official public site for JATO. If
    there isn't enough information there, we'll do what we can to get additional
    information to you--just let us know your needs, or simply ask your
    questions here. Many of you may not be aware that there is even a 10+
    chapter JATO training class... We're trying very hard to make this sort of
    material available to our external users.
    Is it on a level with Struts?Since we're getting lots of these sorts of JATO questions lately, I've
    posted the JATO overview white paper to the forum files area. I recommend
    everyone read this 17 pager; it discusses what JATO is, what it aims to be,
    and how it differs from other J2EE application frameworks. You can access
    the white paper here:
    http://groups.yahoo.com/group/iPlanet-JATO/files/jato-overview.html
    Does it only work with iPlanet?NO! It is an application framework based on standard J2EE. It's been run
    successfully in just about every container on the planet. Please see the
    JATO presentations in the forum file area for more information:
    http://groups.yahoo.com/group/iPlanet-JATO/files/JATO%20Presentations/
    I've contacted my iPlanet/Sun/NetDynamics rep about
    starting this process, so maybe I will get more information then. ItWe're working hard to get the word out to everyone in iPlanet/Sun.
    Depending on who you talk to, you'll get someone very familiar with JATO, or
    someone who's never heard of it. The reason for this is that JATO is not
    being released as an official product, but is rather as a free developer
    technology. JATO has now been chosen as part of the Sun ONE architecture,
    so everyone both internally and externally will be hearing a lot more about
    it in the near future. If your rep comes back to you and has no info on
    JATO, please ask him or her to contact Charles Beckham or me for info.
    Regardless, we're the architects and engineers hanging out here, so this is
    the horse's mouth. <grin> All the JATO materials have been developed by us
    personally (which is why they're somewhat slow in coming), so just ask us if
    you have questions, here or in off-forum email, and we'll be glad to help.
    just seems odd not to find it generally discussed. If I go with JATO,
    am I just locking my self into another proprietary api (ala
    NetDynamics)? Any general tips NetDynamics veterans can offer?Please read the white paper for information that I think will squarely
    address this question. However, I will make these observations at least:
    We've done everything possible to make JATO complementary to J2EE, and we
    don't hide the underlying J2EE API from you. Instead, JATO applies
    well-known, state-of-the-art, application-level design patterns to baseline
    J2EE to help you build real-world J2EE enterprise apps. My experience is
    that enterprise architects and developers find this far more of a benefit
    than a hinderance. Furthermore, you get the source for JATO. (I've lobbied
    long and hard to make JATO open source, but you can imagine how that fares
    inside a huge company like iPlanet...)
    Anyway, I could go on and on, but please read the white paper and see the
    presentations, then let us know if you have additional questions. We'll be
    glad to answer them.
    Todd
    Todd Fast
    Senior Engineer
    Sun/Netscape Alliance
    todd.fast@s...

  • Information about interfaces

    HI all,
    now a computer can have a number of interfaces. e.g ethernet port, USB port, fire wire. All of these can be used for communication (let say connecting to the internet when i say communication ) however a few of them can be used for other purpose as well e.g. u can connect a mouse / external mememory to the USB port. then it doesnot function as a comuunication port.
    Now what i need to do is find out all the interfaces on the computer and find out whether it is being used as an communication interface (and also what kind of communication e.g. ethernet, 802.11a, 802.11b etc).
    So basically i need to get two things.. all the intefaces and the signatures of the different kind of devices attached to the interface so that i can discover the kind of device connected to the interface.
    Now the Network INterface class in java API gives the interfaces on the basis of IP address right? but i guess here i need to do a bit further and not just check for the IP address.
    Can anyone help me out here?? give me some hints/directions ?
    Thanks in advance
    Amitabh

    You could get the names of the Serial ports using the Java Comm API from IBM developer works and the java.net API to get the NIC card interfaces. This does not include the mouse and keyboard ports.
    The remaining stuff, as far as I know, is out of the realm of possibility for Java alone. As a rule of thumb, when you need detailed information about a system's hardware configuration, Java cannot help. You'd have to write some C/C++ JNI code to get them.

  • Information about JSP

    Hi everyone,
    I am trying to collect information about JSP and was wondering if anybody could help me?
    I am trying to find something about the history, what kind of compiling language JSP is using and how it works, what kind of runtime and how it works, what kind of uniform class library and how it works.
    I am trying to find general information. I don�t want to go into details like is using Taglibs, Beans ect.
    I would appreciate the help.
    Thanks,
    Michael

    Well, JSP is Java Server Pages. I'm not sure how old it is, offhand. At least 5 years now, I guess. Generally, it uses Java as the language, although, technically, there is a language parameter of a JSP page that suggests there was some thought to supporting other languages (like ASP supports (or used to) VBScript or JScript).
    Why don't you go to the JSP page on Sun's site and read that info.

  • How does Jbuilder store information about user created packages

    Hi ,
    I am new to Jbuilder . I am trying to create a hierarchy of classes, eg:- com.test.first.servlet.abc.java . How do i add this hierarchy to the Jbuilder project. I have manually tried creating folders using New Folder feature, i guess thats not the way its supposed to be done.
    I also opened the .jpx with a wordpad , to see what kinda xml tag is being used to create a package of classes. There is no information about that at all. Right now i am copying a .jpx file, i got from god knows where & editing that for my present project.
    Any suggestions as to whats the right way of creating one !!?
    Thanx b4 hand,
    Maddy

    If you're trying to add an existing java projects source files to a jbuilder project then select the Project Properties dialog from the Project menu. Navigate to the Source tab and add the directory that contains the new source files.
    Dave

  • Where to find information about SQL States ?

    Hello,
    I'm trying to find information about X/OPEN SQL States explanation. Can anyone help me. ?

    SQLStates are part of the SQL standard and so you can read up on them from any vendor's site.Here is an IBM explanation that talks about the SQLStates class (first two chars) and subcode.
    http://publib.boulder.ibm.com/pubs/html/as400/v5r1/ic2924/index.htm?info/rzala/rzalaint.html

Maybe you are looking for

  • CD/DVD drive not recognized on my HP laptop

    Hi all, Sorry to post yet another thread on the issue but I've tried just about everything that I've read up on I think.  I have a HP Pavilion DV6809wm, running Vista 32 bit.  I go into Device Manager and there is no Optical drive listed.  I have rem

  • Printing problems with iTunes 10.2.1 upgrade

    After updating to iTunes 10.2.1 on Windows XP, when I try to print CD inserts of my "Playlist Folder" in "White Mosaic" format, the songs are listed correctly but the cover prints totally in a black square while before it printed with the pictures, c

  • Can anyone help me with Error -3259? PLEASE :((

    Re: My home button isn't working well so i went to my service provider to ask about the problem. They advised me to update my iPhone to iOS 5 but the problem is no matter what i do, there is always an error. What should I do? my home button isn't wor

  • How to delete an element from a template??

    I bought a dreamweaver template and there's a menu that goes across the top of the screen but I don't know how to get rid of it?? I don't see any coding for it in dreamweaver it just kinda shows up. Link to page: http://ramclutches.com/newsite/index.

  • Serial numbers problem

    Hi Guys I have 10 stock of material A in 001 Storage location ,which all the quantity is serial number managed I have transfered 10 quantity of Material A to 002 location from 001 location using 311 MIGO But serial numbers are not copied to 002 locat