How can I make my application as webservice

Hi All,
I'd like to know ,how can I make my application as webservice which has built on strut framework.
with regards
Babu H

I'm not quite sure what you mean by application, but you can not turn whole applications to webservices. What you can do easily is to turn your services, e.g. the public methods in your stateless session bean layer as web services. There is different ways to do this, but you might want to check out Axis (http://ws.apache.org/axis ), which is a OS tool for creating WS call stacks over existing objects.

Similar Messages

  • How can I make my application visible on the net?

    Hi Everyone,
    Here is a silly question. I created a nice application on my notebook pc where I installed HTML DB. It is running Windows XP. The server is the HTTP server that came with the companion disk.
    Can you tell me what I need to do to make the application visible to people on the internet?
    Thanks.
    Emad.

    change your call from println to print.
    check the API docs for this stuff, it tells you everything you need to know.
    Good Luck
    Lee

  • Bought an ipad3 and I have no credit card..how can I make an application without credit card?

    I bought an ipad3 here in the Phil's and don't have credit card...how can I create an account without using credit card?

    How to Get Apps From the App Store Without a Credit Card
    http://ipadhelp.com/ipad-help/how-to-get-free-apps-from-the-app-store-without-a- credit-card/
     Cheers, Tom

  • How can i make my application startup faster?

    Anyone can help me?
    I'm making a GUI application for my customers, this application must be run in many old machines, which install win98,128M memory.
    The first time application start cost 15sec(5 sec before start to load class),My customer say "can't stand for it ", because they use VC version beforetime. :-(
    The second time start, it cost 6.5sec(1sec before start to load class), My customer say "that's ok".
    To improve, i make a monitor tool, which use swing lib and some of my own libs, the monitor startup with the win98, and runing as a service. Now the application's first start only cost 6.5sec, just like the second time start.
    But new problem come: After i do many operation which cost many memory(start a msoffice word, many copy/paste, and close the word), my application start time cost 17 sec! 6 sec before load class!
    What can i do now?
    Thanks in advance,
    luochangtao

    (windows98 128M)
    the first time:
    total 15sec
    5sec before inter my first class, and about 6sec for first swing window, the other is for load my resources.
    the second time:
    total 6sec
    0sec before inter my first class, 2sec for first swing window. the other is for load my resources.
    I think i have do enough for my app, but if the first time after system startup, or user do many operation's which cost many memory before second time start, it cost 15sec, and about 5sec form click the batchfile to inter my first class.
    i think windows 's catch mechanism is important, but i don't know how to keep that catch.
    is it possible?

  • How can i make a application-form without PHP or How can i make Mailto working properly?

    Dear All,
    I'm working on a application-form for my website. As you can see on the added screenshot.
    My problem is that is can't use PHP, as my host doesn't support this.
    I have tried to make it as a mailto (GET) form but, as i already read online, it isnt working all the time. I get a blank email instead of a sent form (using chrome & mac mail).
    Is there a 3rd way of making this work propperly?
    Thank you in advance for your help!

    >Is there a 3rd way of making this work propperly?
    I'm guessing you have a free hosting account as any paid account should include scripting supoort. You could use a 3rd party email service that hosts the script. Frankly I'd be concerned about loss of privacy using these. 
    If this is a paid account, I'd look for another host.
    Forget about using mailto, it's too unreliable.

  • How can I build an application that calls functions in a dll if the associated hardware is not present?

    I am trying to build an application that use the "Call Library Function" node to call functions in a dll.
    The dll was provided by a third-party and includes functions to drive an I2C communication board.
    The problem I have is that the dll does not not properly because the hardware is not present.
    Therefore when I load the VI a broken arrow is displayed and when I am not able to build the application.
    I will not be running the application on the PC where I build the application, therefore I want to be able to build the application on a remote PC that has not all the hardware installed. Once the application will be build it will be installed on the target PC that has all the hardware.
    How can I make the application builder to build the application event if the dll is not properly loaded? (the dll will be properly loaded on the target PC)
    I want to do this on LabView 5.1.1, any ideas?

    Some .dlls don't try to attach to the driver when loaded.
    I've worked with both and unfortuately, I've not figured out a way around this problem.
    You could possibly use the Conditional Disable structure around the dll calls so they would not be loaded unless you're in the runtime engine. But i've not tried this so I don't know for sure if it's possible.
    Anyone??
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.

  • How can I make my app available with out logging in

    Hi guys,
    How can I make my application available with out logging in. In other word, it should work as a normal website no user name or pass word is required ?
    Best Regards,
    Fateh

    Hi Fateh,
    Edit your page, and under the security of your page change the authentication from page requires authentication to page is public
    Authentication: page is PublicSo, that your page wont ask for a login.
    Brgds,
    Mini
    Mark Answers Promptly

  • I down loaded sygic on my iPhone 3s but the icon is missing even in the search but when I want to download it again ,it say this application is present, how can I make the icon to show up

    I down loaded sygic on my iPhone 3s but the icon is missing even in the search but when I want to download it again ,it say this application is present, how can I make the icon to show up

    - Have you tried a reset. Nothing is lost
    Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Try syncing  the iPod to your computer. Then delete from iTunes and sync. that should delete it from the iPod. Then redownload it.

  • How can I make server use single class loader for several applications

    I have several web/ejb applications. These applications use some common libraries and should share instances of classes from those libraries.
    But applications are being deployed independently thus packaging all them to EAR is not acceptable.
    I suppose the problem is that each application uses separate class loader.
    How can I make AS use single class loader for a set of applications?
    Different applications depend on different libraries so I need a way that will not share library for all applications on the domain but only for some exact applications.
    When I placed common jar to *%domain%/lib* - all works. But that jar is shared between all applications on the domain.
    When I tried to place common jar to *%domain%/lib/applibs* and specified --libraries* attribute on deploying I got exception
    java.lang.ClassCastException: a.FirstDao cannot be cast to a.FirstDaoHere http://download.oracle.com/docs/cd/E19879-01/820-4336/6nfqd2b1t/index.html I read:
    If multiple applications or modules refer to the same libraries, classes in those libraries are automatically shared.
    This can reduce the memory footprint and allow sharing of static information.Does it mean that classes should be able to be casted ?

    You didn't specify which version of the application server you are using, but the config is similar as long as you know what to look for. Basically, you need to change the classloader delegation. Here's how it is done in 8.2
    http://download.oracle.com/docs/cd/E19830-01/819-4721/beagb/index.html

  • How can i make a connection between an application and a database over net

    dear sir
    how can i make connection between an appliction and a database over internet while the client side appliction is behind proxy and firewall
    for example how the live update of norton antivirus makes connection to the data server to make comparetions and get new virus definitions
    does that depend on sockets technology ?
    what references can guide me to the solution please?

    The ability to do so depends entirely on the JDBC driver implementation having some proxy method. It needs to recognize the HTTP or SOCKS proxy and use them to connect, and the firewall and proxy need to allow those specific port connections.
    To the best of my knowledge, all of these update utilities, e.g. live update for Netscape, Norton, etc., do not connect directly to the database. As it is, no sane security person would allow a database to be exposed to the Net. Rather, they connect using HTTP or HTTPS, which normally traverses firewalls just fine, to connect to a Web or application server on the far end. That application server then parses the request and retrieves whatever it needs to from the database.
    In other words, you cannot have a 2-tier client/server application. You need a 3-tier application:
    your client -> Web/app server -> database
    where the connection from your client to the Web/app server is over http or https through the firewall and proxies.
    Hope this helps.
    Avi
    dear sir
    how can i make connection between an appliction and a
    database over internet while the client side
    appliction is behind proxy and firewall
    for example how the live update of norton antivirus
    makes connection to the data server to make
    comparetions and get new virus definitions
    does that depend on sockets technology ?
    what references can guide me to the solution please?

  • How can i make Distiller autoname file ( when exprting from other application?)

    hello everyone,
    i have been searching for a solution for a long time please help me >
    we have more than 100.000 docuents saved as pic on our network at work by using ( Laser Fiche). I wanted to save all files by using acrobat distiller but when i try to print a file i was prompted to enter a file name! but i don't want to... i want the distiller create a file name automatially.
    in the preferencesd i unchecked ( ask for PDF .. ) but the problem is that all files saved were overwritten because distiller was imporing the file name from Laser Fich!
    how can I make distiller ( autoname files like 0001 0002 0003 and so on) ?
    forgot to tell you that i am using acrobat version 5 ( and windows xp + laser fiche at work )
    thanks in advance

    thanks Bill@VT -
    it didn't work
    I opened the properiteis of the distiller and uncheck the ( prompt for the PDF file name) so that the distiller can save files automatically . it did but by overwriting the files because the original files in the LASER FICHE have same names so the distiller saved one file only by overwriting ....that's why i want to make distiller to name files when saving them ( the distiller are imorting the files from Laser fiche only but i want it to autoname them )
    i also opened distiller properites and unchecked the ( ask to replace existing PDF filename ) the distiller was always asking me to replace file ! and I can't do it this way because I have more than 100.000 docuents!
    sorry , I know this is a very difficult question
    but I would very happy if you can help me
    hank you
    Al

  • How can I make a report for a mistake in the Dictionary application of the iPhone?

    When you highlight something you've written and then you press on "Define"... there is a mistake in one of the entries of the dictionary....How can I make a report to Apple?

    http://www.apple.com/feedback/iphone.html

  • How can i make hyperlink to local file for dowloading

    How can I make hyperlink to a local file for downloading it, it seams that only www links work in web Ui.
    Thanks

    If we assume that you have a LabVIEW application running on your cRIO that is exposing some data through web services, there are a couple of possibilities.
    You can create a web service call that returns the log data. In order for the browser to treat this as a file, you must set the correct content type in the http header. To do this you can't use the default form of data output. Instead you must create an "httpRequestID" input to your web service VI. With this you can call "Write Response.vi" to give the log data and "Set HTTP Header.vi" to specify the type (text/text probably works for a log). You can look at "examples\comm\webservices\address book\FindContacts.vi" to see an example of calling these 2 VIs. Once you create that web service entry point, you can set that as the URL of the hyperlink control and it should work.
    Another option is to have the cRIO application write to a log file that is under the root of the web server running on the machine. (This is the same place the xap for your Web UI Builder application is put.) This file could then be served up through the web server just like any other file.
    With either of these solutions there may be concerns about the browser caching results rather than requesting new content each time. There are additional values that can be set in the http headers with the first solution that can help with this, but I think there is still some variation between browsers.

  • How can I make the combo box turn to the value of black.

    When the show button is pressed (and not before), a filled black square should be
    displayed in the display area. The combo box (or drop down list) that enables the user to choose the colour of
    the displayed shape and the altering should take effect immediately.When the show button is pressed,
    the image should immediately revert to the black square, the combo box should show the value that
    correspond to the black.
    Now ,the problem is: after I pressed show button, the image is reverted to the black square,but I don't know
    how can I make the combo box turn to the value of black.
    Any help or hint?Thanks a lot!
    coding 1.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class test extends JFrame {
         private JPanel buttonPanel;
         private DrawPanel myPanel;
         private JButton showButton;
         private JComboBox colorComboBox;
    private boolean isShow;
         private int shape;
         private boolean isFill=true;
    private String colorNames[] = {"black", "blue", "cyan", "darkGray", "gray",
    "green", "lightgray", "magenta", "orange",
    "pink", "red", "white", "yellow"}; // color names list in ComboBox
    private Color colors[] = {Color.black, Color.blue, Color.cyan, Color.darkGray,
                              Color.gray, Color.green, Color.lightGray, Color.magenta,
                              Color.orange, Color.pink, Color.red, Color.white, Color.yellow};
         public test() {
         super("Draw Shapes");
         // creat custom drawing panel
    myPanel = new DrawPanel(); // instantiate a DrawPanel object
    myPanel.setBackground(Color.white);
         // set up showButton
    // register an event handler for showButton's ActionEvent
    showButton = new JButton ("show");
         showButton.addActionListener(
              // anonymous inner class to handle showButton events
         new ActionListener() {
                   // draw a black filled square shape after clicking showButton
         public void actionPerformed (ActionEvent event) {
                             // call DrawPanel method setShowStatus and pass an parameter
              // to decide if show the shape
         myPanel.setShowStatus(true);
                   isShow = myPanel.getShowStatus();
                                            shape = DrawPanel.SQUARE;
                        // call DrawPanel method setShape to indicate shape to draw
                                            myPanel.setShape(shape);
                        // call DrawPanel method setFill to indicate to draw a filled shape
                                            myPanel.setFill(true);
                        // call DrawPanel method draw
                                            myPanel.draw();
                             myPanel.setFill(true);
                             myPanel.setForeground(Color.black);
                   }// end anonymous inner class
         );// end call to addActionListener
    // set up colorComboBox
    // register event handlers for colorComboBox's ItemEvent
    colorComboBox = new JComboBox(colorNames);
    colorComboBox.setMaximumRowCount(5);
    colorComboBox.addItemListener(
         // anonymous inner class to handle colorComboBox events
         new ItemListener() {
         // select shape's color
         public void itemStateChanged(ItemEvent event) {
         if(event.getStateChange() == ItemEvent.SELECTED)
         // call DrawPanel method setForeground
         // and pass an element value of colors array
         myPanel.setForeground(colors[colorComboBox.getSelectedIndex()]);
    myPanel.draw();
    }// end anonymous inner class
    ); // end call to addItemListener
    // set up panel containing buttons
         buttonPanel = new JPanel();
    buttonPanel.setLayout(new GridLayout(4, 1, 0, 50));
         buttonPanel.add(showButton);
    buttonPanel.add(colorComboBox);
    JPanel radioButtonPanel = new JPanel();
    radioButtonPanel.setLayout(new GridLayout(2, 1, 0, 20));
    Container container = getContentPane();
    container.setLayout(new BorderLayout(10,10));
    container.add(myPanel, BorderLayout.CENTER);
         container.add(buttonPanel, BorderLayout.EAST);
    setSize(500, 400);
         setVisible(true);
         public static void main(String args[]) {
         test application = new test();
         application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    coding 2
    import java.awt.*;
    import javax.swing.*;
    public class DrawPanel extends JPanel {
         public final static int CIRCLE = 1, SQUARE = 2;
         private int shape;
         private boolean fill;
         private boolean showStatus;
    private int shapeSize = 100;
    private Color foreground;
         // draw a specified shape
    public void paintComponent (Graphics g){
              super.paintComponent(g);
              // find center
    int x=(getSize().width-shapeSize)/2;
              int y=(getSize().height-shapeSize)/2;
              if (shape == CIRCLE) {
         if (fill == true){
         g.setColor(foreground);
              g.fillOval(x, y, shapeSize, shapeSize);
    else{
                   g.setColor(foreground);
    g.drawOval(x, y, shapeSize, shapeSize);
              else if (shape == SQUARE){
         if (fill == true){
         g.setColor(foreground);
                        g.fillRect(x, y, shapeSize, shapeSize);
    else{
                        g.setColor(foreground);
    g.drawRect(x, y, shapeSize, shapeSize);
    // set showStatus value
    public void setShowStatus (boolean s) {
              showStatus = s;
         // return showstatus value
    public boolean getShowStatus () {
              return showStatus;
         // set fill value
    public void setFill(boolean isFill) {
              fill = isFill;
         // set shape value
    public void setShape(int shapeToDraw) {
              shape = shapeToDraw;
    // set shapeSize value
    public void setShapeSize(int newShapeSize) {
              shapeSize = newShapeSize;
    // set foreground value
    public void setForeground(Color newColor) {
              foreground = newColor;
         // repaint DrawPanel
    public void draw (){
              if(showStatus == true)
              repaint();

    Hello,
    does setSelectedIndex(int anIndex)
    do what you need?
    See Java Doc for JComboBox.

  • How can I make a "Keyboard Lock" while iTunes is playing?

    How can I make a "Keyboard Lock" while iTunes or other apps are playing? They should work/play on, screen should still be on, only keyboard is (maybe Password-) locked.
    Thanx in adv, tttimo

    Menu > Apple > System Preferences > Keyboard > Keyboard Shortcuts Application Shortcuts > + > Application: Browse to Pages > Menu Title: Footnote > Keyboard Shortcut: hit combination of keys > Add
    You will need to restart Pages but should then see it next to your Menu item.
    Peter

Maybe you are looking for

  • Can you use two ipods on one itunes account. It let me transfer my purchases, but can i put songs that are on one ipod onto the other that are already on my itunes?

    i had an ipod classic and used it for a few years until i got an iphone. Now I want to return to use it to fit all my songs on, however i now use a different itunes on a different computer. It let me transfer all my purchases, but won't let me put th

  • Problem with arts

    Hi! I use kde 3.5.5. When Kde is going to play the sound with arts, the whole system just hangs for 1,5 seconds. Then sound plays, and everything backs to normal. And it happens every time, the sound is going to be played. When in kcontrol I turn off

  • Reception problem in my iphone 4g

    Am still having the reception problem in my iphone 4g, I got it 2 months ago and i thought Apple had solved this issue can any body advise?

  • How to bare bones tiger 10.4.8

    I put system 10.4.8 on my old Imac all I want to run is some games and educational stuff for the grandchildren. Can you help me with list of stuff to delete so I can create more room? For instance how do I delete all those languages that were automat

  • H.264 codec is not supported

    Any reason why a 1080p QuickTime movie encoded in h.264 at 10000kbps is not supported on the iPhone? That's the codes I'm always using and now all of a sudden it cannot be synced? Thanks, Simon