Ez Publish and J2ee working together.

Author Message

tho gau

Tuesday 10 April 2007 2:02:28 am

Hi,

My current customer is using eZ Publish as an ECM and has a bunch of existing j2ee webapps that he would like to integrate. Is it somehow possible to have servlet applications getting security and profile data from eZ? Any pointers available on how to have those 2 technologies running smoothly together?
All kinds of advices and tips are welcome since I am en Ez newbie.

-Thomas

Björn Dieding@xrow.de

Tuesday 10 April 2007 3:36:06 am

Hi,

concerning the j2ee webapps. We have done similar things before by using a php proxy to display the apps outout in eZpublish.

Concerning the AUTH it is up to you how to integrate this. Maybe with a session id lookup in the eZ db. There are many ways in doing this.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Paul Borgermans

Tuesday 10 April 2007 11:02:58 am

Indeed

You can use the php java bridge (which acts as a kind of proxy):

http://php-java-bridge.sourceforge.net/pjb/

You can call PHP from Java and vice versa

hth
Paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

kracker (the)

Wednesday 11 April 2007 5:43:47 am

Stub entry created on eZpedia on this subject. Please feel free to expand this entry.
<i>http://ezpedia.org/wiki/en/ez/java</i>

<i>//kracker

Hard-Fi - Stars of Cctv ...</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 03:28:18
Script start
Timing: Jan 19 2025 03:28:18
Module start 'layout'
Timing: Jan 19 2025 03:28:18
Module start 'content'
Timing: Jan 19 2025 03:28:19
Module end 'content'
Timing: Jan 19 2025 03:28:19
Script end

Main resources:

Total runtime1.1772 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.2734152.6406
Module start 'layout' 0.00610.0038 741.914139.4766
Module start 'content' 0.00981.1657 781.3906635.1563
Module end 'content' 1.17560.0016 1,416.546912.1406
Script end 1.1772  1,428.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.2737160.0002
Check MTime0.00140.1157160.0001
Mysql Total
Database connection0.00070.062910.0007
Mysqli_queries1.119795.1142640.0175
Looping result0.00070.0554620.0000
Template Total1.142097.020.5710
Template load0.00210.182020.0011
Template processing1.139896.821920.5699
Template load and register function0.00020.020610.0002
states
state_id_array0.00110.091710.0011
state_identifier_array0.00150.131220.0008
Override
Cache load0.00180.1501260.0001
Sytem overhead
Fetch class attribute can translate value0.00060.052940.0002
Fetch class attribute name0.00100.081770.0001
XML
Image XML parsing0.00200.169140.0005
class_abstraction
Instantiating content class attribute0.00000.001370.0000
General
dbfile0.00200.1709310.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs