Can jsp files and  EJBs they use be seperated on different mahcines?

Hi,
I have a EJB on a Solaris machine, my question is:
Can I put my jsp files that use this EJB on another machine (both machine
have Weblogic Server installed) and have it look up the EJB on the first
machine and create an instance of it?
The difficulty is that in order for the jsp files to compile, you have to
include the EJB classes first, which seems to be impossible because the EJB
classes reside on a remote machine.
Thank you in advance for any suggestions!
--Tiejun

It would also help to configure your JNDI on the web container host to see
the EJBs that are on the ejb container host.
Cameron Purdy
"Wei Guan" <[email protected]> wrote in message
news:[email protected]..
Put Remote Interface, Home Interface, Application Exception & Primary Key
classes in the weblogic.class.path of your jsp machine.
Cheers - Wei
tyang <[email protected]> wrote in message
news:39887ae8$[email protected]..
Hi,
I have a EJB on a Solaris machine, my question is:
Can I put my jsp files that use this EJB on another machine (bothmachine
have Weblogic Server installed) and have it look up the EJB on the first
machine and create an instance of it?
The difficulty is that in order for the jsp files to compile, you haveto
include the EJB classes first, which seems to be impossible because theEJB
classes reside on a remote machine.
Thank you in advance for any suggestions!
--Tiejun

Similar Messages

  • I used automator to rename some pages files, and now they can't be opened

    I used automator to remove some text from the filenames of a group of pages files, and now they can't be opened. What went wrong?

    Did you by any chance remove the file type extension?
    Walt

  • Can a servlet read a jsp file and display its contents?

    Hi,
    I would like to know if Servlets can read a Jsp file and display its contents.. Right now for our website, I am using a html file to be displayed after a successful post operation through the Servlets...
    -Thanks!

    I posted this in another thread.
    Here's some code that reads using a URL. This doesn't work with JSPs as the server executes JSP when it connects but it's useful for other file types. Note that the filename is a URI</h1>This is <code>show.jsp</code></h1>
    <hr>
    <%! String file = null; %>
    <%! java.io.InputStream is = null; %>
    <%
    file = request.getParameterValues("filename")[0];
    try {
       is = (new java.net.URL(file)).openStream();
    } catch (java.io.IOException ioe) { out.write(file + " not found!<br>"); }
    java.io.BufferedReader in = new java.io.BufferedReader(new java.io.InputStreamReader(is));
    String line = "";
    %>
    <pre>
    <%
    while((line = in.readLine()) != null) {
    %>
    <%=line%>
    <%
    %>
    </pre>

  • I got ipod in a public toilet but no one is there to ask who owns it. it has pass code so i cant access her/his info. so i decided to keep it and use it. i want to reset  the passcode. do you think they can track it and know whos using it?

    i got ipod in a public toilet but no one is there to ask who owns it. it has passcode so i cant access her/his info. so i decided to keep it and want to use it. i want to reset  the passcode so that i can change the settings. do you think they can track it and know whos using it?

    Hand it to the police and if nobody claims it maybe they will let you have it. The person who loss it will be grateful.

  • Can a file be password protected using Adobe Acrobat XI Standard?  No one seems to have answered this question in the trending questions.

    I just purchased Adobe Acrobat because it was recommended to password protect files.
    However, when I checked out the Tools > Protection > Encrypt>  "Encrypt with Password" is greyed out.
    Can a file be password protected using Adobe Acrobat XI Standard?
    The OS version is Windows 7.
    No one seems to have answered the question in the Trending Questions.
    Thanks.

    Yes, it can.  Use File > Properties, and click the Security tab. Click Change, and set what you need. When the file is saved, the security is set.
    BE SURE TO KEEP THE ORIGINAL FILE TOO.

  • Photoshop shut down while I drew a picture, now the file is broken and I can´t fix it, photshop won´t open the file and I have tried repearing it with different programs. What should I do?

    Photoshop shut down while I drew a picture, now the file is broken and I can´t fix it, photshop won´t open the file and I have tried repearing it with different programs. What should I do? I spent 6 hours on the pic and I dont even have a screenshot or anything.

    You don't even say what platform you are on, or any other details that may help others assist you.
    If you are on a Mac, try opening your file in GraphicConverter (they have a demo version) if that doesn't open it, nothing will, in my experience.
    I assume you have tried Adobe Illustrator already to recover.
    You may also have a JPEG of your complete file (flattened) in Bridge Cache.
    On the Mac you'd find it in your User ~Library (NOT the Root Library ):
    Users > yourname > Library > Caches > Adobe > Bridge CS6 > Cache > 1024 > jpg(fileID)number Filename.psd.jpg
    The user ~Library is hidden, but you can make it visible for an moment or two.  Ask Apple if you don't know how.
    I don't do Windows.

  • I have an IMAC and a IPAD 2 can data, files and Programs, be shared or tranfered?

    I have an IMAC and a IPAD 2 can data, files and Programs, be shared or tranfered?

    The Mac uses Mac OS X. The iPad uses iOS. These are two different operating systems and the apps written for one will not run on the other. Some Apple and 3rd party apps have been developed in both OSes. These apps can usually share data and files across the two OS platforms.

  • Sony 50mm f1.4 ZA SSM Lens Profile in 8.4 RC  any way I can download file and load into Lightroom ?

    Sony 50mm f1.4 ZA SSM Lens Profile in 8.4 RC  any way I can download file and load into Lightroom ?

    Short answer. No.

  • How can I design and send emailers using Adobe Muse?

    Hello Geeks,
    How can I design and send emailers using this wonderful software called Adobe Muse?

    Hi
    Are you referring , creating email templates or sending marketing campaigns ?
    We cannot create templates as Muse doesn't output HTML optimized for e-mail output.
    Regarding email campaigns, you can setup this from hosting platform end.
    More details :
    https://forums.adobe.com/message/5469744
    Re: Is it possible to create email templates using Muse?
    Thanks,
    Sanjit

  • My Macbook Air can delete files and folders and take them to Trash Can but cannot delete from Trash Can . Cannot empty trash securely.

    My Macbook Air can delete files and folders and take them to Trash Can but cannot delete from Trash Can . Cannot empty trash securely.

    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.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Click the Clear Display icon in the toolbar. Then try the action that you're having trouble with again. 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.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • HT1665 can ipad 2 and iphone 4s use same car charger?

    can ipad 2 and iphone 4s use same car charger?

    Perfect! A straight answer, finally. and one that this poor ancient techno challanged human could even understand!!!!!!!  Thank you so very much!

  • I build my websites with iWeb. Is there a way I can transfer the files and work on the sites on a different computer (mac)?

    I build my websites with iWeb. Is there a way I can transfer the files and work on the sites on a different computer (mac)?

    See this topic opened today...
    https://discussions.apple.com/thread/3710310?tstart=0

  • Why my Apple ID stopped when I buy and why the supporter can't help and why they don't reply to any email I send

    Why my Apple ID stopped when I buy and why the supporter can't help and why they don't reply to any email I send so what should I do in this moment I need guide and help so as a request please reply me back  Thanks ....

    As I said in my above reply we are fellow users, we won't know why your account is disabled.
    You might be able to re-enable it via this page : http://appleid.apple.com, then 'reset your password'
    You might then need to log out of your account on your phone by tapping on your id in Settings > iTunes & App Store and then log back in so as to 'refresh' the account on it.
    If that doesn't fix it then you might need to contact iTunes Support : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Downloaded latest firefox beta and it didnt work also removed all my files from old fire fox how can I retreave my old files and that they work

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/749175]<br>
    Thanks - c</blockquote><br>
    downloaded fire fox 4 beta once it downloaded it removed my old files as they will no open now how can I get my old fire fox back again, if i download the old version would it automaticy bring my old files and saved files back again I just downloaded the new version about 30 minutes ago please help

    See http://kb.mozillazine.org/Testing_pre-release_versions
    The Firefox 4.0 beta version should have installed in a separate program folder, so your old setup should still be there.<br />
    See:
    http://kb.mozillazine.org/Installation_directory
    If you do want to use the 4.0 beta version then you should create a new profile for that version.<br />
    See:
    http://kb.mozillazine.org/Profile_Manager
    http://kb.mozillazine.org/Creating_a_new_Firefox_profile_on_Windows
    http://kb.mozillazine.org/Shortcut_to_a_specific_profile

  • What is the meaing of the sysmbolic constant value in the header file for UIR file and how they are used

    In labwindows after creating the uir then header file is create automatically. There it has define some symbolic constant. As examples of colview.h(from the examples of labwindows )
    #define  MAINPNL              1       /* callback function: MainPanelCB */
    #define  MAINPNL_RESULTS      2     /* control type: table, callback function: ResultTableCB */
    #define  MAINPNL_NEWTEST     3       /* control type: command, callback function: NewTestCB */
    My question is how these values 1, 2 and 3  were selected and how they are used in programs ?
    If anyone explains, it will be a great help.

    When creating a UIR file, CVI editor takes care of assigning constants to the panels / controls you create in it.
    The conceptual framework is the following (assuming to treat the file you have reported in your message):
    - Within a single UIR file all panels have a unique ID, which is the one you pass to LoadPanel when loading a panel into memory. LoadPanel (0, "myfile.uir", MAINPNL); is then translated to panelHandle = LoadPanel (0, "myfile.uir", 1); , that is: "load the first panel in the uir file". The panel in memory is then assigned a handle, which is guaranted unique by the OS and saved in panelHandle variable
    - Addressing a control in a panel is done e.g. using SetCtrlVal (panelHandle, MAINPNL_NEWTEST, xxx);  , which again is translated to SetCtrlVal (panelHandle, 1, 3);  that is: "Set control #3 in the panel identified by panelHandle to value xxx".
    You must not modify the include file associated to the UIR as it is fully maintained by the IDE and is rewritten each time you save the UIR file.
    That conceptual framework has some advantages and some caveats:
    - You can load the same panel more then once in your program: each instance is independent from the others as each panel handle is unique; in some occasions it may be helpful, e.g. if you need to handle several identical equipments connected to your PC and you can load the same control panel for each unit connected maintaining each of them independent
    - If the panel handle is wrong, the system does not warn you of this as it does not know of the symbolic names you are using; if you try that SetCtrlVal command with a wrong handle you are trying to manipulate a control on a panel different from the one you intend: supposing actual panel idientified by the handle has control #3 the maximum you can expect is that you receive an error in case you pass e.g. a string to a numeric, but if controls are of the same type you have no errors or warning at all! This is particularly important when addressing controls on pages of a tab control: each page is really a separate panel with its proper handle that you must retrieve with GetPanelhandleFromTabPage command before addressing the controls on it
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

Maybe you are looking for

  • Jar file access

    Hello I've packaged my classes and relevent images and html help into a jar file in a structured directory format. I'm using the method this.getClass().getResource(String path) to access the files. On linux my program executes 100%, images load, html

  • Does IDSD solve server issues?

    Hi, We've been having a lot of issues with Indesign CS2 crashing when placing images from our server and when saving to the server. It's not 100% recreatable but it happens a lot. The nature of our business requires that all the production and design

  • How can I change the language on CC?

    Hí, I'm fro Mexico and i've just bought the CC for my company and I need it and also all de apps to be in English because I see no option of language and it seems the default language is Spanish. It's really really anoying and I've tried to contact s

  • How to: site organization: many different navigation templates

    Hi there dear experts. Am making one of those site, that has different navigation for the different sections: About has it out category of nav, Info has its own category, etc. What is the best way to do this, with template, library items, both, and h

  • Using the command "java" with DOS

    Hey, until yesterday, I was able to simply use the commands "java, or javac" to run, or compile java in DOS. But now for some reason I can't use these commands. I have to use the full addresses of the java and javac.exe files. How can I fix this? Do