WebCream 4.5 Released - Swing to HTML bridging framework

Discussions

News: WebCream 4.5 Released - Swing to HTML bridging framework

  1. WebCream is a unique tool for Java that provides automated web-enabling for GUI based Java applications and applets. WebCream allows developers to implement a GUI front end using AWT and Swing, and at the same time automatically get HTML access to the application. In a way, WebCream can be thought of as a dynamic Java to HTML converter, that converts Java frames and dialogs to HTML on the fly. It then emulates web page actions as GUI events to retain application original logic.

    WebCream is unique in that it requires no modifications to existing forms and business logic, and does not require programmers to learn any APIs. It is designed to publish existing applications and applets and doing so is just a matter of setting up your web server and a property file describing the application. The rest is handled by WebCream.

    New features in WebCream 4.5 include:
    - JFileChooser can be rendered as a file upload from the client machine. Instead of browsing the server disk, JFileChooser be default now allows users to upload files to a temporary directory on the server
    - Tomcat 4.1.24 is included as a built-in web server
    - Batch files and shell scripts are updated for easier configuration and integration with other products
    - Action emulators are added to allow customization of action emulation and to give more flexibility for integration
    - Dynamic events enabling and disabling is now configurable on window and component level
    - Images on tabs are now supported for JTabbedPane
    - WebCream is packaged as one download with libraries for all supported version of JDK

    Visit WebCream: http://www.creamtec.com/webcream

    Does anyone have any experience with this framework that they would like to share?
  2. WebCream can be thought of as a dynamic Java to HTML converter, that converts

    > Java frames and dialogs to HTML on the fly.

      Great. Have you ever thought about supporting XUL (XML UI Language), that is, creating a dynamic Java to XUL converter?

      - Gerald

    PS: If you want to get started in XUL may I suggest the XUL Alliance site or the XUL Planet site.
  3. WebCream can be thought of as a dynamic Java to HTML converter, that converts

    > > Java frames and dialogs to HTML on the fly.
    >
    > Great. Have you ever thought about supporting XUL (XML UI Language), that is, creating a dynamic Java to XUL converter?
    >
    > - Gerald

    Gerald wouldn't this be EVIL since it further promotes swing and hence the SUN JAVA MONOPOLY. Here you go being a sheep and pushing the SUN party line. Break against your habits of using suns core java apis and find some open source gui tool kit.

    .....just kidding, sheesh, stop taking everything so serious:)

    peeeeez
    weo
  4. just a little bit[ Go to top ]

    Webcream has been around for a long time and I have looked at one of the first releases (1.x something) a serious while ago. It worked but the rendering was often off. I still keep it in my "pocket" though, for the project where I need to webify an application...
  5. just a little bit[ Go to top ]

    Ditto here. We evaluated WebCream for a client's swing based application. In just a few days we had 90% of it working very well. My opinion at the time was that in less that a month we could have had the whole thing humming. Alas, the client decided not to go down that road. We also keep WebCream in the 'back pocket' waiting for the next opportunity.

    Geoff
  6. This sounds great .... how do u do this ??
  7. Doesn't work with Mozilla 1.4[ Go to top ]

    I tried the WebCream generic demo that's online, doesn't seem to work with Mozilla 1.4. The buttons seem to be out of place.
  8. May be a great project but it's name sounds like a porn site.
  9. I looked at this a few years ago to. A good tool to solve a certain problem. I was able to convince the users to use a plugin, so I didn't need it at that time.

    BTW, the name gets me to. This is what I think of when I see the name - http://franklarosa.com/vinyl/Exhibit.jsp?AlbumID=39
  10. Answers to your questions[ Go to top ]

    Naming
    All right guys, the name may not be perfect but check out the code! We thought of naming it WebSwing but that didn't sound much better:-) So if you have ideas go ahead and through it out here but don't forget to download and evaluate the product.

    XUL Support
    We were evaluating XML generation for a while now and so far there was no compelling reason to do so. While it is certainly possible and may be interesting academically, XML/XUL generation is not going to benefit most of the real life applications that have Swing front ends. Java GUIs rely pretty havily on layouts and translating Java layouts to HTML layouts or XUL layouts is a very difficult and at times impossible task. Our first versions try to leverage that principle and the auto-generated GUIs would turn out clumzy and sometimes outword incorrect. That is why we switched to position based rendering where we let Java GUIs do the layouts and we simply capture components coordinates. If you browse WebCream-enabled site using Netscape 4.7 you will see the glory of layout-based generator. Compare that with the position based one and you'll understand the difference. Last but not least, if somebody needs web based access to their Swing app why would they want yet another layer between HTML and GUI?

    Mozilla 1.4
    We support Netscape 6+ and Mozilla should work too. I believe there are a few small outstanding bugs but most of the stuff should work. Unfortunately witht the marketshare of browsers today dominated by IE the real world customers are not very concerned with supporting a browser that a very small percent of users.

    How do we do this?
    Well, check out the online documentation at http://www.creamtec.com/webcream. If you have more questions, write to this forum and somebody from our company will answer the question.
  11. While I won't dispute the general percentage, I think that in the corporate & education world, the IE domination is not so clear cut.

    I work on a daily basis with institutions that still use Netscape 4 under Solaris and Mac OS X users that do not view IE as a viable alternative.
  12. How about performance?[ Go to top ]

    Since you are going to be running an instance of the applet on the web server for each client, performance on the web server could be an issue for large sites. Any comments?

    Thanks
    Srini
  13. Browser Support
    Thank you for your feedback, it will help us move the browser support up the priority list. If you have other ideas and suggestions on improvements please feel free to post it here.

    > Since you are going to be running an instance of the applet on
    > the web server for each client, performance on the web server
    > could be an issue for large sites. Any comments?

    Good point, and we actually have an FAQ on this: http://www.creamtec.com/webcream/doc/faq.html#scalability. To summarize it here, WebCream allows mixed use of JVM. It uses separate class loaders and runtime environments to execute virtual clients in the same JVM. Most of the resources in that case are shared by virtual users and that greatly improves the scalability.

    > We decided not to persue webcream because they
    > don't post their pricing. That's usually
    > a sign that we can't afford it.

    Our prices are reasonable and I am sure that if our product converted your application it would have saved you a lot of time and money as opposed to rewriting it. Remember that WebCream like other Java products is written by engineers and they would like to be compensated for their work. We have a request form on the website that allows us to send a customized quote based on the number of CPUs so if you are seriously evaluating the product you'll have to spend 5 minutes max filling out the form and you'll get the pricing. Don't be shy:-)
  14. pricing[ Go to top ]

    Our prices are reasonable and I am sure that if our product converted your >application it would have saved you a lot of time and money as opposed to >rewriting it.


    We are not thinking about converting an existing application.
    We are thinking about how to provide swing and web versions
    of our product. As your price would be reflected in our
    price, what is reasonable? We will probably have different
    definitions, but we'll never know. I can get pricing
    on most websites. My experience is when a company doesn't
    post pricing then that company is not a reliable partner.
  15. Yes, this was the first thing that came to my mind.
  16. no pricing[ Go to top ]

    We decided not to persue webcream because they
    don't post their pricing. That's usually
    a sign that we can't afford it.