Return-Path: X-Original-To: apmail-cayenne-commits-archive@www.apache.org Delivered-To: apmail-cayenne-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7167217FBF for ; Mon, 29 Sep 2014 19:45:36 +0000 (UTC) Received: (qmail 84241 invoked by uid 500); 29 Sep 2014 19:45:36 -0000 Delivered-To: apmail-cayenne-commits-archive@cayenne.apache.org Received: (qmail 84224 invoked by uid 500); 29 Sep 2014 19:45:36 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 84215 invoked by uid 99); 29 Sep 2014 19:45:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 19:45:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Sep 2014 19:45:09 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 316642388999 for ; Mon, 29 Sep 2014 19:45:07 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r924082 - in /websites/staging/cayenne/trunk/content: ./ docs/3.1/tutorial-rop/ Date: Mon, 29 Sep 2014 19:45:06 -0000 To: commits@cayenne.apache.org From: buildbot@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140929194507.316642388999@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: buildbot Date: Mon Sep 29 19:45:06 2014 New Revision: 924082 Log: Staging update by buildbot for cayenne Modified: websites/staging/cayenne/trunk/content/ (props changed) websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch01.html websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch02.html websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch03.html websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch04.html websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch05.html websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/getting-started-rop-part1.html websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/getting-started-rop-part2.html websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/index.html Propchange: websites/staging/cayenne/trunk/content/ ------------------------------------------------------------------------------ --- cms:source-revision (original) +++ cms:source-revision Mon Sep 29 19:45:06 2014 @@ -1 +1 @@ -1628275 +1628276 Modified: websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch01.html ============================================================================== --- websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch01.html (original) +++ websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch01.html Mon Sep 29 19:45:06 2014 @@ -9,7 +9,7 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); -

Chapter 1. Prerequisites

This tutorial starts where "Getting Started with Cayenne" left +

Chapter 1. Prerequisites

This tutorial starts where "Getting Started with Cayenne" left off. If you have gone through the previous tutorial, and have the "tutorial" project open in Eclipse, you can go directly to the next step. If not, here are the compressed instructions to prepare you for work Modified: websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch02.html ============================================================================== --- websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch02.html (original) +++ websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch02.html Mon Sep 29 19:45:06 2014 @@ -9,7 +9,7 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); -

Chapter 2. Starting Client Project

Create an ROP Client Project in Eclipse

Creation of a new Eclipse project has been discussed in some details in "Getting +

Chapter 2. Starting Client Project

Create an ROP Client Project in Eclipse

Creation of a new Eclipse project has been discussed in some details in "Getting Started with Cayenne" guide, so we will omit the screenshots for the common parts.

In Eclipse select "File > New > Other..." and then "Maven > Maven Project". Click "Next". On the following screen check "Create a simple project" checkbox and click Modified: websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch03.html ============================================================================== --- websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch03.html (original) +++ websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch03.html Mon Sep 29 19:45:06 2014 @@ -9,7 +9,7 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); -

Chapter 3. Setting up Hessian Web Service

Setting up Dependencies

Now lets get back to the "tutorial" project that contains a web application and set up +

Chapter 3. Setting up Hessian Web Service

Setting up Dependencies

Now lets get back to the "tutorial" project that contains a web application and set up dependencies. The only extra one that we don't have yet is resin-hessian.jar, just like the client, so let's add it (and the caucho repo declaration) to the pom.xml.

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

Modified: websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch04.html
==============================================================================
--- websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch04.html (original)
+++ websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch04.html Mon Sep 29 19:45:06 2014
@@ -9,7 +9,7 @@
     ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
     var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
   })();
-        

Chapter 4. Porting Existing Code to Connect to a Web Ser vice Instead of a Database

Starting Command Line Client

One of the benefits of ROP is that the client code is no different from the server +

Chapter 4. Porting Existing Code to Connect to a Web Servic e Instead of a Database

Starting Command Line Client

One of the benefits of ROP is that the client code is no different from the server code - it uses the same ObjectContext interface for access, same query and commit API. So the code below will be similar to the code presented in the first Cayenne Getting Started Guide, although with a few ROP-specific parts required to bootstrap the Modified: websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch05.html ============================================================================== --- websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch05.html (original) +++ websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/ch05.html Mon Sep 29 19:45:06 2014 @@ -9,7 +9,7 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); -

Chapter 5. Adding BASIC Authentication

You probably don't want everybody in the world to connect to your service and access (and +

Chapter 5. Adding BASIC Authentication

You probably don't want everybody in the world to connect to your service and access (and update!) arbitrary data in the database. The first step in securing Cayenne service is implementing client authentication. The easiest way to do it is to delegate the authentication task to the web container that is running the service. HessianConnection used Modified: websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/getting-started-rop-part1.html ============================================================================== --- websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/getting-started-rop-part1.html (original) +++ websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/getting-started-rop-part1.html Mon Sep 29 19:45:06 2014 @@ -9,4 +9,4 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); -

Part I. Prerequisites

Table of Contents

1. Prerequisites
\ No newline at end of file +

Part I. Prerequisites

Table of Contents

1. Prerequisites
\ No newline at end of file Modified: websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/getting-started-rop-part2.html ============================================================================== --- websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/getting-started-rop-part2.html (original) +++ websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/getting-started-rop-part2.html Mon Sep 29 19:45:06 2014 @@ -9,4 +9,4 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); - \ No newline at end of file + \ No newline at end of file Modified: websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/index.html ============================================================================== --- websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/index.html (original) +++ websites/staging/cayenne/trunk/content/docs/3.1/tutorial-rop/index.html Mon Sep 29 19:45:06 2014 @@ -9,7 +9,7 @@ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); -

Getting Started with Cayenne ROP (Remote Object Persistence)

< p class="legalnotice-title">License

Licensed to the Apache Software Foundation (ASF) under one or more contributor +

Getting Started with Cayenne ROP (Remote Object Persistence)

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in