1 |
* Jörg Schaible <joerg.schaible@×××.de> [2004-01-08 23:23:55 +0100]: |
2 |
|
3 |
> Just to clarify, what "usually means": You can provide a web application |
4 |
> either as war file or as a complete directory tree. The war file just |
5 |
> contains this tree for (installation) convenience, but may have to be |
6 |
> extracted to adjust configuration files. |
7 |
|
8 |
Good point. |
9 |
|
10 |
> Well, coming to frameworks like Cocoon the things get even more compilcated. |
11 |
> Cocoon itself is a framework i.e. you either include it into your own web |
12 |
> application or you adjust the Cocoon web application to your own needs for |
13 |
> your application. The delivered Cocoon web application is basically just a |
14 |
> demonstration, but not of much use as a real world app. This implies, that |
15 |
> it is normally not really useful for normal users (i.e. not a developer) to |
16 |
> install Cocoon at all in a servelt engine IMHO. Either it is included in |
17 |
> another web application or it is used to build other (web) applications |
18 |
> which implies no need for an installation in a servlet engine also. |
19 |
|
20 |
I'm not quite sure what you mean here. My cocoon installation _is_ deployed |
21 |
as an unpacked war file. I've modified it's sitemap and a config file and |
22 |
using cocoon to pipeline several XSL transformations. |
23 |
|
24 |
So personally, I have the need to get cocoon installed into my favorite |
25 |
servlet engine, preferably unpacked. But of course, I can do this myself, |
26 |
providing I have a sensible place to find it (not in tomcat's webapps |
27 |
directory). |
28 |
|
29 |
Since a tool for installing "normal" web applications is being developed, it |
30 |
would be nice if it was also able to install war files. As far as I |
31 |
understand, this tool is not part of the normal emerge-process, but must |
32 |
be executed manually (or perhaps using ebuild <package> config?). |
33 |
|
34 |
> Additionally a developer might have the need to have multiple versions of |
35 |
> Cocoon, since he could develop multiple applications using it or |
36 |
> maintaining different versions of his application using different Cocoon |
37 |
> versions also (and probably supporting diferent servlet engines). Both |
38 |
> scenarios do not fit very well into the current portage characteristics. |
39 |
|
40 |
Part of it does. What you are saying is that portage must be able to |
41 |
"hold" several versions of cocoon, while there must be a way to install |
42 |
serveral instances of all versions. I think the ebuilds should handle the |
43 |
first part (by installing into /usr/share/webapps or something), while |
44 |
a web app installation tool could handle the latter part. |
45 |
|
46 |
> But there is more. Same situation applies for Enterprise Applications (EAR |
47 |
> files), that should be running in any conforming J2EE server (jBoss, |
48 |
> Enhydra, Jonas, Sun J2ee SDK, WebLogic, ...). Robert, don't get confused: a |
49 |
> servlet engine is part of the J2EE spec. |
50 |
|
51 |
Hehe... poor Robert. I think EARs could be handled pretty much the same |
52 |
way as WARs though. |
53 |
|
54 |
> While I think we should solve the basic problem installing real world web or |
55 |
> enterprise applications, but Cocoon and other frameworks/toolkits should |
56 |
> not be handled in the same way. |
57 |
|
58 |
Cocoon is indeed a poor example, since it is both a framework and a demo |
59 |
web application. I used it as an example because this was the app originally |
60 |
mentioned, and the only servlet I know of in portage. |
61 |
|
62 |
|
63 |
|
64 |
Eivind |
65 |
|
66 |
-- |
67 |
Eivind Tagseth, |
68 |
E-post jobb: eivind.tagseth@×××××××××.no, e-post priv: eivindt@××××××××.no |
69 |
Mobil: +47 922 43 742 |
70 |
|
71 |
-- |
72 |
gentoo-dev@g.o mailing list |