Results 1 to 6 of 6

Thread: Can JSP be used in desktop applications

  1. #1
    Join Date
    Dec 2009
    Posts
    204

    Can JSP be used in desktop applications

    Hello,
    Does anyone know an api / technical to use jsp outside of a web server (in this case a thick client). This for the simple reason that I would like to manage the display of certain data (beans stored, retrieved through a call to a web service) by converting them into html and then posting them in a swing component. I can hear that "you can just use the java, but we could say the same for all web designers, it is still not for nothing that invented the jsp. If someone has an idea, thank you in advance.
    Last edited by Ash maker; 14-01-2010 at 07:36 PM.

  2. #2
    Join Date
    Jan 2008
    Posts
    1,521

    Re: Can JSP be used in desktops

    Hello,
    It is still not for nothing that invented jsp
    As you say it's not for nothing, But this is not for this purpose, if you want to continue, I see only recover part of a jsp web server such as tomcat, which is responsible for interpreting the jsp. Hope this information will help you. If you have any other question in your mind regarding this topic then you can post back.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Re: Can JSP be used in desktops

    Hi
    It's a bit curious as demand, basically it would be to integrate a web container in your thick client (the coup, it may well carry the name of "fat client", even "super heavy" ) This is especially odd that you can do with an applet in your page that she can use Swing components to render. I think you have other libraries of java to develop desktop applications.

  4. #4
    Join Date
    Dec 2009
    Posts
    204

    Re: Can JSP be used in desktops

    Hello,
    When you talk applet makes me say that this is exactly the opposite of what I do. And what is to run a web container, you take me for a blue or what? I know it would be unmanageable. What I want to do is (or more precisely: "ideally should be) nothing more complicated or cumbersome than using a scripting engine in a program, except that places of choosing javascript from ruby from perl or python I'd like some jsp (which is never just another scripting language at the bottom, except that the mode of its compiler actually makes it difficult to use outside servlet container). If you want an analogy, take a php script that generates html, subject not to use certain features may also be called by apache.

  5. #5
    Join Date
    May 2008
    Posts
    2,012

    Re: Can JSP be used in desktop applications

    Hi,
    Well if you began by being more specific about what you want to do, because "I would like to manage the display of certain data (beans stored, retrieved through a call to a web service) by converting them into html then displaying a component in Swing." What interests you to convert html to display in a Swing component?

  6. #6
    Join Date
    Dec 2009
    Posts
    204

    Re: Can JSP be used in desktop applications

    Hello,
    I thought that "Is there anyone who know an api / technical to use jsp outside of a web server (in this case a thick client)" was eloquent enough. And your answer for that is
    What interests you to convert html to display in a Swing component?
    You do not mind off ? It is true that a desktop program that generates html that has never seen. And I even know that there are many libraries that can be used to create a desktop application in java. But I was just curious about it.

Similar Threads

  1. Replies: 5
    Last Post: 18-04-2011, 12:11 PM
  2. iphone applications v/s android applications
    By Kishan K in forum Portable Devices
    Replies: 7
    Last Post: 18-02-2011, 08:13 AM
  3. Replies: 4
    Last Post: 21-12-2010, 01:16 PM
  4. Transform web applications into desktop with Prism 1.0
    By Snake08 in forum Technology & Internet
    Replies: 3
    Last Post: 12-05-2009, 10:28 AM
  5. Pros and Cons of Desktop and Web Applications
    By Ariadne in forum Software Development
    Replies: 3
    Last Post: 14-01-2009, 06:57 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,752,123,035.79529 seconds with 16 queries