(261705413) Q RPCC-7 Does the client.jar file tie you Weblogic Server?

Q<RPCC-7> BEA is providing client-side helpers in the client.jar file, including
parsing and SOAP facilities, etc. But, are we saying that there is nothing
in there that ties the client to the server-side WLS implemenation? It seems
that putting the interface of the underlying implementation EJB SLS bean is a
coupling...??? It also seems that by coupling the client to WebLogic classes
(weblogic.soap.WebServiceProxy|SoapMethod) we are coupling it to WLS.
A<RPCC-7>: I understand your concerns, but you are not tied to WLS that tightly.
Certainly, the static client code utilizes the EJB interface that underlies the
web service but it is possible to invoke the web service dynamically. The use
of weblogic library classes to invoke the web service just indicates the use of
weblogic's client API. This client API can also be used to invoked webservices
hosted on other application server or frameworks. Additionally, other client APIs
can be used to invoke this web service, for instance the VB client example that
ended Thursday's presentation. Lastly, the remote interface in the client.jar
file could actually just be a java presentation generated from a WSDL file that
represents a C# web service (this is actually only possible in WLS7.0 and not
6.1 but the point is you do not actually know the inderlying framework or implementation
andnor should you care).
Adam

check the server log;
/app/oracle/product/fwm11g/user_projects/domains/fwm_domain/servers/AdminServer/logs/AdminServer.log
you can launch the console and see if it is running; http://<server>:<port>/console

Similar Messages

  • Upload a jar file in remote Weblogic server using wlst

    Is there a way to upload a jar file to a specific location on remote weblogic server using wlst? This is my scenario - I need to upload aspectjweaver.jar to the remote server. This needs to be done before weblogic startup, as weaving takes place during startup . FTP is not an option because those ports are blocked

    Hi,
    You don't have such option through upload files as what FTP do but you can deploy the application through wlst.
    eg:
    deploy('Web14','C:/TEMP/Web14.war',targets='Cluster1',stageMode='stage',upload='true',remote='true')
    Or you can use Deploy option to deploy app directly.
    eg:
    java weblogic.Deployer -adminurl http://localhost:7001
    -username weblogic -password weblogic
    -deploy ./myapp.ear -id myDeployment
    This will upload file and place the file there from there you can manipulate the file.
    Hope this will work for you.
    Regards,
    Kal

  • Help !!! why does the client need to specify codebase

    Anyone,
    I'm trying out a dynamic class loading tutorial.
    my question is why does the client need to define
    java.rmi.server.codebase.
    I can understand why the server needs it, as it is downloading classes
    it does not have information about. But why does the client need to specify the codebase

    Lets say you have a Remote interface with a method:
    void compute(Task task);
    Now, the clients of this remote interface want supply
    a zillion of custom tasks to be executed on the
    server, but how the hell the server knows where to get
    the actual classes for those tasks?You fool. its for the server to hand the client the reference to a stub, or to specify FOR the client where the stubs are, so that the CLIENT can get a reference to them, to make the call.
    This is where the
    client codebase comes to the scene. Client codebase......you mean codebase info that is sent TO the client, so it can find the classes.
    A client annotates
    it and it gets written to the manifest part of any
    serializable object (Task implentation) being passed
    over then net so the server could find and download
    the actual class of the object.
    Rubbish.
    I hope I made myself clear. as mud.
    You might want to check
    out this link also:
    http://java.sun.com/products/jdk/1.2/docs/guide/rmi/cod
    base.htmlI read this and i still dont see anything about CLIENT codebase. I see stuff about codebase, and the server trying to make the client aware of where it can get the relevant classes.
    What a fool you are. Dont bother replying. I have had enough of your autocratic rubbish.
    >

  • Client.jar file not being generated by weblogic 6.1

    Hi,
    I have developed a web service for our Internal network. I have deployed the web
    service onto weblogic 6.1 and have been able to obtain the wsdl file. I have coded
    my java client, but to compile and run the client, I require the client.jar file,
    which weblogic should create on its own once the actual web service is successfully
    deployed. wl server is not able able to create the client.jar file and hence I am
    unable to run the client. Could anyone tell me why the client.jar file is not being
    created and is there any workaround for coding the java client without using the
    client.jar file.
    Thanx
    sudipto

    Hi Sudipto,
    I'm assuming that you used the <wsgen> Ant task (in your build.xml) to create this
    web service, right?
    Are you sure the client.jar file isn't in the web-services.war? You can verify this
    by extracting this file (web-services.war) from the .ear for your web service, and
    viewing its contents with WinZip (or the jar.exe utility that comes with the JDK).
    There is a way to create client code without having a client.jar (or a WSDL document),
    but it takes a little more work :-) I have attached a "heavily commented" example
    of this, at the bottom of this post.
    Regards,
    Mike Wooten
    "Sudipto" <[email protected]> wrote:
    >
    Hi,
    I have developed a web service for our Internal network. I have deployed
    the web
    service onto weblogic 6.1 and have been able to obtain the wsdl file. I
    have coded
    my java client, but to compile and run the client, I require the client.jar
    file,
    which weblogic should create on its own once the actual web service is successfully
    deployed. wl server is not able able to create the client.jar file and hence
    I am
    unable to run the client. Could anyone tell me why the client.jar file is
    not being
    created and is there any workaround for coding the java client without using
    the
    client.jar file.
    Thanx
    sudipto[NoWSDLWeatherClient.java]

  • How does the client edit their site after the freelancer stops hosting the site on their CC account?

    Once a freelancer stops hosting a client's site through their Creative Cloud Account, how does the client continue to edit their site? Do they need their own CC account or does the site have to be hosted on a BC plan?

    This forum is only to discuss how the forums operate, not products
    If you go to the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the Adobe product(s) that are
    use to edit/maintain the site

  • How much info about the cache-cluster does the client have and What would you recommend about putting the cluster behind virtual ip

    Hi,
    I will appreciate if someone can point me to some documentation as to how app-fabric client library accesses the app-fabric cluster.
    What I have found so far is that the list of hosts provided in the client configuration are used as an entry point into the Cache-Cluster. By connecting to one of hosts, the client will download information about all the hosts constituting the cluster.
    Since a named cache is distributed across the entire cluster, and the data can be stored on any node. How does the client decide which node it should connect to, to get the data from. Does the client have enough information to know which host has the data
    or the client will connect to one of the nodes, if the node has data, it will serve it otherwise redirect the client to the node that has the data.
    I also would like to know what do you say about the idea that we would like to put our cache-cluster behind a virtual ip, so that if needed, we can take down nodes or add more nodes. In fact the virtual ip will that of a load balancer, but we don't plan to
    use it for load balancing purposes but the idea is that the client will have the virtual ip address and we can repoint this IP address, if we need to take out a node for maintenance reason. 

    I'm not sure about the reason for putting the cache servers in a VIP, but one of the reasons why the cache servers should be made known to the servers is because of auto load balancing and throughput
    Imagine i have 10 cache servers running on 1G ethernet links, theoretically i have 10G usable bandwidth and the clients will be able to manage and load balance if any of the cache server fails or have performance issues
    Now if all these were parked behind a VIP
    1. The LB now does the load balancing, which may not be optimal
    2. The LB may not have 10G upstream and 10G downstream, even if it has, this is quite a waste of resource\

  • In applet,how can i got the thin client jar for JMS from weblogic.jar?

    who can give it to me?
    and,when i used the weblogic.jar coming from weblogic 7sp2 for linux advance server
    2.1 as the client jar,i still got a error message that Class (.....Stub.class)is
    not found,why?What should i do?

    That approach is a hack and an absolute nightmare. It never worked
    completely. I could not get any support for durable subscriptions etc. You
    can add this (Thin JMS client) as a request for new feature (but it should
    have been available long time ago).
    -- Vish Magapu
    "Bruce Stephens" <[email protected]> wrote in message
    news:[email protected]..
    Hello,
    You might want to take a look at the JMS white paper and asociated
    discussion for supporting thin clients: check the reference on:
    http://e-docs.bea.com/wls/docs70/faq/jms.html#252418
    HTHs,
    Bruce
    jerry8006 wrote:
    who can give it to me?
    and,when i used the weblogic.jar coming from weblogic 7sp2 for linux advance
    server
    2.1 as the client jar,i still got a error message that Class
    (.....Stub.class)is
    not found,why?What should i do?

  • HT203071 How does the clients (iOS devices) to configure/use the caching server to download apps from local caching server instead of App store?

    Hi ... How does the clients (iOS devices) to configure/use the caching server to download apps from local caching server instead of App store?

    Hi,
    If you want to restore a reomoved app,you need to use
    Add-AppxPackage to add a signed app package (.appx) to a user account.
    But we cannot extract them from the ISO.
    The behavior is by design.And this is a software protection regime.
    Thanks for your understanding.
    Regards,
    Kelvin Xu
    TechNet Community Support

  • How to authenticate a JWS Client download of jar files on a web server

    Here is a history of how i tried to implement the auth system:
    The resources(jar files) cannot be downloaded by any HTTP client from the server without some authentication method.
    As JWS is not reliable when using cookies (only 1.5 supports them, but with problems when in JNLP file i specify j2se version=older that 1.5) , i implemented another mecanism that works like this:
    1. 1.The template JNLP looks like this
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp codebase="http://10.3.0.62/" href="mapped/#JWS_CODE#___#PLATFORM#___app2.2.jnlp">
        <information>
           bla bla
        </information>
        <security>
            <all-permissions/>
        </security>
        <resources>
            <j2se version="1.4"/>
            <jar href="http://10.3.0.62/mapped/gui.jar?jwsid=#JWS_CODE#" version="2.2"/>
            <jar href="http://10.3.0.62/mapped/data.jar?jwsid=#JWS_CODE#" version="2.2"/>
            <jar href="http://10.3.0.62/mapped/log4j.jar?jwsid=#JWS_CODE#"/>
        </resources>
        <application-desc main-class="com.bet.blues.gui.Application">
            <argument>-host</argument>
            <argument>ursus</argument>
            <argument>-port</argument>
            <argument>17771</argument>
        </application-desc>
    </jnlp>2. All resources found in /mapped/ directory are mapped to JWSServlet
    3. The users login to a site , clik on link , /mapped/app2.2.jnlp , the servlet checks if the session is active , gets the PLATFORM form browser request header , gets the JWSCODE for the logged user, replaces this in the template, and returns it to the client
    4.Now after the 1st download the JNLP file is opened by JWS Client , that checks for latest version , requesting the JNLP file again
    like this:
    GET http://10.3.0.62/mapped/f12ks21092___windows___app2.2.jnlp5.Now the servlet sees the the request has a JNLP file name with an ID and PLATFORM, and serves the JNLP as before
    6.The JWS Client will request for JAR Files
    GET http://10.3.0.62/mapped/gui.jar?jwscode=f12ks21092?version-id=2.2Note: that i have forced JWSID parameter in the URL, that's why the query string contains 2 "?"
    - forcing this is because the mapped/*.jar is redirected JnlpDownloadServlet that supports versions , diffs - i cannot use 'version' to put there the jswid param(e.g .../mapped/gui.jar version="fk12ks21092_2.2" because the JnlpDownloadServlet will not find this version , and if JWS Servlet will redirect to JnlpDownloadServlet with correct version param in request, the JWS Client will raise an exception because version responded is not right(JNLPDownloadServlet marks in response HTTP header the version of the jar so JWS CLient will chek it)
    JWS Client expects version 'fk12ks21092_ver2.2'; to correct this i should modify the JnlpDownloadServlet and i shouldnt
    THE PROBLEM :
    on older versions than 1.5 JWS Client raises an exception because it wants to create a temp file named
    " gui.jar?jwscode=f12ks21092" because it contains "?"
    Only with 1.5 that seems to parse the jar name until it meets "?" char :(
    Thats why i wanted to send an error to the client to upgrade to Java Web Start 1.5
    Now, maybe u have a solution to this problem...
    All i want is a solution to let JWS Client download jars only if the user is authenticated by some mecanism....and also support the versioning system.
    Also:
    Note that the jar names must preserve on the client JWS Cache dir ( i cannot use the same method to pass the JWSCODE when requesting the JARS as when requesting the JNLP).

    You need to look into JAAS

  • Multiple download of the same JAR file

    We have a collection of applets packaged in a single JAR file. Some users (web developers that use our applets) have been complaining that the applet is extremely slow to start up.
    When the html page includes more than one applet from the same JAR file then, "ONLY IN SOME CASES", the JAR file is downloaded multiple times.
    By capturing network traffic we can also think that the JAR file is downloaded even when accessing an image packaged in the applet's own JAR file.
    One further detail: this "DOES NOT OCCUR" when there is a fast connection to the server (or at leat it seems so). In these cases, the JAR file is downloaded once. It looks as if the problem only occurs on slower network connections.
    Thanks in advance for any help.

    Mmm... I don't think this is the solution... all the applets share a lot of classes (the big part of the JAR files).
    But my question is....: why in some cases the JAR is downloaded more than once???

  • Where is the JMS jar file for CEP?

    I cannot find in any jar finder the JMS jar file for CEP.
    I mean the jar file which includes com.bea.wlevs.adapters.jms.api.InboundMessageConverter, com.bea.wlevs.adapters.jms.api.OutboundMessageConverter, etc.
    Does anybody know the link?
    Thanks!

    Thanks, but it is not there.
    I only have the following:
    com.bea.core.jsmpool_1.7.0.0.jar
    javax.jms_1.1.1.jar
    org.springframework.spring-jms_2.5.6.jar
    And if I cannot find it there, where could it be?
    Thanks!

  • How to create a client jar file???

    How do I create a client jar file for the client program? Please see my attached
    ejb-jar.xml. I compiled the my EJB and deployed it successfully. However, I couldn't
    find the client jar anywhere. I use the weblogic admin console DD editor, I can
    see that the edit field has been populated with my client jar file name defined
    in the ejb-jar.xml. However, I searched entire system, I could not locate this
    jar anywhere.
    How do I do that? If someone knows how to do it, please let me know. Thank you
    very much.
    [ejb-jar.xml]

    How do I create a client jar file for the client program? Please see my attached
    ejb-jar.xml. I compiled the my EJB and deployed it successfully. However, I couldn't
    find the client jar anywhere. I use the weblogic admin console DD editor, I can
    see that the edit field has been populated with my client jar file name defined
    in the ejb-jar.xml. However, I searched entire system, I could not locate this
    jar anywhere.
    How do I do that? If someone knows how to do it, please let me know. Thank you
    very much.
    [ejb-jar.xml]

  • Traversing the Java Jar file

    Hi,
    This might sound like a weird question, but I need to traverse the Java Jar file and create respective Java objects into objects in some other language using reflection.
    Is it possible to find the path for the class files located in any jar file? Does Java supports traversing or reading and finding jar contents?
    Thanks

    I found a way to traverse the Jar, using java.util.zip, one can create a zip file for the given jar file and using ZipEntry it is possible to findout the properties associated with the jar/zip entries.

  • How to obtain the jaxp.jar file?

    Does anyone know where I can download the jaxp.jar file?

    See http://java.sun.com/xml/downloads/jaxp.html
    regards,

  • Who knows where does IE6 cache jar files?

    who knows where does IE6 cache jar files?
    I don't know why IE6 can't show my new version applet in jar file.I have try to delete all the temporary file by use tools->options->delete temporary files.but it does't work.who can tell me what should i do? thank you,

    Well in that case...I would hope it was cached in the browser...did you look at objects in the cache in (Tools, Internet Options....) in IE?

Maybe you are looking for

  • Jar file is not working after deleting all packages from the same directory

    hello i have created a jar file named as server.jar in the same directory in which i have all the packages(for which i have created this jar file).This jar file was working correctly when i had all the packages in the same directory.But after deletin

  • Upgrade to OS X 10.9 Mavericks and CS 5.1 Droplets stop working!

    Adobe website said drag older droplet to photoshop icon and it will be resaved as droplet.app but that didn't work. the website then said recreate the droplet but that is also not working. What is going on? Do i actually have recreate the action from

  • Menu problem with Modern Frame theme

    My site: http://members.shaw.ca/tdbaker/violin/MargaretsViolinWorld/Welcome.html What happens with one too many pages is that the menu line splits and now pushes the top line so it is onto the background and looks awful. What can I do? Thanks!!!

  • Macbook Pro won't print the first page of any file in any application.

    Problem: My Mid-2009 Macbook Pro won't print the first page in Microsoft Word, Sibelius 6, or in Adobe Reader. My printer is an old Canon MP480 that's worked for almost 2 years perfectly. As well, the "print to pdf" function results in the same error

  • Condition type GRWR

    Hi, What is condition type GRWR? When is it used? Thanks, Kaveri