EJB Client in Web App

Hello All,
I have an ear file containing a war for a web app and a jar for an ejb. I am trying to instantiate the EJB in my web app (war file). My question is how does the web app know about the interfaces from the EJB:
I want to call the local interface from the bean. For example in the client:
Context initialContext = new InitialContext();
AccountHome accountHome = (AccountHome)
initialContext.lookup(�java:comp/env/ejb/accounts�);
How does the client know about the AccountHome Interface. Do I actually have to have a package in my webapp that defines the interface AccountHome?

The interfaces have to be in the classpath, of course. JAR them up and put them in the WEB-INF/lib.
Access them using JNDI:
http://tomcat.apache.org/tomcat-6.0-doc/jndi-resources-howto.html
%

Similar Messages

  • Deploying EJBs in a web app

    Hi,
    I'm trying to deploy some EJBs in a WebLogic WebApp. I have it all packaged
    properly, and when I start the server, I can see that my EJBs are bound to
    the JNDI names. For example:
    Mon Jan 08 22:48:58 PST 2001:<I> <WebAppServletContext-myapp> binding
    web.xml EJB reference '<ejb_name>' to JNDI name '<ejb_name>'
    <ejb_name> is of course the name of the bean that is being deployed.
    The perplexing thing is that once it's running, I cannot bind to the bean
    name that I was successfully able to bind to when the beans were deployed
    using the 'weblogic.ejb.deploy' property in the weblogic.properties file.
    I'm assuming that I'm missing a name prefix or something, but I cannot find
    any mention of anything like that in the docs.
    Here is a partial stack trace from the exception that I get when trying to
    access the beans:
    javax.naming.NameNotFoundException: '<ejb_name>'; remaining name
    '<ejb_name>'
         at
    weblogic.jndi.toolkit.BasicWLContext.resolveName(BasicWLContext.java:745)
         at weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:133)
         at weblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:574)
         at javax.naming.InitialContext.lookup(InitialContext.java:350)
         at jsp_servlet._index._jspService(_index.java:98)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    Any help of hints greatly appreciated.
    Dhiren

    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    Dhiren Patel wrote:
    OK, here is some more detail about what I'm trying to do:
    I would like to deploy my entire app under a single directory tree, and
    ultimately as a single jar/war/ear/whatever.You can do this with an ear file, but only WLS 6 supports EAR files.
    WLS 5.1 does not.
    Ah. I guess I'll have to wait until WLS6. Thank for the info.
    Dhiren
    During development, I would
    also like to minimize updates to my weblogic.properties file as other
    developers add stuff (new EJBs, etc.) to the code
    base.In WLS 5.1 you can deploy and ejb either through the weblogic.properties
    or by using the weblogic.deploy command-line or EJBDeployerTool GUI
    tools.
    In WLS 6, we allow you to copy a ear/jar/war into the applications
    directory, and the server will automatically recognize the new file and
    deploy it.
    On the surface, web
    apps seem like the way to go.The EJB stuff that you are seeing if for ejb-lins or references. These
    are references to EJBs but not the actual EJB code. EJBs cannot be
    deployed in WAR files.
    -- Rob
    Everything is under one directory and the lib
    directory is automagically added to the classpath. The "Writing Web
    Applications"
    document
    (http://www.weblogic.com/docs51/classdocs/webappguide.html#dd_contextparams)
    describes a directory structure that seemingly allows you to do all ofthis.
    There are also a couple of files (web.xml and
    weblogic.xml) in which you can specify EJB information, such as the JNDI
    name, etc. Presumably, this EJB information is for EJBs deployed withthe
    web app. I created the described directory structure and the two xmlfiles
    and deployed the whole thing as a web app via a'weblogic.httpd.webApp.xxx'
    property in the weblogic.properties file. The server starts up fine, and I
    get the following messages to the startup log for each EJB I'm trying to
    deploy:
    Tue Jan 09 00:10:23 PST 2001:<I> <WebAppServletContext-myapp> binding
    web.xml EJB reference '<ejb_name>' to JNDI name '<ejb_name>'
    This is what led me to assume that the server is deploying the beans.But,
    of course, when I try to access the beans, I get the exception shownbelow.
    >>
    Dhiren
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    Dhiren Patel wrote:
    Hi,
    I'm trying to deploy some EJBs in a WebLogic WebApp.I don't understand. A WebApp contains servlets, jsp pages etc. A WAR
    file would not contain an EJB. EJBs are deployed with an ejb-jar file
    and must be deployed in the EJB container. An EAR file contains
    multiple WAR and/or JAR files.
    Can you clarify what you are trying to do?
    -- Rob
    I have it all packaged
    properly, and when I start the server, I can see that my EJBs are
    bound
    to
    the JNDI names. For example:
    Mon Jan 08 22:48:58 PST 2001:<I> <WebAppServletContext-myapp>
    binding
    web.xml EJB reference '<ejb_name>' to JNDI name '<ejb_name>'
    <ejb_name> is of course the name of the bean that is being deployed.
    The perplexing thing is that once it's running, I cannot bind to thebean
    name that I was successfully able to bind to when the beans weredeployed
    using the 'weblogic.ejb.deploy' property in the weblogic.propertiesfile.
    I'm assuming that I'm missing a name prefix or something, but I
    cannot
    find
    any mention of anything like that in the docs.
    Here is a partial stack trace from the exception that I get when
    trying
    to
    access the beans:
    javax.naming.NameNotFoundException: '<ejb_name>'; remaining name
    '<ejb_name>'
    at
    weblogic.jndi.toolkit.BasicWLContext.resolveName(BasicWLContext.java:745)
    atweblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:133)
    atweblogic.jndi.toolkit.BasicWLContext.lookup(BasicWLContext.java:574)
    at
    javax.naming.InitialContext.lookup(InitialContext.java:350)
    at jsp_servlet._index._jspService(_index.java:98)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    Any help of hints greatly appreciated.
    Dhiren

  • Lync 2011 on Mac - force online meetings to user client, NOT web app

    When using Lync 2011 on Mac OS X, and trying to join online meetings, we would like the default to be launching the meeting within the Lync client. Instead, it automatically loads the web app, even after the plugin is deleted. Can anyone tell me how to
    set this behavior as the default?

    Andrew,
    I'm aware that it is not a Lync setting issue. I'm looking for the proper setup procedure/configuration to allow this behavior to happen: when a user clicks on a Lync meeting, the meeting is launched in their client, and not the web app. I've managed to
    get close to this with one system - the web client still attempts to load a web page, but then redirects to the Lync client. This was achieved by removing the plugins and updating the Lync client. However I am still struggling with Lync clients that are already
    updated/configured.
    I haven't nailed down how this is achieved during the setup process and is wondering if anyone familiar with OS X else has dealt with this and found a solution.
    Thank you,
    Michael

  • JSTL not working on EJB user view web app

    hi people,
    i found an error while trying to have a EJB 3.0 jpa persistent conection and jstl library. this is the error i got:
    [04:57:34 PM] Wrote Web Application Module to /home/isanchez/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/GeCU/ViewWebApp.war
    [04:57:34 PM] Wrote EJB Module to /home/isanchez/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/GeCU/ViewEJB.jar
    [04:57:34 PM] WARNING: Connection Developer has no password. Developer-jdbc.xml file not generated for connection Developer.
    [04:57:34 PM] removed bundleresolver.jar from lib because it cannot be part of an EJB deployment
    [04:57:34 PM] Wrote Enterprise Application Module to /home/isanchez/.jdeveloper/system11.1.1.3.37.56.60/o.j2ee/drs/GeCU
    [04:57:34 PM] Deploying Application...
    <01-jun-2010 16H57' CEST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1275404254910' for task '11'. Error is: 'weblogic.application.ModuleException: Could not setup environment'
    weblogic.application.ModuleException: Could not setup environment
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1499)
         at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:442)
         at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.deployment.EnvironmentException: [J2EE:160101]Error: The ejb-link 'SessionEJB' declared in the ejb-ref or ejb-local-ref 'ejb/local/SessionEJB' in the application module 'ViewWebApp.war' could not be resolved. The target EJB for the ejb-ref could not be found. Please ensure the link is correct.
         at weblogic.deployment.BaseEnvironmentBuilder.addEJBLinkRef(BaseEnvironmentBuilder.java:453)
         at weblogic.deployment.EnvironmentBuilder.addEJBReferences(EnvironmentBuilder.java:485)
         at weblogic.servlet.internal.CompEnv.activate(CompEnv.java:157)
         at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:3117)
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1497)
         Truncated. see log file for complete stacktrace
    >
    <01-jun-2010 16H57' CEST> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 1 task for the application 'GeCU'.>
    <01-jun-2010 16H57' CEST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'GeCU'.>
    <01-jun-2010 16H57' CEST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Could not setup environment
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1499)
         at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:442)
         at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.deployment.EnvironmentException: [J2EE:160101]Error: The ejb-link 'SessionEJB' declared in the ejb-ref or ejb-local-ref 'ejb/local/SessionEJB' in the application module 'ViewWebApp.war' could not be resolved. The target EJB for the ejb-ref could not be found. Please ensure the link is correct.
         at weblogic.deployment.BaseEnvironmentBuilder.addEJBLinkRef(BaseEnvironmentBuilder.java:453)
         at weblogic.deployment.EnvironmentBuilder.addEJBReferences(EnvironmentBuilder.java:485)
         at weblogic.servlet.internal.CompEnv.activate(CompEnv.java:157)
         at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:3117)
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1497)
         Truncated. see log file for complete stacktrace
    >
    [04:57:36 PM] #### Deployment incomplete. ####
    [04:57:36 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    #### Cannot run application GeCU due to error deploying to IntegratedWebLogicServer.
    [Application GeCU stopped and undeployed from Server Instance IntegratedWebLogicServer]
    there is a bean that uses the Result class from jstl, all libraries are well defined and the projecto compiles fine.
    import javax.servlet.jsp.jstl.sql.Result;
    can someone help me out with the root of this problem? thank you in advance!!!
    Israel S Llorens

    Hi,
    According to your description, my understanding is that the Remote Event Receiver sometimes not fire when you create a new sub site.
    I suggest you can try to debug the remote event receiver using Azure Service Bus to find if there is something wrong cause the remote event receiver not fire.
    Here is a detailed article for your reference:
    http://blogs.msdn.com/b/officeapps/archive/2013/01/03/debugging-remote-event-receivers-with-visual-studio.aspx
    Thanks
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jerry Guo
    TechNet Community Support

  • Changing a method in an EJB object without recompiling EJB-Clients

    Hi!
    I have 4 Web (JSP) applications using the same EJBs., deployed to a BEA Weblogic application server.I want to know if there is a way to change the code in a method in one of my EJB objects (no interface change) without recompiling and redeploying my EJB-clients and Web apps.
    Regards,
    Per - Chr.

    Hello,
    I have 4 Web (JSP) applications using the same EJBs.,
    deployed to a BEA Weblogic application server.I want
    to know if there is a way to change the code in a
    method in one of my EJB objects (no interface change)
    without recompiling and redeploying my EJB-clients and
    Web apps.You can change the EJB's without recompiling the clients as long as the interfaces and the classes used by both the EJB's and clients are not changed.
    For example, if you don't change the interfaces but change the exception implementation thrown by a method of the bean, then you have to recompile the clients with the new version of the exception class.
    Kexkey

  • URGENT : ejb client in Oracle 8

    We developed a EJB client. This client should be called from an Oracle Database 8.1 (ejb compliant). But, each time we tried to load weblogic.jar, we have several errors into Oracle (ie : ORA-29534 NamingContext could not be resolved)
    Do you have an idea why ? Someone already developed an ejb client into Oracle 8.1 ?

    They are reccomended because the next step going from your simple single EJB
    to anything interesting, like adding more EJB's adding web-apps, adding
    web-services etc etc involves ears. If the setup and overhead for an EAR is
    easy, then just start there.
    But no if you just doing helloworld you of course dont have to ears.
    cheers
    mbg
    "Christopher R. Gardner" <[email protected]> wrote in message
    news:3fc0560e$[email protected]..
    >
    "Mark Griffith" <[email protected]> wrote:
    You can still run ejbc from the command line its still there. And you
    can
    still run weblogic.Deployer. (I dont ever reccomend jaring up in dev,
    it
    just takes longer, do exploded its easier and faster).
    But ear's are easy, see:So ears are recommended even if you're just doing EJBs (e.g., a simpleHello World)
    and no web apps (none needed for the Hello World or a PC client)?
    http://www.niffgurd.com/mark/work/blog/
    Cheers
    mbg
    "Christopher R. Gardner" <[email protected]> wrote in message
    news:3fbfd6c6$[email protected]..
    My understanding is ejbc has been deprecated and replaced with appc.Moreover,
    BEA is encourgaging developers to deploy ear files. All I want todo is
    to use
    ant to deploy a jar file with a single EJB in it. I'm not findingthe WL
    documentation
    very helpful. Hopefully, you'll have better luck than I.
    "skmurali" <[email protected]> wrote:
    Hi
    In order deploy EJB application in Weblogic 8.1, is it necessary
    to compile
    the application in WebLogic.ejbc. I did not find such files in
    WebLogic
    8.1
    In weblogic 7.0 versiion has such files.
    The present procedure is as follows.
    1. Create a jar file contains all class files.
    2. Create a jar file contains class jar files, plus .xml files
    3. Deploy into weblogic 8.1 server EJB Deployment utility.
    ==================
    Please help me.
    Murali

  • EJB exposed as web services

    I am very new to web services.
    I understand that a Stateless bean can be exposed using RPC style web services.
    But I want to know if a stateless session bean can be accessed by EJB client and Web service client (java or non-java) simultaneously. ?
    i.e. 1. Can same bean serve two types of client simultaneously.(java and non-java client)
    2. Does this web service accept complex java object as input parameters. and how?

    Hi Patrik,
    > Exception raised from invocation of public void com.sap.sia.serviceMonitor.ServiceMonitorBean.initPostConstruct() method on bean instance com.sap.sia.serviceMonitor.ServiceMonitorBean@5a8ab489 ... ; nested exception is: java.lang.NullPointerException
    The NPE occurs in the bean code, in the initPostConstruct() method or some other method it calls. Unfortunately, its stack trace is not available above, but you should be able to find it in the defaultTrace file.
    HTH!
    \-- Vladimir

  • Verizon Messages web app appears to be down.

    I noticed a few other posts with Verizon Messages troubles in the past few weeks, but tonight it looks to be straight unavailable.
    I tried connecting through Chrome (the page itself times out) and IE (the Verizon page loads but the web app itself just has a spinning wheel, forever) on two different computers (a Windows 7 desktop and a Windows 8.1 tablet) and my cell phone (Windows Phone 8.1). My internet connection is Verizon Wireless 4G LTE, so it would be a bit bizarre if it were an ISP issue; the rest of Verizon's site, including My Verizon, all loads just fine.
    I have used it in both browsers, on multiple devices, as recently as yesterday without any issue. I tried clearing all browsing data (cache, passwords, security certificates, etc.) and restarting but I still get the same thing. All other internet traffic is, obviously, coming through just fine.

    verizon says online messaging is a courtesy
    I don't know how much of a credit I would expect, but saying it's a courtesy is kind of a slap in the face.
    Don't get me wrong, I love my service; but if VZ Messages is a courtesy, it's the only courtesy I've ever seen with apps on Android and iPhone, a Desktop client, a web app, a support page, its own set of terms and conditions with an express license to use the "courtesy" (which isn't called that anywhere in any of these places), and a privacy policy. I guarantee they have used online messaging in marketing for their service.
    Yeah, I know Verizon can terminate the service any time without notice. That doesn't mean they should.
    If this is a "courtesy," so is everything else Verizon provides. Duly noted.

  • Two web apps using the same EJB client jar

    I am currently deploying two web apps on a server. Both web apps use an EJB client
    jar (the same jar) to access EJB's and both apps work when tested independently.
    The problem arises when I log into app A and then log into app B. As soon as
    I do app A loses it's references to the EJBHomes, and other classes.
    It seems a classloader is unloading the first classes and instances loaded by
    the first app and then loading them from app B's client.jar.
    If I put the client.jar in the system classpath everything is fine, but that's
    just a hack.
    Is it not possible to deploy two web apps on a server using the same client.jar's
    in their own WEB-INF/lib's?

    Joe,
    As Pravin mentions, the checking of those boxes in Workbench triggers scheduled jobs within the EAC that kicks off the scripts at the appropriate time/day. But as you've noticed, there's not a ton of flexibility and you don't get cron or Windows Scheduler-type capabilities.
    If you need to do something special, you can manually kick off the report generation scripts from your control directory using the runcommand.bat (or sh) script or place the command into a cron/Windows Scheduler job:
    For example, to kick off the WeeklyReports job, you would do this:
    runcommand.sh WeeklyReports runSo, assuming you go down the route of creating multiple ReportGenerators and scripts, you would create a job to kick off the new script you've created at the appropriate time.
    Hope that helps,
    Patrick
    http://branchbird.com

  • Calling EJB 3.1 deployed in Glassfish 3.1 from  a web app in Tomcat7

    I have a EJB 3.1 bean deployed in Glassfish 3.1.1 server. I want to call this bean from a remote web client deployed in Tomcat 7. The EJB class and its remote interface is as follows ...
    Remote Interface -
    @Remote
    public interface MyEJBRemote
    public String sayHello();
    EJB Bean -
    @Stateless
    public class MyEJB implements MyEJBRemote
    public String sayHello()
    return "Hello EJB Client. Hope everything worked just fine.";
    In the remote client I have the following code
    Properties props = new Properties();
    props.setProperty("java.naming.factory.initial", "com.sun.enterprise.naming.SerialInitContextFactory");
    props.setProperty("java.naming.factory.url.pkgs", "com.sun.enterprise.naming");
    props.setProperty("java.naming.factory.state", "com.sun.corba.ee.impl.presentation.rmi.JNDIStateFactoryImpl");
    props.setProperty("org.omg.CORBA.ORBInitialHost", "localhost");
    props.setProperty("org.omg.CORBA.ORBInitialPort", "3700");
    InitialContext ic = new InitialContext(props);
    MyEJBRemote myEJBREmote = (MyEJBRemote)ic.lookup("java:global/MyEJB-1/MyEJB!com.dw.ejb.MyEJBRemote");
    Now the problem is with the last line of code. In Eclise this line of code is marked as error as the MyEJBRemote class is not there in the client project (the web app going to be deployed in tomcat 7). So where do I get the client jar generated from the deployed EJB to include in the client project ? Is there any way to generate this jar file.
    I tried using the glassfish command
    asadmin deploy generatermistubs retrieve . MyEJB.jar
    But glassfish didn't not generate any MyEJB-client.jar file. I tried a lot of times but without any success. I read up many forums. In one of them, it was mentioned that from EJB 3.1 glassfish does not generate the client stubs.
    So does that mean that one cannot use remote clients from EJB 3.1 in Glasssfish anymore ? Because the client project will never compile without the MyEJB-client.jar .

    You don't have to generate anything, you need the business interface class in your client application (MyEJBRemote in this case). One way to do that is to put the business interfaces in a separate jar and link that jar in both your client and server projects. The glassfish 3 FAQ documents the need to include the business interface class in your client application:
    http://glassfish.java.net/javaee5/ejb/EJB_FAQ.html#StandaloneRemoteEJB
    Another option is to turn the EJB into a JAX-WS webservice, which can be as easy as only adding a few annotations to it. That way you don't need any additional dependencies at all; the only thing you need to do is generate the stub classes using the wsimport tool (also part of the JDK) for your client application. I'm not a huge fan of SOAP, but for internal use I find it less cumbersome and more portable than remote EJBs.
    I can't offer any more advice on the topic as I don't use Glassfish. For better help, I do advise you to ask in the Glassfish forum where you'll find more people that have been in the same boat you are.
    http://www.java.net/forums/glassfish/glassfish

  • How to develop web app by ADF Faces rich web client ?

    i want developer web app by adf face rich
    but have not adf rich tag library in jdev 10.1.3
    how to develop by adf rich?

    Hi,
    don't know what you mean by ADF Faces rich web client, but if you mean our Ajax component set, then this is not yet available outside of Oracle. If you mean ADF Faces as we have it in JDeveloper 10.1.3, create a JSF page and step through the creation process, toggle the ADF Faces libraries to make ADF Faces available
    Frank

  • Web App Security Fallback (client-cert then form-based)

    Can you setup a web application to fall back to form-based login if the
    client-cert (i.e. identity assertion token) is not available. I think this
    would be very valuable because once you've configured the web app to use the
    "client-cert" authentication, you can't access the web app directly (i.e.
    browser->weblogic server). You will always need to go through the perimeter
    authenticator so the token gets sent.

    Solution found:
    The trick is to return "401" in response if ticket is not valid (do nothing else). This will end the negotiate between client and server
    In your web.xml, forward your 401 code to login page:
    <error-page>
    <error-code>401</error-code>
    <location>/form_login_page.html</location>
    </error-page>
    There might be a more straightforward way to do this (have all the page management within servlet), but I did not have time to investigate it further. This one at least works

  • How can i check the office web app server(wac client) is calling custom WOPI host?

    I am getting an error when I testing my wopi host(which is the same as
    example) with Office Web app server "Sorry, there was a problem and we can't open this document.  If this happens again, try opening the document in Microsoft Word."
    1-how can find the log files of this error?
    2-how can i check the office web app server(wac client) is calling my WOPI host?
    I am not sure about cumunication between owa to wopi host. I actually dont know how to implement checkfile and getfile functions to wopi host for waiting for call back from owa client.
    Note:I am sure that office web app server is configured true. Because i test it with sharepoint 2013 and editing and viewing is working well.

    Hi,
    According to your post, my understanding is that
    CheckFileInfo is how the WOPI application gets information about the file and the permissions a user has on the file. It should have a URL that looks like this:
    HTTP://server/<...>/wopi*/files/<id>?access_token=<token>
    While CheckFileInfo provides information about a file, GetFile returns the file itself. It should have a URL that looks like this:
    HTTP://server/<...>/wopi*/files/<id>/contents?access_token=<token>
    There is a great article for your reference.
    http://blogs.msdn.com/b/officedevdocs/archive/2013/03/20/introducing-wopi.aspx
    You can also refer to the following article which is about building an Office Web Apps(OWA) WOPI Host.
    http://blogs.msdn.com/b/scicoria/archive/2013/07/22/building-an-office-web-apps-owa-wopi-host.aspx
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • New Document button to create/open document in Office Web Apps rather than through Template.doc in client's MS Word

    Greetings all,
    We have a particular campus with exceptionally limited access on their machines -- essentially, they can browse the web (access our Intranet) but not write information to drives or update their MS Word to read the new DocX format (or install plugins, etc,
    to do so).
    The new Web Apps seems to provide some potential for alleviating their issue -- but ideally, they would be able to originate (create) new documents right in Sharepoint by clicking on New -> Document and having the new document open in Office Web Apps
    rather than downloading / creating through Template.Doc (standard method in Sharepoint).
    Any ideas about how to make this kind of functionality happen?
    THanks!
    ---Dave

    When you mention "web apps" I assume you're referring to the new "Office web apps" in SharePoint 2010, so I'm not sure why this question is in a pre-sharepoint 2010 forum...  My answer entails how to go about doing this in 2010 only.
    In the document library's settings, go to advanced settings, and choose for the files to be forced to be opened in the browser, instead of the client software. 
    By default, you're only going to have a new word document for your "new" button.  You'll need to create content types for all the other document types you want them to be able to create.  So create a blank spreadsheet, and save it on your desktop,
    and create a blank powerpoint too. 
    Then create new content types at the top level of the site collection.  One called Excel Template, and one called PowerPoint template.  For each content type, click on the advanced settings and upload that blank file that you created. 
    In your document library, go to the library's advanced settings and change "allow mgmt of content types" to YES.  Then, in the content types section add those 2 new content types you created. 
    Now, when people click the "new" drop-down, they will have choices of a word document, excel and powerpoint, and they will open in the browser.
    Laura Rogers, MCSE, MCTS
    SharePoint911: SharePoint Consulting
    Blog: http://www.sharepoint911.com/blogs/laura
    Twitter: WonderLaura
    Beginning SharePoint 2010: Building Business Solutions with SharePoint

  • IOS4,  apple-mobile-web-app-capable and client certificates

    IOS4 (4.0 and 4.0.1) seems to have broken apple-mobile-web-app-capable. I have a webbapplication using client certificates to authenticate the user. This worked flawless on IOS3.x. However, after having upgraded my iPhone to IOS4, the application fails when started from the springboard with an error message telling a client certificate is required (I have one installed). When I start the application from within Safari it works OK. I tracked the error down to the following line in the HTML code:
    <meta name="apple-mobile-web-app-capable" content="yes" />
    When I remove this line, the application works again flawless when started from the springboard. However the native look and feel are gone. As soon as I add this line to the HTML, the application works when started from Safari, but fails when started from the springboard.
    Does anyone have a glue or is this a bug on the apple-mobile-web-app-capable function of IOS4?

    I have also experienced this problem on iOS 4.1. I want to authenticate access to a web-app using SSL client certificates but I get an error "Cannot Open ... requires a client certificate" when launching the app from the home screen. Very annoying!
    Navigating to the page in Safafi prompts the user to choose which certificate to use and then loads the page successfully. Just as a side question, is there anyway to automatically associate a client certificate with a web site so that the user is never prompted to choose a certificate when accessing the site? I want an authentication process that is transparent to the user.

Maybe you are looking for

  • Upgrade to Lion and then to Mountain has caused me problems

    After upgrading to Lion a year ago or so I developed a problem on my MB Pro that I'd never had before. (1) My Mail app starting acting funny. I'd compose an email then click send, but it would sit in the Outbox--for hours, even days. I had to login t

  • 10.3.1.1565 - how do I get rid of awful blue blob in hub home page on Q10

    Really not liking new upgrade Hub bottom bar which used to be accessible when required, now fixed and using valuable real estate - have lost a full e-mail summary from bottom of screen which is not good.... Also - when I use facebook app, if I send m

  • Location services in photos app: I cant see the taken photos on the map below

    I have a problem with the location services in photos app. When a take a picture I cant find it on this map below!!! I have turn on the location services to a camera, too! Does anyone have the same problem as me?

  • Printing Barcode in Dot Matrix Printer

    Dear Experts, We have developed Smart form to print Barcode and it's printing fine in LaserJet printer & readable by the scanner,  We need it on Dot Matrix printer for (multiple copies) and tried the same with Dot Matrix printer it use to print but n

  • Finding Permutations of an Array

    I was hoping I could get a little help on finding a way to cycle through an array and print all of the permutations of its elements. I have a short example of what I am trying to do. If someone could fill in the blank, I could understand how to use i