How do i develop a chat application using jms over web based

I want to develop a chat application using jms with mailing,file transfer and audio facilities
can anyone help me to how to go abt that

There is a good article from Sun on a simple example of what you want - it could serve as a basis for you.
http://developer.java.sun.com/developer/technicalArticles/peer/

Similar Messages

  • Help Needed in developing simple Chatting application using flex and blazeds

    Hi,
    I followed this tutorial from adobe http://learn.adobe.com/wiki/display/Flex/Creating+a+BlazeDS+messaging+application+in+Flex+ Builder i installed tomcat server and set the path.I am unable to open server like this http://localhost:8080 but i can able to open that in this way http://127.0.0.1:8080/   .... When i create my new flex project in flash builder 4 i am getting this error
    You do not have write permission for the project output folder. Specify another location.
    can any one help me in how to get rid of this problem.I hope this forum helps me in finishing my flex project..
    Thanks
    Trinethra

    Hi,
    Need to use a scrollable resultset and depending on the need to have a stateful connection or a stateless connection you may need to query the table for every request(for stateless connection) and use the same result set for(stateful connection). and depending on the no of records in a page and the page no do some simple arithmetic and move the resultset. Hope this helps.
    rajesh

  • Doubts over the Performance in Developing a Chat application

    We are developing a chat application which needs to update the chat content in the database for the duration of the chat (ie.,For the duration of a session).At the same time the page should refresh and show the current content on both ends.In addition to both these, the database tables has to be checked to detect the occurence of a Network error on both sides.
    We have developed it as a Browser based chat and we have used PHP with MySQL. The performance is slow.
    Can anyone give a suggestion as to whether we can develop the chat application completely from the scratch and if we do that which technology should we choose to boost the performance.
    If anyone is not clear about my problem just mail me.I'll explain it in more detail.
    Thanks in Advance

    Hi,
    I just wanted to know these following answers.
    2) Network failure -- Means (either browswer got killed or data did not arrived/Page Not refreshed)
    3) which WebSErver are U using?
    From java, it is very easy to develop chatting application for which you can use applet and servlets for the same (if you consider the performance is the utmost importance)
    Updating to the database should not be done for the duration levels rather should be done at the event levels(data change/keyboards/session -inf changes).
    Im not sure about PHPs running at client but I can suggest you to use two frames .One is for typing and other one is for displaying information which basically gets the staus from the server abt other users in the chat either from the session, which would be driven by other component which is static) .
    Any how, I just put my ideas (Im sure , you know all these things)
    with regards
    Lokesh T.c

  • We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double

    We have developed a desktop application using Flash software and published the same for MAC environment. When we double click on the index.app file, the application is working perfectly in Mac 10.6.7 at our office. But if the same index.app file is double clicked in Mac 10.6.7 at out clients location, its not opening. For your information the client is able to open this same application by double clicking on index.swf file. The main problem is that client is not able to open the application using index.app file at their office whereas we are able to do so at our office. Can anyone give some suggestions to sort this problem?

    The most common reason is different versions of Flash, or different versions of web browsers used.  Some users may elect to not have Flash installed at all because of the processor overhead of Flash.  If you are going to make an application for a client, check what operating system and browser versions they are using first.  Then determine if a stand alone application is required, or if they have the necessary plugins to run specific browser enhanced code.
    P.S. MAC is an acronym for Media Access Control.  Mac is the shorthand for Macintosh, the operating system and computers made by Apple Inc.

  • What is Digital Signature, How to use it in web based applications?

    I am new to digital signatures. Any body can help me how to create a digital signature and how to use it in web based applications. Do we need certificates to use digital signatures?

    <link_farm_and_everything_else_removed_by_moderator>
    Edited by: Julius Bussche on Sep 3, 2008 8:59 AM

  • How could I know if my applications use HRMS?

    Hi,
    How could I know if my applications use HRMS? Is HRI (Human Resources Intelligence) the same thing as HRMS? Could anybody tell me how could I find the aliases for all the products available (not neccesarily registered) in Oracle Applications?
    thanks,
    Paul

    you can find the complete details of how to find the list of products installed in the following thread
    Query for Appliation Products Installed
    Hope this helps
    Regards
    Ramesh Kumar S

  • Developing server-side applications using dreamweaver

    We are having issues developing server-side applications using dreamweaver for our client's website www.uuee.org.. They are building oracle database driven worldwide directory for Egyptian expatriates. Any help is highly appreciated.

    You made 3 statements. What is the question?  What do you need help with?

  • How to Specify Metadata When Adding Content Using iTunes U Web Service?

    I've been developing Java applications using iTunes U Web service and uploaded content to iTunes U site using iTunes U Web service without problem. Now I want to add metadata fields (name, artist name, album name, etc.) for the tracks I uploaded. It seems to me that "AddTrack" will do. So I tested it but it neither adds a track under the specified group nor updates metadata fields for an existing track. It turned out "MergeTrack" actually updates metadata fields for an existing track. So is there any way to specify metadata at the time of adding content using iTunes U Web service? And what exactly does AddTrack do? This is all about contents hosted by iTunes U site and no RSS is involved.
    I'm referring to the "AddTrack" method in iTunes U Web service:
    http://deimos.apple.com/rsrc/doc/iTunesUAdministrationGuide/iTunesUWebServices/c hapter18_section_21.html#//appleref/doc/uid/AdminGuide-CH13-SW26

    Thanks for all the replies. My question is whether there is any way to specify metadata WHEN adding content using iTunes U Web service. Specifying metadata AFTER adding content can be achieved by MergeTrack (weird naming) and it does work.
    As for setting track level meta-data in the media file and then upload it, there're several reasons against that, among which are:
    1. Some track metadata are context-dependent. A video about buildings on Michigan Ave in Chicago can be track #2 in a history course and described as "historic view of the Magnificent Mile", but the same media can also be track #5 in a landscape design course and described as something like "contemporary architecture". Setting these metadata in the media file itself is not the preferred way to do it since it implies maintaining a version of the same media for any course/group it gets uploaded to.
    2. Setting metadata in a location separate from the media file helps track the metadata change and search for media without digging into the media itself.
    3. If MergeTrack "updates" metadata, there got to be some other method that "creates" metadata - that's what a well-designed API should look like. And setting metadata in the media file is not an equivalent to a "create metadata" method call. In rickwolf's term, that implicit AddTrack should actually be made explicit so the party uploading content can explicitly specify metadata instead of having iTunes U extract metadata from the media.
    It is still not clear what "AddTrack" does exactly, maybe rickwolf is right - it's only relevant to tracks created through RSS.
    So it seems to me there is no other way to specify metadata WHEN adding content using iTunes U Web service than setting metadata in the media file. To me it is more like a design flaw.
    Message was edited by: Stone Xiang
    Message was edited by: Stone Xiang
    Message was edited by: Stone Xiang

  • How to prevent user or group to use 3-tier WebI and DeskI in XI 3.1

    How to prevent user or group to use 3-tier WebI and DeskI in XI 3.1
    This function is enable in BOE 6.5 by using Supervisor.

    Hi,
    You can explicitly deny access to these applications from the CMC in BOE 3.1. Open the CMC, click on BusinessObjects Enterprise Application and then select the WebI.
    From the right hand side click on the 'Net Access' section for that group and disable the 'Log on to Web-Intelligence and view this object in CMC.'
    This will prevent the option of the WebI for that group.
    I hope this helps you.
    Regards,
    Prashant

  • Can i develope a java application using C API

    hai,
    i have C api, the project was developed in C before, now i am having that api. I have to do that in java by using that C api.
    can any one suggest me how to do this?

    Your question is not that very clear!! You want to convert the C api to a Java api? or you want to develop a Java application that uses the C api?
    For the first question I believe that you should check the functionality of the C api and re-code it in Java! do not believe you should find anything imposible in that! (unless that api is trying to do something crzy directly with memory)
    For the second question then I believe you will have to use native calling or something like that. I have never used it, but read about it, and it seems one way how Java can interect with C.
    Over here there is a forum.
    Regards,
    Sim085

  • Develop a BI Application using NWdS

    Hai all,
      I have NWDS sneak preview edition, How can i develop  a bI based application using this edition,
      What is the prerequisites for this type of applicatiion development ,
      any one please help me in this regard
    Regards
    somaraju

    Try this:
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5a71ec51-0601-0010-4dbb-aab73656d500
    Not sure if this help you,.. but have a look.
    Thanks,
    Raj

  • I am newbie ,i have developed an chat application i need to create an exe

    i need to create an exe (setup ) file of my chat application to be installed in client system .First it has to check wheather jre is installed in that system if its not there the setup should install jre and install my application ,if jre is already there it should install only the application .How can i make this set up file
    Thanks in advance

    Why didn't you use Java Web Start to distribute your application. Simple reliable, customizable...
    Is your source code available, I need a chat library to add to my application ?

  • How can i design a EJB application using session Beans?

    Hello,
    I am designing a Find application using EJB. Here a user is prompted a search page, where he can enter the search criteria's. Then on click of submit, the query is formed at the server side depending on what criteria's were selected. Then a jdbc query is performed and the results are returned back to the user. Here no session is maintained for the users. Can anyone suggest me how to design this application using EJB. Should i use entity beans for this or session beans will suffice? Should the jdbc query be performed in the bean itself or should it be outside in a helper class? Please kindlu suggest me the design for this application...
    Regards,
    Subbu

    Hi,
    First of all, I'm unable to figure out why you need to use EJB for this scenario. You can write a helper class to frame and execute the query.
    If you really want to use EJB, then I suggest you use a stateless Session Bean with transaction attribute as TX_NOT_SUPPORTED. From the session bean, you can call the helper class. But, by avoiding the session bean, you can eliminate remote calls, thus improving your performance. Also, check if the database & the db driver you are using supports sql caching.
    Regards,
    Raj.

  • How do I configure an enterprise application using Weblogic 10 wlconfig

    Hi All,
    I am converting an installer from WL8 to WL10. We use wlconfig to configure our EAR in wl8 with several wlconfig commands. These don't seem to work though when attempting to use wl10. The following error comes up more often than not and does not seem to be appropriate to what is actually happening.
    Unable to create new bean of type WebAppComponent for pcidomain_new:Name=GenPortal,Type=Application:missing create method
    I have searched the Weblogic Documentation and have found only general information on how to use wlconfig with a simple example that does not touch on application deployment. I have also found an MBean Reference but am unclear as to how to marry the two.
    It would be really great if someone knew where I might find a concrete example of creating an Enterprise application using WL10.
    Here is the current wlconfig task that we use successfully in weblogic 8.
    ${server-mbean} is read in earlier with a wlconfig query command.
              <wlconfig url="t3://${env.COMPUTERNAME}:${weblogic_port}" username="${weblogic_username}" password="${weblogic_password}">
                   <create type="Application" name="GenPortal" property="GenPortalApp">
                        <set attribute="Path" value="${domain_home}/${domain_name}/applications/GenPortal.ear" />
                        <set attribute="StagingMode" value="nostage" />
                        <set attribute="TwoPhase" value="true" />
                        <create type="WebAppComponent" name="GenPortal">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="GenPortalWebApp.war" />
                        </create>
                        <create type="EJBComponent" name="GenPortalEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="GenPortalEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="BidEvaluatorEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="BidEvaluatorEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="BidFormulatorEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="BidFormulatorEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="ConfiguratorEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="ConfiguratorEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="ISOCommunicationEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="ISOCommunicationEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="LMPManagerEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="LMPManagerEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="ScriptCalcEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="ScriptCalcEJB.jar" />
                        </create>
                        <create type="EJBComponent" name="SettlementEJB">
                             <set attribute="Targets" value="${server-mbean}" />
                             <set attribute="URI" value="SettlementEJB.jar" />
                        </create>
                   </create>
                   <create type="StartupClass" name="PCI_Initializer">
                        <set attribute="Targets" value="${server-mbean}" />
                        <set attribute="ClassName" value="com.pci.gtdw.bean.Initialize" />
                        <set attribute="Arguments" value="port=${weblogic_port},user=background,password=${background_user_password},debug=false,loggerLevel=debug" />
                   </create>
                   <set mbean="${domain_name}:Name=${domain_name},Type=JTA" attribute="TimeoutSeconds" value="1200" />
              </wlconfig>
    As I mentioned earlier right now this fails with when trying to create the WebAppComponent as seen in the error message above.
    Thanks for any help you can provide.

    Here's a couple ideas:
    1. Easier, but with non-deterministic response time:   Wire the button up to one of your I/O pins and poll it.  When you detect the button, issue a software call to stop the pulse train.  If the duration of the button press may be short compared to your polling rate, then wire it to a counter source pin and perform edge counting.  When you poll any value > 0, the press has happened.  (Sometimes the value may be >1 if the switch has "bounce").
    2. Trickier, but with deterministic hardware timing:  Configure another counter, call it counter B, for triggered pulse generation.  Wire/configure the button as the trigger.  Make sure that the "high time" of the pulse is long enough to let your software respond, if needed.   Also configure your original continuous pulse train counter to use Ctr B's output as a "pause trigger", specifying to pause when high.   When the button is pressed, counter B will fire a pulse and that pulse will inhibit your original counter's pulse generation.  In short, the pulses will stop until counter B's pulse has completed its full duration.  Your software can monitor for this series of events and stop the original counter task if needed.
    -Kevin P.

  • How to Start/Launch another WD application using a link.

    Hi, I've been trying to see if there's an official way that I can launch another WD application using a link from within an application where the applications are not in the same deployable object.
    P.S.  I've seen the other thread of how to do it when the applications are within the same deployable object.
    Thanks in advance as always,

    Hi Michael,
    of course it does, so the question should be:
    "Hey, how do it get the application URL of a WD application without hardcoding the server name, port or whatever?"
    This is simple:
       * Return is the application URL for the specified <code>deployableObjectPart</code> with appended 
       * URL parameters given by <code>urlParameters</code>. All key/value pairs in the map must
       * be of type java.lang.String.
       * @param deployableObjectPart a deployable object part representing a Web Dynpro application
       * @param urlParameters key/value pairs added as URL parameters; they must be of type String
       * @return the application URL for the specified <code>deployableObjectPart</code> with appended 
       * URL parameters given by <code>urlParameters</code>
       * @throws WDURLException if the URL couldn't be generated
       * @see com.sap.tc.webdynpro.services.sal.url.api.WDURLGenerator#getApplicationURL(WDDeployableObjectPart)
      public static String getApplicationURL(WDDeployableObjectPart deployableObjectPart, Map urlParameters) throws WDURLException {
        return AbstractManager
          .getServerPlatformImplementation()
          .getURLGeneratorFactory()
          .getURLGenerator()
          .getApplicationURL(deployableObjectPart, urlParameters);      
    or if you would like to get it load balanced:
       * Return is the workload balanced application URL for the specified <code>deployableObjectPart</code> with appended 
       * URL parameters given by <code>urlParameters</code>. All key/value pairs in the map must
       * be of type java.lang.String.
       * @param deployableObjectPart a deployable object part representing a Web Dynpro application
       * @param urlParameters key/value pairs added as URL parameters; they must be of type String
       * @return the workload balanced application URL for the specified
       * <code>deployableObjectPart</code> with appended URL parameters given by <code>urlParameters</code>
       * @throws WDURLException if the URL couldn't be generated
       * @see com.sap.tc.webdynpro.services.sal.url.api.WDURLGenerator#getWorkloadBalancedApplicationURL(WDDeployableObjectPart)
      public static String getWorkloadBalancedApplicationURL(WDDeployableObjectPart deployableObjectPart, Map urlParameters) throws WDURLException {
        return AbstractManager
          .getServerPlatformImplementation()
          .getURLGeneratorFactory()
          .getURLGenerator()
          .getWorkloadBalancedApplicationURL(deployableObjectPart, urlParameters);     
    Before i forget it to mention, these are two methods of the WDURLGenerator API. There are others where you don't have to specify the deployableObjectPart, you can use DPO name and name of application as parameters instead.
    Hope that helps.
    Best regards
    Stefan
    PS: This was my 2nd attempt, i hope i got you right now...

Maybe you are looking for