How can i access any kind of java control inside ejb

I want to access an ejb control of a session bean inside another session bean. Can anybody tell me how can i do that as the weblogic workshop doesnot give any option to add that.
Thanks
Sachin

Hi,
We can not able to add any type of javaControls inside the ejb project.
Instead of that we can write our own code to get ejbs in an existing ejb's.
Regards
Anilkumar kari

Similar Messages

  • How can i install any program using java code

     
    Hi friends,
    i want to know how can i install any software using c# code.

    Hi,
    You may change your title, Since this is C# forum.
     >>i want to know how can i install any software
    usingc# code
    So what kind of your software?
    In C#,we can install and uninstall "*.msi" files (setup).
    The code to install software without user interface is:
    private void installSoftware()
    Process p = new Process();
    p.StartInfo.FileName = "msiexec.exe";
    p.StartInfo.Arguments = "/i \"C:\\Application.msi\"/qn";
    p.Start();
    For more detailed information, please refer to article
    C# - Installing and uninstalling software in codeproject.
    Best regards,
    Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I access user defined column(in query) inside the trigger?

    Hi
    I have 3 unions and each query displays different records on some criteria. I also have a column hard-coded
    Ex:
    select a.col1, a.col2,
    add as update
    from table1 a
    where ...
    union
    select a.col1, a.col2,
    change as update
    from table1 a
    where ...
    union
    select a.col1, a.col2,
    del as update
    from table1 a
    where ...
    And I need to display a column in the report only if update is Add. I was thinking of writing a format trigger for that field. But I do not know how can I access this user defined column named update in the trigger?
    Any help?

    Try ":update" minus the double-quotes. Ex:
        IF :update = 'add' THEN
          RETURN(TRUE);
        ELSE
          RETURN FALSE;
        END IF;
    You'll want to place your hard-coded values in single-quotes. Ex:
        select a.col1, a.col2,
        'add' as update
    - Brian

  • How can we open any file using JAVA...

    Hi all
    i trying to make code in that code i choose a file using a filechooser then put that file name in FILE object like (File file = fileChooser.getSelectedFile();)
    but the thing is how can i open that file for example if that file is HTML file then opens in IE or if that file is MS Word document that open in Word, like that
    is there any suggestions
    Thanx
    Regards
    Satinderjit

    start is a windows command-line utility.
    start foo.doc will start Word (or Star Office or Word Perfect or whatever is registered for the .doc extension),
    start bar.htmnl will start your registered browser etc.

  • How can I find the coordinates of individual controls inside a custom control?

    I have a custom control that contains 44 smaller custom controls.
    I can get the coordinates of the 44 embedded custom controls by getting the controls[] property of the main control, but I cannot find a way of getting the coordinates of the controls inside each of these smaller custom controls.
    Is there a way of getting at the coordinates of custom controls that are nested several layers deep?
    Erik.

    For future reference and for any LabVIEW users who have older versions here are the Front Panel displays before running the VI along with the Wiring Diagram with each of the four cases for handling the various types of ClassIDs that can contain child controls.  X1, X@, Y1, and Y2 are the coordinates of the top left and bottom right corners of each control.  These coordinates can then  be used to determine which control the mouse is pointing at.
    In my own project I did further evaluation to eliminate all parent controls (controls that contain other controls) and passed along only the controls that were end-nodes (controls that contain no other controls). Also, the control's refnum was stored for later use.
    The bottom picture shows the data gathered during the execution of this VI.
    Thanks again, Mike!

  • How can i access predefined objects(ex-participant  obj)inside  screenflow?

    Hi,
    Is there any way to get the pre-defined objects (ex- particpant, process, activity etc) inside the screenflow?
    I am passing those values as agruments to the screenflow and assigning to the screenflow instance. But I was wondering if they are directly accesible and I dont have to pass them as arguments to the screenflow.
    Thanks
    Pal

    You can use the built-in components. In ALBPM, when you use a component
    without explicitly creating an instance of it, the compiler creates a
    "default instance".
    The value of such instance is largely dependent on the component itself,
    for example, if you have a catalogued Java component with a default
    constructor, that is used as the default instance.
    Most built-in components have that behavior, in the case of the Process,
    Activity, and Participant components, the default instance fetchs the
    information from the context where they are being executed. So, if you
    call methods or attributes over the default instance of those components,
    you can get the information you want.
    As an example, run this code from an automatic activity in a ScreenFlow:
    logMessage "Participant: " + Participant.id using severity = FATAL
    logMessage "Activity: " + Activity.name using severity = FATAL
    logMessage "Process: " + Fuego.Process.id using severity = FATAL
    That should log the current processId, activity name and participantId.
    Note that this is context sensitive, so if you call the screenflow from a
    different activity, process or using a different participant, the correct
    values will be logged.
    Hope this helps,
    Juan
    On Mon, 10 Jul 2006 15:33:09 -0300, Puspendu Pal wrote:
    Hi,
    Is there any way to get the pre-defined objects (ex- particpant,
    process, activity etc) inside the screenflow?
    I am passing those values as agruments to the screenflow and assigning
    to the screenflow instance. But I was wondering if they are directly
    accesible and I dont have to pass them as arguments to the screenflow.>
    Thanks
    Pal

  • JAAS: How can I access the JAAS subject in an EJB?

    Hello,
    I try to understand the JAAS integration in J2EE 1.3.
    I know:
    J2EE defines a role-based container managed authorization for the web and ejb container. Roles, users and their relationship are defined in the realm.
    JAAS has a more sophisticated policy-based authorisation model. Since J2EE1.3 I can define a realm using JAAS having the role-based authorization of the container managed security.
    My question:
    How can I access the JAAS subject object in an EJB or servlet to use the policy-based authorization?
    Thank you for your answers
    Peter

    May be I should redefine my question:
    If I use JAAS as J2EE-Realm, how can I receive the subject?
    All JAAS-Tutorials contains code fragments like
    LoginContext lc = new LoginContext("entryFoo");
        try {
            // authenticate the Subject
            lc.login();
            System.out.println("authentication successful");
            // get the authenticated Subject
            Subject subject = lc.getSubject();But if I use JAAS as J2EE-Realm the container creates the LoginContext.
    Whom can I ask for the subject now?
    There is no such method implemented in the EJBContext, the HttpServlet or HttpServletRequest!
    Peter

  • How can i gain access to my data on a Time Capsule after a fresh install of Mavericks? I can't access any backups through Time Machine... They appear purple/transparent, and I can't even select them to view their contents. PLEASE HELP!!!

    So, I've got several thousand photos, and a decent amount of videos of my daughter, along with a lot of stuff for work stored on my Time Capsule, and now I can't access any of it. I did a fresh install of Mavericks on my MacBook Pro last week sometime, and haven't been able to figure out how to get my files back. Please Help!!! My daughter is 2 and a half, and every picture/video I have of her is locked on this thing. I was planning on making some photo/video projects fo my wife for Christmas, and now I'm definitely not going to be able to pull it off. Her birthday is at the end of January, though, so if I could have it by then, that would rule!
    Basically, the bar on the right of the screen has some gray dates, which I can access (all backups after the Mavericks install), and purple dates that go all the way back to March (when I originally purchased and began using the TC) which deny me access/viewing. It's possible that I created a slightly different user name when I reset my MacBook, which I guess is most likely the cause, but I have no idea what to do now to correct it. Thanks for taking the time!

    Mavericks does really nasty stuff..
    Try manually mounting the sparsebundle and extract the files you want.
    Yet another Pondini reference. http://pondini.org/TM/15.html
    We have avoided Mavericks you see knowing that it would cause these kinds of issues..
    You never ever load a new OS without doing a disk image beforehand.. TM is not reliable enough or trustworthy to be depended on.
    If none of the above work..
    I would get a USB drive on the computer and install Mountain Lion or whatever OS you had before you unfortunately upgraded to Mavericks.. Then use TM from that decent installation but mount the sparsebundle and choose the backup from a date well before mavericks was installed.
    Once you have extracted the files.. or even done a full restore you might be able to extract the files you want.

  • Does my macbook air have a built in virus scan?  how can I access and use it? also any recommendations of what software if this is not avail ?

    does my macbook air have a built in virus scan?  how can I access and use it? also any recommendations of what software if this is not avail ?

    Contrary to what Geeks on Hugs is telling you, Mac OS X does indeed have a basic malware scanner. It is not a feature that is directly accessible to the user, and works a bit differently than every other malware scanner out there. Gatekeeper, which has been mentioned here, is entirely separate, and provides a different method for helping to protect you against malware.
    The anti-malware scanner in Mac OS X is called XProtect. When you download an application (or any other kind of executable code), it is automatically "quarantined," so that when you open it you're asked if you really want to do that. I'm sure you're very familiar with this aspect of Mac OS X if you have ever downloaded any apps from outside the App Store. What you don't know, though, is that each time you try to open a new app, that app is checked by XProtect. If it is identified as malware, you will not be allowed to open it, and will be warned that it's malware.
    At this time, there is no known malware that can infect a properly up-to-date Mac. All current malware will be blocked by one or more methods.
    For more information, see my Mac Malware Guide.
    (Fair disclosure: I may receive compensation from links to my sites, TheSafeMac.com and AdwareMedic.com.)

  • On iTunes 11, how can I access home sharing if the music is from a CD? Is there any way I can download these songs if (A) I no longer have the CD, or (B) I do not want to pay $25 a year for iTunes Match?

    On iTunes 11, how can I access home sharing if the music is from a CD on a different computer using Home Sharing? Is there any way I can download these songs if (A) I no longer have the CD, or (B) I do not want to pay $25 a year for iTunes Match?

    Yes, you can copy songs that you ripped from a CD to your Home Sharing computer.
    Turn on Home Sharing first on both computers.  To do that, go to File > Home Sharing > Turn on Home Sharing.  Enter your Apple ID and password.
    Now go to your computer that you want to copy the songs to and connect to your Home Share.  You can do that by clicking on the popover button located at the left top corner right below the play control buttons.  Click on it and scroll to the bottom until you see your Home Share and select it.
    Go to Music in your Home Share.  Select the songs that you want to copy in your Home Share and click Import at the bottom right corner.

  • HT204053 We both use the same iPad my father and I as of today, because I am using it too from now on, but each time the ID & Password pops up it ask for his, how can I access mine, so it's my account and financials being used. Thanks to any of those gift

    We both use the same iPad my father and I as of today, as is letting me use it too from now on (sweet! ), I do not want to make a mistake and accidently use my father's ID & passwords (dohh ), but each time the ID & Password pops up it ask for his (???), how can I access mine, so it's my account and financials being used. Thanks to any of those gifted with this knowlegde... AMAKANGAROO

    In order to reliably save the info and be able to restore at a later date, you would need to use his AppleID.
    Switch to it on iTunes, back the iPad up and confirm the backup exists (Preferences / Devices), then switch to yours, wipe the iPad and start afresh. Will also wipe his apps, as they are tied to the AppleID as well.

  • Hi there, I pay for extra iCloud space online. However I cannot seem to find any of my photos or account? As my iPod/iPhone only hold 1000 pictures, where are the previous pictures? And how can I access them?

    Hi there, I pay for extra iCloud space online. However I cannot seem to find any of my photos or account? As my iPod/iPhone only hold 1000 pictures, where are the previous pictures? And how can I access them?

    You cannot use iCloud Storage to suppliment your iPad. They are mainly used to backup iPad.
    Free up space on iPad
    Settings>General>Usage>Storage>Delete what is not needed to free up space on iPad.

  • ICloud storage space used up by old data from 1st gen iPad I traded in nearly 2 yrs ago for an iPad Mini. Can't backup any info for mini or new 6 plus. How can I access this old data to clear it out?

    My iCoud storage space is being used up by old data from a 1st  generation iPad I traded in nearly 2 yrs ago for an iPad Mini. The people at the sprint store where I made my trade were supposed to transfer everything over from my old iPad to the new Mini once they backed up the old device to iCloud. Well, long story short, none of the data ever got transferred to the new iPad, but it all got backed to iCloud, eating up all my storage space. Here I am almost 2 years later, and I've never been able to back-up my iPad mini. What's worse, My iPhone 4 wasn't backed up that whole time, and now I can't back-up my data from my new iPhone 6 Plus to iCloud either. Trying to find creative ways to store and save my information and data between all my devices is getting to be ridiculous. I don't want to upgrade my storage space though...just want to clear out a great deal of what is already being stored. How can I access this old data to clear it out?

    The only way to access data from an iCloud backup is to restore it to your device.  You could, for example, back up your iPad mini to your computer using iTunes (by connecting it, opening iTunes, then going to File>Devices>Back Up and choosing to back up apps and transfer purchases when prompted), then erase it and restore the old iPad backup (as explained here: iCloud: Restore or set up your iOS device from iCloud), save any recovered data you want to keep, then restore your iTunes backup back to your iPad mini (by connecting it to your computer, opening iTunes, then going to File>Devices>Restore from Backup).
    Once you're done with the old backup, delete it from your account to free up the space.

  • HT201210 I just updated my iTunes and now I get a message that the application has failed to start because MSVCR80.dll was not found.  What happened and how do I fix this?  I can't access any of my music now.

    I just updated my iTunes and now I get a message that the application has failed to start because MSVCR80.dll was not found.  What happened and how do I fix this?  I can't access any of my music now.

    Click here and follow the instructions. You may need to completely remove and reinstall iTunes and all related components, or run the process multiple times; this won't normally affect its library, but that should be backed up anyway.
    (99460)

  • I am doing a photo book but can only place picture from the last 12 months or last import. How can I access other pictures? Any advice?

    I am doing a photo book but can only place picture from the last 12 months or last import. How can I access other pictures? Any advice?

    You access them in the event they are in or under Photos or from an album if they are in an album - simply drag them to the book project in the source pane on the left
    LN

Maybe you are looking for