Java Mailing List Archive

http://www.junlu.com/

Google
Google
Mailing List
Home
Forum Home
JBoss - Java Application Server
Tomcat - JSP/Servlet container
Struts - A MVC web framework
iText - An open source PDF Java Library
JDOM - JDOM XML Parser
J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition
JSP - A mailing list about Java Server Pages specification and reference
J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog
Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology
Struts & Hibernate
Subjects
JSP editor plugin for eclipse ?
org apache jasper JasperException: Unable to compile class for JSP
Tomcat: Connection reset by peer: socket write error
Cannot retrieve definition for form bean null
Struts Tiles Tutorial (free Struts training)
Where do I download Tomcat 4 0 6?
Data Access Object (DAO) pattern, example DAO 's
Where to download Tomcat v 4 1 24 from?
Tomcat 5 0 16 Requested resource not available
Oracle Connection Pooling in 3 2 2
Servlet : Session invalidate
Servlet action is currently unavailable
Tomcat/Struts Unicode Encoding/Decoding problems
Tomcat and webapplication specific java library path
Running a Simple JMS Example
Mapping in workers2 properties
org apache jasper JasperException
Cannot find message resources under key org apache struts action
   MESSAGE
problem with html:text bean throwing exception
Cannot find message resources under key org apache struts action MESSAGE
invalid direct reference problem with solution
Tool for jsp debug Try Sysdeo Eclipse Plugin
Tomcat 5 Cannot load JDBC driver class 'null ' SQL state: null
weblogic ejbc
java properties file
Jboss 3 2 3 Coyote Can 't re
Tomcat 5, Apache2 and mod jk2 integration problem
JBoss example problem new to J2EE
url string for connecting jboss to oracle
Value attribute of <html:checkbox
javax servlet ServletException: BeanUtils populate
HTTP Status 404 The requested resource is not available
5 0 18: Windows XP Pro vs Windows 2000
 
Using tomcat as client application

Using tomcat as client application

2007-01-12       - By Danilo Cubrovic

 Back
Reply:     1     2     3     4     5     6     7     8  

Well I already use your soultion.

I have same jar file I use on web server and on that client application.

Client application is in frames. Left frame is java applet that
represents search engine. In right frame I show search results and a lot
of html data that user search for (some legal stuff)
So this is combination of java applet +javascript neded for interframe
communication + ...
It seems to me a little dirty so I like to clean that little bit.
I have total separation of applicaion logic and presentation. (3 layers)
Well I start to transfer all of that into full page applet application
but this is tricky because of poor supoort for html +css data and all of
our data is in that format
plus Presentation is often change to reflect some new stuff and it is
annoying to change and test on two different places.

Embeeded tomcat seems intersting solution.
I will make an applet that load tomcat and then redirect to start page
and let tomcat hadle from that point.

But Im not sure how that will work?!
And more important in that way tomcat have to listen on some port and
that can be huge problem for me with all the coroprate firewalls and
unprivileged users.
If i can use tomcat embedded to parse url and generate html without
acting as server that would be ideal, but can I achieve something like
that, or as close as I can.

Christopher Schultz wrote:
> -- --BEGIN PGP SIGNED MESSAGE-- --
> Hash: SHA1
>
> Danilo,
>
> Danilo Cubrovic wrote:
>  
>> I have web application (java jsf+xml) that works fine on tomcat.
>>
>> Can I pack somehow web application and tomcat and install it on user client
>> pc.
>>    
>
> This is possible, but probably non-ideal. If your Java applet is pretty
> good-looking, consider deploying it as a client-side app (that is,
> unwrap the applet into a full-fledged application).
>
> You could take your existing web application and split it up into
> components: back-end versus presentation. That shouldn't be all that
> hard assuming that you already have a pretty good separation between
> your business logic and data access layers versus your presentation layer.
>
> Then, for a web deployment, you simply use your business logic + data
> access layers as the foundation (JAR files?) for your web app. The same
> can be done for the local deployment.
>
> Perhaps this is not the solution you're looking for, but it's definitely
> one option.
>
> Good luck,
> - -chris
> -- --BEGIN PGP SIGNATURE-- --
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFFp8Qd9CaO5/Lv0PARAu78AKC59rC3TD4v4ISJZKzEq9h4O36I7wCeO7w1
> bMWvdUh5DiH6BFRLWsvZHyI=
> =Q/Lf
> -- --END PGP SIGNATURE-- --
>
> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
> To start a new topic, e-mail: users@(protected)
> To unsubscribe, e-mail: users-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>
>  


-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.