<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
p
{margin-right:0cm;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman";}
span.StileMessaggioDiPostaElettronica18
{font-family:Arial;
color:navy;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 2.0cm 2.0cm 2.0cm;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=IT link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Thanx Arash for your suggestions,</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>our aim is to use opencms
just only as content management and display contents in jetspeed2, so we need
contents at runtime and to make an export perhaps is not a solution that could
fit to our needs.</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>By the way what do you
mean with webservices? Are you suggesting us to write a class implementing the
query to the db, integrate it in opencms, and then make a webservice with it? It
sounds to me a jolly good idea…</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Ciao</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'>Livia</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Messaggio originale-----<br>
<b><span style='font-weight:bold'>Da:</span></b>
opencms-dev-bounces@opencms.org [mailto:opencms-dev-bounces@opencms.org] <b><span
style='font-weight:bold'>Per conto di </span></b>arash.kaffamanesh@cmsforeveryone.com<br>
<b><span style='font-weight:bold'>Inviato:</span></b> venerd́ 12 maggio 2006
10.47<br>
<b><span style='font-weight:bold'>A:</span></b> opencms-dev@opencms.org<br>
<b><span style='font-weight:bold'>Oggetto:</span></b> AW: [opencms-dev] opencms
and web application</span></font></p>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<table class=MsoNormalTable border=0 cellpadding=0 width=649 style='width:486.4pt;
margin-left:35.4pt'>
<tr>
<td colspan=2 style='padding:.75pt .75pt .75pt .75pt'>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>Hi
Livia,</span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>you can
also export the content and the structure of your content-tree (navigation)
statically (as XML or HTML) to the filesystem and include the contents into
your app.</span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>>>
- Is it possible to run opencms API outside opencms context?</span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>it is possible.
-> over webservices.</span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>-
if not, the only solution is to query opencms database directly, isn' it?</span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>no,
the static export is fine for our portal integration projects.</span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Kind
Regards, Arash</span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>What
kind of external app do you have?</span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
<p><font size=3 face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</td>
</tr>
<tr>
<td width=13 bgcolor=blue style='width:9.55pt;background:blue;padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'> </span></font></p>
</td>
<td style='padding:.75pt .75pt .75pt .75pt'>
<div>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>We
need to access the contents managed by opencms 6.2, from an external web
application deployed on the same web server (tomcat) </span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>but
this application can't be internal to opencms (as suggested somewhere).</span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>So,
these are my questions:</span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>-
Is it possible to run opencms API outside opencms context?</span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>-
if not, the only solution is to query opencms database directly, isn' it?</span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Thanks</span></font></p>
<p><font size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'>Livia</span></font></p>
</div>
</td>
</tr>
</table>
<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'> </span></font></p>
</div>
</body>
</html>