--- Rohra, Prakash N. ,,DMDC/BEAU
[EMAIL PROTECTED] wrote: We have a similar
situation where Server side Struts
components (Actions and
JavaBean business components) will be accessed by a
client Swing Java
application (not a browser).
We are also looking at various alternatives like
Ok..Peace guys...
I got my answers... and more.. :-)
Thanks Craig..
-Original Message-
From: Xue-Feng Yang [mailto:just4look;yahoo.com]
Sent: Thursday, October 17, 2002 1:20 PM
To: Struts Users Mailing List
Subject: RE: Can V in MVC be Swing in Struts?
Let me copy your answer here
On Thu, 17 Oct 2002, Rohra, Prakash N. ,,DMDC/BEAU wrote:
Date: Thu, 17 Oct 2002 11:23:29 -0400
From: Rohra, Prakash N. ,,DMDC/BEAU [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: 'Struts Users Mailing List' [EMAIL PROTECTED]
Subject: RE: Can V in MVC be Swing
On Thu, 17 Oct 2002, Xue-Feng Yang wrote:
Date: Thu, 17 Oct 2002 13:19:48 -0400 (EDT)
From: Xue-Feng Yang [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: RE: Can V in MVC be Swing in Struts?
Let me copy your
I can't tell if you're being serious or not, but the question really has
been answered already. The problem is that you're either A) missing the
point or B) a troll. I prefer to assume A. In that case, I believe I can
paraphrase what Craig has said:
(1) Does STRUTS support sending serialized
We have a prototype that we are using that uses Struts as the framework.
We have a JTree applet that is displayed as part of the view component.
This way we get to use an Explorer-type interface with the power of the
JTree Swing component. The tags to implement a tree pane was pretty ugly
on our
--- Craig R. McClanahan [EMAIL PROTECTED] wrote:
On Thu, 17 Oct 2002, Rohra, Prakash N. ,,DMDC/BEAU
wrote:
Date: Thu, 17 Oct 2002 11:23:29 -0400
From: Rohra, Prakash N. ,,DMDC/BEAU
[EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
[EMAIL PROTECTED]
To: 'Struts Users Mailing
Using Struts/Soap/EJB for XML?
Using SOAP implies (usually) communications between the client app and the
server over HTTP. Using EJB generally implies communications from the
client and server using RMI.
The only way I can see to do what you are describing is to 'wrap' an EJB on
the server
Again, it is not my question!
Look at my last post!
--- Chappell, Simon P [EMAIL PROTECTED]
wrote:
... snip ...
And I just point out someone's answer is not a
correct
answer. That's it.
Yes, but it's polite to provide the correct answer
if you want to solve a problem
1) it is not my question;
2) I just pointed out that Craig didn't answer the
question:
(1) Does STRUTS support sending serialized VO
objects (as against HTML or XML text strings) back
and forth between client
app and server. What needs to be changed in STRUTS
components to suport this?
JBoss too slow? I've never heard that before. If you don't like JBoss then
you might check out Orion.
David
From: Xue-Feng Yang [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: Can V in MVC be Swing in
As several other people on this list pointed out, Craig _did_ answer the question. In
detail. With examples. For those of you who missed it, the answer is YES. As in the
opposite of NO. At this point, you might want to review the previous emails in this
thread.
Craig is not misleading anyone.
OK.I asked the original question...
Did I get the answer exactly in the way/format I was looking for ?? Probably
not..
Yes...Craig didn't mention the words Serialized and VO in the original
answer.
But hey...the answer was more than adequate to satisify my original query
and apply the same
Really! sheesh...it must be a translation issue
Kevin A. Smith [EMAIL PROTECTED] on 10/17/2002 01:55:53 PM
Please respond to Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
cc:(bcc: Joseph Sadove/DKBDS USA/DKB)
Subject: RE: Can V in
--- Assenza, Chris [EMAIL PROTECTED] wrote:
I can't tell if you're being serious or not, but the
question really has
been answered already. The problem is that you're
either A) missing the
point or B) a troll. I prefer to assume A. In that
case, I believe I can
paraphrase what Craig has
Xue-Feng Yang wrote:
1) it is not my question;
2) I just pointed out that Craig didn't answer the
question:
(1) Does STRUTS support sending serialized VO
objects (as against HTML or XML text strings) back
and forth between client
app and server. What needs to be changed in STRUTS
components
Hahaha, it's upto you! I don't care.
--- Kevin A. Smith [EMAIL PROTECTED] wrote:
As several other people on this list pointed out,
Craig _did_ answer the question. In detail. With
examples. For those of you who missed it, the answer
is YES. As in the opposite of NO. At this point,
you might
The date keeps changing - you can check this page for the latest expected date -
http://www.amazon.com/exec/obidos/tg/detail/-/0672324725/qid=1034868641/sr=1-1/ref=sr_1_1/002-0797019-2419256?v=glance
Thanks!
Kevin
Xue-Feng Yang [EMAIL PROTECTED] on 10/17/2002 11:29:15 AM
Please respond
What part of writing serialized VO objects to the raw ServletOutputStream is confusing
to you? You still have to set the mime-type in the header correctly because you're
using HTTP, but other than that, its pure serialized objects.
--Kevin
-Original Message-
From: Xue-Feng Yang
I was not discussing the question, the matter of who asked it or the degree of
wonderfulness of Craig's answer.
I was addressing your lack of etiquette over the matter. This is a volunteer forum and
many people make time during their workdays to try to help people. Craig has a
workload that
It could be.
--- [EMAIL PROTECTED] wrote:
Really! sheesh...it must be a translation issue
Kevin A. Smith [EMAIL PROTECTED] on
10/17/2002 01:55:53 PM
Please respond to Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED]
cc:
At the risk of me seeming simple and pointless, can I ask why you want
manually code sending serialized objects over HTTP?
What you're doing is reinventing SOAP and XML-RPC. These technologies are
not that hard to use - especially XML-RPC. There are Java libraries
available that handle all
If you decline to use SOAP protocol and want to build an interface that
returns XML over HTTP, I'd recommend looking XML-RPC protocol - it's
simpler and actually pretty easy to use. The O'Reilly XML-RPC book gives
you step by step instructions on how to do it and even points you to Java
This is my last post under RE: Can V in MVC be Swing
in Struts?. All later response will be ignored since
your lack of etiquette over the matter.
If you don't have time, then keep quiet. However,
don't mis-lead other people.
Xue-Feng Yang, Ph.D
Senior Java Technical Architect
--- Chappell,
Let me copy your answer here with #, and tell me where
is your correct answer.
And you didn't understand the answer correctly :-).
# There are at least two different ways to accomplish
# this:
#* Have your Action write the XML output directly to
#the response,
# and then return null
Let me copy your answer here with #, and tell me where
is your correct answer.
And you didn't understand the answer correctly :-).
# There are at least two different ways to accomplish
# this:
#* Have your Action write the XML output directly to
#the response,
# and then return null
I think it's time to wield the crook. Get him off the stage so informed,
serious, and polite people don't need to put up with 9 year old behavior.
Let's just note the name so it can be blocked later.
Xue-Feng Yang [EMAIL PROTECTED] on 10/17/2002 02:40:47 PM
Please respond to Struts Users
Maybe you missed my other post ;-)
You've got a Ph.D. - wasn't part of your course-work centered on
learning to RTFM? You should have gotten an accompanying degree in
sociology.
Struts focuses on the 'C' in MVC. Because of the fact that HTML/JSP/XML
are quite widely used, there happen to be
Thank you Dr. Yang.
I must say that I do admire your moxie on this matter and I would also like to thank
you for making me laugh so much while exactly proving my point! May we all be blessed
with such a marvelous ability to filter out vast quantities of reality in real-time.
Simon
(And people
I will not use RMI to communicate between clients and
servers since the clients are always behind firewalls.
So it is possible that some clients cannot talk with
servers at all if I use RMI.
About Soap, I mean the general term Soap not only
the one: Apache Soap. Sure, I will consider Apache
AXIS
We have a similar situation where Server side Struts components (Actions and
JavaBean business components) will be accessed by a client Swing Java
application (not a browser).
We are also looking at various alternatives like SOAP, XML-RPC or simple
HTTP POST requests (with XML data or Serialized
Hi,
A Dijous 17 Octubre 2002 19:31, Xue-Feng Yang va escriure:
--- Craig R. McClanahan [EMAIL PROTECTED]
wrote:
On Thu, 17 Oct 2002, Xue-Feng Yang wrote:
Date: Thu, 17 Oct 2002 13:19:48 -0400 (EDT)
From: Xue-Feng Yang [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
What do you hope to accomplish by badgering people? It seems to me that Craig answered
your question in more than adequate detail.
--Kevin
-Original Message-
From: Xue-Feng Yang [mailto:just4look;yahoo.com]
Sent: Thursday, October 17, 2002 1:52 PM
To: Struts Users Mailing List
Subject:
--- Antoni Reus [EMAIL PROTECTED] wrote: Hi,
A Dijous 17 Octubre 2002 19:31, Xue-Feng Yang va
escriure:
--- Craig R. McClanahan [EMAIL PROTECTED]
wrote:
On Thu, 17 Oct 2002, Xue-Feng Yang wrote:
Date: Thu, 17 Oct 2002 13:19:48 -0400 (EDT)
From: Xue-Feng Yang [EMAIL
... snip ...
And I just point out someone's answer is not a correct
answer. That's it.
Yes, but it's polite to provide the correct answer if you want to solve a problem and
not dump all over the person who's answer you didn't like.
This is doubly true when debating with Craig The Father of
On Thu, 17 Oct 2002, Xue-Feng Yang wrote:
You didn't read the question correctly. The question
is:
Does STRUTS support sending serialized VO objects (as
against HTML or XML text strings) back and forth
between client app and server.
And you didn't understand the answer correctly :-).
Yes, you can find such reference from ServerSide.
There is a research report on this, which I forgot the
link. The reason is that JBoss uses too much
java.lang.reflect and some other thing.
--- David Graham [EMAIL PROTECTED] wrote:
JBoss too slow? I've never heard that before. If
you don't
--- Craig R. McClanahan [EMAIL PROTECTED]
wrote:
On Thu, 17 Oct 2002, Xue-Feng Yang wrote:
Date: Thu, 17 Oct 2002 13:19:48 -0400 (EDT)
From: Xue-Feng Yang [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List
[EMAIL PROTECTED]
To: Struts Users Mailing List
[EMAIL PROTECTED]
Thanks for the suggestions.
The architecture of my project is different from
standard B2B and B2C although they are part of it.
I will choose Struts/Soap/EJB to deal with XML, but
implement other parts from ground to Struts.
I would like to know if there are good code generators
for
I'm telling you, we could build a bridge between Axis and Struts and
accomplish this:
- Axis provides a SOAP-based interface to client applications.
- Axis itself runs as a webapp accepting HTTP requests
- We could define an XML-format that clients could send to the Web Service
that
Let me copy your answer here with #, and tell me where
is your correct answer.
And you didn't understand the answer correctly :-).
# There are at least two different ways to accomplish
# this:
#* Have your Action write the XML output directly to
#the response,
# and then return null
You're right, it will work. In a previous job, I worked on a project which
had a Visual Basic (!) client talking to some EJBs via servlets which
returned XML responses. That project wasn't using JSP, simply because
servlets were more convenient in that case, but there's no reason why it
couldn't
What you're describing - a swing application communicating via http to a
server-based application - is really better resolved by using a Web Service
(or potentially XML-RPC if your requriements for delivery are loose
enough). I'd recommend you take a look at Apache Axis.
Practically speaking no - as Struts is very much web oriented and reliant on
a lot of the servlet container functionality (ie: requests and responses,
etc...).
-Original Message-
From: Xue-Feng Yang [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 17, 2002 11:48
To: Struts Users
The Swing app I mentioned talks to servlets via
HTTP/HTTPS.
--- Andrew Hill [EMAIL PROTECTED]
wrote: Practically speaking no - as Struts is very
much web
oriented and reliant on
a lot of the servlet container functionality (ie:
requests and responses,
etc...).
-Original
Ah well in that case yes, I dont see why not.
Didnt think of that scenario!
What sort of response would you be returning to this swing client? xml?
-Original Message-
From: Xue-Feng Yang [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 17, 2002 11:57
To: Struts Users Mailing List;
That doesn't matter. Struts has to run inside a servlet container. Struts
is a web only framework and Swing has plenty of components for building a
view.
David
From: Xue-Feng Yang [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL
The response could be a String, an XML, a HTML or a
HexString.
I am wondering if I can make a JSP without HTML tags.
If this is the case, then the thing can be done. So
far, I use servlet to do this. It would be nice if I
can built on Struts.
--- Andrew Hill [EMAIL PROTECTED]
wrote:
Ah well
I think you're trying to force technologies into areas they weren't designed
for. What would the JSP do if it didn't have HTML in it? JSP's main job is
displaying dynamic html. Swing for client apps, Struts for webapps.
David
From: Xue-Feng Yang [EMAIL PROTECTED]
Reply-To: Struts
Looks to me like what he plans on doing is instead of connecting to the web
app using a broswer, one would use his swing application. In the web app
would be a struts app as normal that would interpret the request parameters
as normal etc... except that for his response instead of rendering html
JSP is interpreted into a servlet in a servlet
container such as Tomcat. So JSP should work on this.
Servlet is not only designed for HTML browser, so is
JSP.
I will try it and believe this should work!
--- David Graham [EMAIL PROTECTED] wrote: I
think you're trying to force technologies into
51 matches
Mail list logo