473,387 Members | 1,520 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Does this make sense?

Hello,

I am trying to find an old post I had but here goes another :-)

I am trying to make an application that will work under WML and from
the regular computer.
From what I have read, one can do the following:


1. The user sees a .wml or a .html file on the client side

2. In the .wml file or the .html file is a point to a .jsp file (for
example, process.jsp) so that process.jsp will do all of the work.

3. process.jsp will have a java bean associated with it so that the
"set" properties are activated within the bean (ex: setFirstName,
setLastName, etc.)

4. Hopefully, the items that are retrieved are kept in the session of
the user.

5. Processing is done by the JSP to create an XML.

6. The XML is ran through the XSLT so that it will create the
appropriate file for the appropriate client (Browser, PDF, WAP, etc.)

And the process is repeated over and over for the processing of the
application.

Does this line of thinking make sense?

JSP - creates -> XML - ran through -> XSLT - Producing -> HTML or WML,
etc.
I am new to this area and am trying to understand how all of this can
be accomplished. I have some beans that I want to use too.
Any help, hints or advice would be appreciated :-)

TIA

Jul 20 '05 #1
2 1630
On 2 Dec 2004 04:33:40 -0800, milkyway wrote:
I am trying to find an old post I had but here goes another :-)


ditto my other post to you..
<http://groups-beta.google.com/gr******************************************@40tud e.net>

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.LensEscapes.com/ Images that escape the mundane
Jul 20 '05 #2

milkyway wrote:
Hello,

I am trying to find an old post I had but here goes another :-)

I am trying to make an application that will work under WML and from
the regular computer.
From what I have read, one can do the following:
1. The user sees a .wml or a .html file on the client side

2. In the .wml file or the .html file is a point to a .jsp file (for
example, process.jsp) so that process.jsp will do all of the work.

3. process.jsp will have a java bean associated with it so that the
"set" properties are activated within the bean (ex: setFirstName,
setLastName, etc.)

4. Hopefully, the items that are retrieved are kept in the session of
the user.

5. Processing is done by the JSP to create an XML.

6. The XML is ran through the XSLT so that it will create the
appropriate file for the appropriate client (Browser, PDF, WAP, etc.)

And the process is repeated over and over for the processing of the
application.

Does this line of thinking make sense?

JSP - creates -> XML - ran through -> XSLT - Producing -> HTML or

WML, etc.
I am new to this area and am trying to understand how all of this can
be accomplished. I have some beans that I want to use too.
Any help, hints or advice would be appreciated :-)

TIA

I just stumbled across your post. You can easily achieve your goals
using Apache Cocoon to:

1. accept an http request
2. route it to the appropriate process (jsp or whatever)
3. translate the results to html, wml, pdf, xml (or whatever)
4. return the results to the client
Lots of other optional features, too.

Best,
Harry

Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

37
by: Curt | last post by:
If this is the complete program (ie, the address of the const is never taken, only its value used) is it likely the compiler will allocate ram for constantA or constantB? Or simply substitute the...
3
by: Jukka K. Korpela | last post by:
I have noticed that the meaning of visibility: collapse has been discussed on different forums, but with no consensus on what it really means. Besides, implementations differ. The specification...
0
by: mike | last post by:
regards: Does the following programming architecture make sense? http://www.wretch.cc/album/show.php?i=otp&b=1&f=1111993473&p=2 ...
10
by: DataBard007 | last post by:
Hello Access Gurus: I use Win98SE and Access97. I just built a simple Access97 application which holds all contact information for my personal contacts, such as first name, last name, address,...
1
by: mikeotp | last post by:
Does the statement make sense? Meaning of “program” is to setup *.h(header檔) and to edit a main file to be a program exit. The main file includes all of the“*.h” files I edited before....
3
by: **Developer** | last post by:
I have a usercontrol that contains two pictureboxes One is on top of the other. The bottom one is the parent of the top one. The top one is transparent. I invalidate the top one often
3
by: electrician | last post by:
Yes, no GOTO. This is a major blunder on part of the creators of these tools. GOTO gives the programmer the absolute control over the program. Yes, no matter what, a GOTO sends the program to...
33
by: dragoncoder | last post by:
Hi all, Does the following code invoke undefined behaviour ? $ cat a1.cc #include <iostream> #include <limits> int main() { int a = INT_MAX/2;
48
by: Jimmy | last post by:
thanks to everyone that helped, unfortunately the code samples people gave me don't work. here is what i have so far: <% Dim oConn, oRS, randNum Randomize() randNum = (CInt(1000 * Rnd) + 1) *...
2
by: puzzlecracker | last post by:
I have never seen this in practice and interested in its pros, or ever existential (another words, standardized) possibility? Thanks, Sasha
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.