Discussion:
[newbie] how to create stubs on client side
(too old to reply)
m@lec
2006-08-31 10:14:34 UTC
Permalink
Hi, I'm newbie in J2EE so forgive me if it isn't the best idea! I have
an applet and I wonder if there is a chance to create stub class files
locally on the client side while compilation process(we can use
weblogic.jar, right?). for example: create them and pack into jar file.
This jar could be used as other jars in browser cache..

What is the goal?
- Minimize number of connections(avoid downloading them from wl)
- to be more independent of the weblogic

Maciej Salamonik
s***@gmail.com
2006-09-01 09:23:27 UTC
Permalink
Post by ***@lec
Hi, I'm newbie in J2EE so forgive me if it isn't the best idea! I have
an applet and I wonder if there is a chance to create stub class files
locally on the client side while compilation process(we can use
weblogic.jar, right?). for example: create them and pack into jar file.
This jar could be used as other jars in browser cache..
What is the goal?
- Minimize number of connections(avoid downloading them from wl)
- to be more independent of the weblogic
Maciej Salamonik
Dear Sir,

Excuse me for perhaps not understanding correctly. But through my life,
I've always tried to make the client maximum independant of the server
implementation (WAS/WLS/JBOSS/..). I urge you to take a look at the
petstore demo:

http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/sample-app/sample-app1.3.1a3.html

and make sure you get the best possible design with functionality
situated at appropriate tiers. I think design considerations will be
your best guarantee for few connections and optimum performance.

/www.seniorconsultant.co.uk
m@lec
2006-09-21 21:39:33 UTC
Permalink
Post by s***@gmail.com
Post by ***@lec
Hi, I'm newbie in J2EE so forgive me if it isn't the best idea! I have
an applet and I wonder if there is a chance to create stub class files
locally on the client side while compilation process(we can use
weblogic.jar, right?). for example: create them and pack into jar file.
This jar could be used as other jars in browser cache..
What is the goal?
- Minimize number of connections(avoid downloading them from wl)
- to be more independent of the weblogic
Maciej Salamonik
Dear Sir,
Excuse me for perhaps not understanding correctly. But through my life,
I've always tried to make the client maximum independant of the server
implementation (WAS/WLS/JBOSS/..). I urge you to take a look at the
http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/sample-app/sample-app1.3.1a3.html
and make sure you get the best possible design with functionality
situated at appropriate tiers. I think design considerations will be
your best guarantee for few connections and optimum performance.
/www.seniorconsultant.co.uk
Yes, it's true that client should be independent of the server
implementation, but I have no effect on what is better or worse in this
applet implementation. I was working on creating environment for making
tests on this applet and the goal was: "Try to create stubs on
localhost for better applet testing.".

I still don't know is it possible or not?..

Thanks for an answer btw

Maciej Salamonik

Loading...