Upayavira
What you say makes sense... I guess I will have to
figure out the mysteries of xdoc and patches and
CVS now - unless there is a simple guide to this
on the Wiki ? ;-)
BUT I still think there is a case for people who spot
mistakes and want to see things changed but are too
busy to go
Yes; this confused me too - are there now:
DAO - used to read data from DB
DTO - to transfer data to app
BO - to store/manipulate data for a particular thing
and how do any/all these interrelate with each and
the Forms framework...
If someone can post a reasonably clear explanation of
all this,
Hi Derek,
...BUT I still think there is a case for people who spot
mistakes and want to see things changed but are too
busy to go the route above...
bugzilla (http://nagoya.apache.org/bugzilla/index.html) is your friend
in this case: if you spot a (code or documentation) mistake that you
cannot
You should take a look at the J2EE patterns either at Sun's website or in
the book. ValueObjects were renamed TransferObjects in the latest revision.
I seem to recall that my copy of the Patterns book has them named
DataTransferObjects, but I could be wrong - I don't have it handy.
Generally,
Le 7 mai 04, à 08:18, Derek Hohls a écrit :
Yes; this confused me too - are there now:
DAO - used to read data from DB
DTO - to transfer data to app
BO - to store/manipulate data for a particular thing
and how do any/all these interrelate with each and
the Forms framework...
IMHO you shouldn't
Le 7 mai 04, à 08:23, Derek Hohls a écrit :
...In the meantime, a tiny question - is it likely
that for most apps; a POB (plain old bean)
would the most common object that I would
need to be able to understand and know how
to build in order to do the other wonderful
things with Hibernate,
This link has a great picture of where the objects fit in a J2EE
application.
http://java.sun.com/blueprints/corej2eepatterns/Patterns/index.html
-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 06, 2004 11:18 PM
To: [EMAIL PROTECTED]
Subject: RE:
Hello Everybody
I am having problems with integrating my application using Cocoon 2.1.2 and MySQL
3.23.58. I read a lot of questionaries realted to this topic
but could not find anything reletaing to the problem I am having . lets start with
the environment in which I am working.
System
Derek Hohls wrote:
What you say makes sense... I guess I will have to
figure out the mysteries of xdoc and patches and
CVS now - unless there is a simple guide to this
on the Wiki ? ;-)
See various HowTo docs, especially:
http://cocoon.apache.org/community/contrib.html#cvshowto
Joerg Heinicke wrote:
On 04.05.2004 13:07, Nils Köster wrote:
I'm trying to send mail via the sendmail action with html-body and
pdf-attachment, my sitemap looks like this:
map:act type=sendmail
map:parameter name=smtphost value=some.smtp.de/
map:parameter name=from value=[EMAIL
Antonio
Thanks, this is great - maybe we can open a Wiki
page and add this as an attachement (maybe refine
it to make a little more generic; or have a general
version and then variants for more speciifc cases).
2 questions -
a. I assume Hibernate can be used in place
of JDO (and is it any
Hi Christian,
Thanks for your answer.
The lack of the Body-part wasn't the real problem. The problem ist, that it
throws an exception as soon as i have an attachment and a html-mail. As far
as I know the body-part is only used, when theres no src etc.
Regards,
Nils
-Ursprüngliche
After our trip to Vienna to meet the cocoon interested people there we plan
to make a Stammtisch in Jena on June 14th or 28th. If you want to meet
people interested in cocoon and have some fun please add your name in the
list on
http://wiki.cocoondev.org/Wiki.jsp?page=CocoonUserGroupThuringia
Thanks, I have added a link to this from the
MVC page on the Wiki...
Derek
[EMAIL PROTECTED] 2004/05/07 09:01:59 AM
Derek Hohls dijo:
Yes; this confused me too - are there now:
DAO - used to read data from DB
DTO - to transfer data to app
BO - to store/manipulate data for a particular
Hi Anand,
As Derek mentioned, it is unusual to want to write the XML
to a file before processing it. If you really want to do this,
you can use the SourceWritingTransformer (we have used this
successfully). But if you just want to see the XML for the sake
of debugging or knowing what's coming down
Derek Hohls dijo:
Antonio
Thanks, this is great - maybe we can open a Wiki
page and add this as an attachement (maybe refine
it to make a little more generic; or have a general
version and then variants for more speciifc cases).
2 questions -
a. I assume Hibernate can be used in place
Aren't there any other Munich Cocoon users out there? I added a Wiki
link in January, but no one else seems to have added their name.
http://wiki.cocoondev.org/Wiki.jsp?page=CocoonUserGroupMunich
John
Meyer, Christian wrote:
After our trip to Vienna to meet the cocoon interested people
Thanks - I assume that if one is NOT working
in a J2EE application, that the principles and
approaches will be the same ie. is there more
info that discusses how to move from an
ordinary set of Java objects to a full-blown J2EE
approach?
Derek
[EMAIL PROTECTED] 2004/05/07 08:37:38 AM
This link
oops missed that one :)
John L. Webber wrote:
Aren't there any other Munich Cocoon users out there? I added a Wiki
link in January, but no one else seems to have added their name.
http://wiki.cocoondev.org/Wiki.jsp?page=CocoonUserGroupMunich
John
Meyer, Christian wrote:
After our trip to
Hello,
Couldn't find an answer to this on the wiki or by Googling: how does the
Flow time-to-live parameter work? Is it reset every time there's a click
during a continuation, or does a time-to-live of 30 minutes mean that a
continuation expires automatically after 30 minutes, regardless of
Perhaps mixing was the wrong word - I do understand
what are trying to achieve- all I was trying to say is that you
can use the sitemap to pass information on the currently
logged-in user to the database.
How would I achieve that ? With database actions ?
As sitemap parameters, would be one way.
Derek Hohls wrote:
Thanks - I assume that if one is NOT working
in a J2EE application, that the principles and
approaches will be the same ie. is there more
info that discusses how to move from an
ordinary set of Java objects to a full-blown J2EE
approach?
It's quite difficult to say what
Bertrand Delacretaz wrote:
Of course, in a complex java app it would be good to have a clean
structure using these concepts, but if you're trying to understand the
relationship between Forms and java code, you should not worry about them.
To Derek: I couldn't come up with a better explanation
Hi,
could someone please help? I built the authentication along the lines of the
various examples, but using flow scripts instead of actions. All this works
well and a authentication section is added to the session context. I
retrieve this with session:getxml context=authentication path=// and a
Hi Lars,
I bumped into the same problem too, but, I found out that it was not
Cocoon who was caching.
My client had a Mickeysoft Isa Server as proxy and even with the meta
tags like pragma no cache, Isa kept caching the URL.
I found out that it was based on the URL, so when I gave another URL
Oops, noticed an error in the subject. Hope this makes it clearer.
Bye, Helma
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Friday, 07 May 2004 11:04
To: [EMAIL PROTECTED]
Subject: HELP! using authentication from session context!
Hi,
could
I just found an interesting quote from a paper on JDO:
http://www.jdocentral.com/pdf/eigner_jdo.pdf
With the availability of JDO, it makes you wonder when
and if you would ever need an EJB container at all within your
application architecture if you use it only as a front-end
to your
AFAIK, the authentication context is only available inside the action
protecting a page - which means that all pages must be explicitly
protected. You can protect multiple pages within a single protection
action, and there is an example in the docs
Derek Hohls wrote:
I just found an interesting quote from a paper on JDO:
http://www.jdocentral.com/pdf/eigner_jdo.pdf
With the availability of JDO, it makes you wonder when
and if you would ever need an EJB container at all within your
application architecture if you use it only as a
Ugo
I thought I understood this, but now
is not the point made by this article that one can
have business logic coded in the classes persisted by JDO...
to encapsulate the model of the application
- why do we need DAOs and Service Objects as well ?? does
this not just add complexity for
Hi,
I've got it working like that in a subsitemap (my app consists of one
subsitemap under the default root sitemap). Maybe you're right. The problem
with the result of the search page was solved once I added the public url,
rather than the internal. The about page is outside of the protected
Derek Hohls dijo:
Antonio
1. What books are good?
Hehe.
As I told you before I am not a guru here :-D.
I just bought 1 book of JDO:
Core Java Data Objects:
http://www.amazon.com/exec/obidos/tg/detail/-/0131407317/
It was enought to me. But there are other books:
Hi,
I'd like to know how to create an error report from a pipeline.
This pipeline should make several tasks that send information (errors, etc
...) that I want to dispaly to the users.
Then, when the users accept th report, I'd like to obtain the flow that I
have manipulated.
What is the best
Antonio,
People who say Cocoon is just a web publishing framework are nuts. We use
very little flowscript and find it to be a very powerful presentation
framework. I saw a comparison of various frameworks a while ago and Cocoon
easily came out on top except that it had no built in support for
Hello there.
I'm a new cocoon user, so please bear with my ignorance ;)
Here is my problem :
Say I have page which contains a main form. This form contains not only
traditionnal form elements, but also some data displayed as lists which
is gathered form a database.
To add/remove items from
Hi,
I followed parts of the discussion about where to locate business logic, or
more generally speaking, how to apply MVC in Cocoon. I am quite new to
cocoon and i don't want to step on anyones toes, but i think that the C
capabilities in Cocoon are not satisfying. I do think that the V parts in
Does that mean, that a xml-file is only allowed to be less than 65k in file
size (s. below)?
Regards,
Nils
org.apache.cocoon.ProcessingException: Language Exception:
org.apache.cocoon.components.language.LanguageException: Error compiling
projects_xml: ERROR 1
AAARGH that was it! Thanks for pointing to it, I must have overlooked about
a dozen times. :-(
Bye, Helma
-Original Message-
From: John Spackman [mailto:[EMAIL PROTECTED]
Sent: Friday, 07 May 2004 12:04
To: [EMAIL PROTECTED]
Subject: RE: HELP! LOSING authentication from session
Hi,
I come back on the problem i post weeks ago: i still not manage to
include the javascript from Woody(sorry now passed to CForms!)to the
head of my portal pages.
I understand i should include javascripts in th header of my pages in
portal-page.xsl to have Cforms working fully. But as the
Hi all,
I'm trying this in a pipeline :
map:call resource=display_modif_carryout
map:parameter name=message value=coucou/
/map:call
I have an xsl stylesheet in the resource to get the parameter but it is empty.
Why that ?
Lionel
Lionel CRINE
Ingénieur Systèmes
Derek Hohls wrote:
Here is another thought (not mine - 'scuse the blunt language!)
on DAO design pattern isn't from the thread:
http://www.theserverside.com/news/thread.tss?thread_id=25695#120732
snip/
Well, in my book it's OK to put business logic in your persistent beans.
It's not OK to put
Hildebrandt, Ole wrote:
So i was searching the documentation and also posting in the list to find a
useful solution for having a most flexible controller in cocoon. Regarding
to the documentation and some postings in the list the best approach would
be to use Flowscript as controller. But this
Nils wrote:
Does that mean, that a xml-file is only allowed to be less than 65k in file
size (s. below)?
No, this means that the bytecode for a compiled method cannot exceed 64k
bytes. If you're having this problem with an XSP doc, you might try to
factor out some tags into helper methods, but
Hello Everybody
I am having problems with integrating my application using Cocoon 2.1.2 and MySQL
3.23.58. I read a lot of questionaries realted to this topic
but could not find anything reletaing to the problem I am having . lets start with
the environment in which I am working.
System
Hi Derek
Have you seen this implementation of JDO
http://tjdo.sourceforge.net/index.html
TriActive JDO (TJDO)
it's Apache License
Klaus
Derek Hohls wrote:
I just found an interesting quote from a paper on JDO:
http://www.jdocentral.com/pdf/eigner_jdo.pdf
With the availability of JDO, it makes
Hi,
I want to zip the entire directory contents and if there are
subdirectories then their contents also using Zip Archive Serializer.
?xml version=1.0 encoding=iso-8859-1?
zip-archive:archive
xmlns:zip-archive=http://apache.org/cocoon/zip-archive/1.0;
zip-archive:entry name= src=
In the above code do I have to tediously mention all the files in the
directory and the subdirectories(this would
again contain so many files) for zipping the contents of the docs
directory?
have you looked at using the directorygenerator for this?
Cheers
Anand
Jorg
Hi,
I'm using the authentication-fw with flowscripts (as in the sample). But I
have a problem now: I want to pass on viewData/bizData to the resulting
page. If this page is in an internal pipeline (i.e. user is logged in), I
get an error on missing authentication context. If the resulting page is
Hi People
I have a requirement to automount sub sitemaps but don't want sub sites!
To explain a little I have a single application that is growing very
large day by day and the sitemap has been divided into multiple
sub-sitemaps currently using the map:mount approach as follows:-
!-- map
Hello Geoff,
When you say runs of cocoon, what do you mean by that???
Actually what I interpret is Cocoon is not running as a service, nor am I deplying the
cocoon war file in the servlet engine, which in my case would ne Tomcat, so how do I
find out where and how is cocoon running on my
50 matches
Mail list logo