Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 71847 invoked from network); 2 Nov 2006 13:41:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Nov 2006 13:41:45 -0000 Received: (qmail 83394 invoked by uid 500); 2 Nov 2006 13:41:54 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 83351 invoked by uid 500); 2 Nov 2006 13:41:54 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 83340 invoked by uid 99); 2 Nov 2006 13:41:54 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 05:41:54 -0800 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of hcunico@gmail.com designates 64.233.182.187 as permitted sender) Received: from [64.233.182.187] (HELO nf-out-0910.google.com) (64.233.182.187) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Nov 2006 05:41:37 -0800 Received: by nf-out-0910.google.com with SMTP id p77so1012524nfc for ; Thu, 02 Nov 2006 05:41:16 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=kTI5Z0ypW7LchMEf6QjVbclgAbmiDWdSYDn3a/uuHWsmzpk/WC1GOU/PAXf11aXZan831ai+Nt+Yj5tIHPwfp4OFmgMcXpeqrkRq31GhsaagK6G6Bz4vFTDyt7ofKe/qlvuMBr06Y/iwko2QC8poQQ2CYH5ZBXNIvV4IqsCIW9I= Received: by 10.82.190.2 with SMTP id n2mr101440buf.1162474875509; Thu, 02 Nov 2006 05:41:15 -0800 (PST) Received: from ?9.27.41.96? ( [129.33.49.251]) by mx.google.com with ESMTP id 44sm2416968wri.2006.11.02.05.41.14; Thu, 02 Nov 2006 05:41:15 -0800 (PST) Message-ID: <4549F57A.90600@gmail.com> Date: Thu, 02 Nov 2006 08:41:14 -0500 From: Hernan Cunico User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: important: License issues in Geronimo 1.0 Samples References: <4549CCE7.9020300@opensource.lk> <4549F2C6.7000901@opensource.lk> In-Reply-To: <4549F2C6.7000901@opensource.lk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Lasantha, I'm reviewing it now. I worked on this article and at that time did not pay attention to this license issue. In fact, the earlier releases of these sample had no license at all. There are about 3 samples in the same situation, I would encourage you to continue with the other samples until I found an appropriate solution to this issue. The other samples have no license headers so we should add some and also clean some of the original comments in the src code that were more for our own tracking purposes. Thanks a lot for helping out updating these samples. Cheers! Hernan Lasantha Ranaweera wrote: > Sorry to send it again. This is an important issue. Have a look at the > attached file. I have stuck here whether to reuse this sample or not. :-\ > > Lasantha Ranaweera wrote: >> Hi All, >> >> Past few days I have been upgrading JBoss to Apache Geronimo samples >> from v1.0 of the documentation to v1.1. As part of the upgrade >> procedure, when I was looking at one of the samples I found something >> that grabbed my attention in the existing JBoss to Geronimo sample >> applications. Have a look at "JBoss to Geronimo - Security Migration" >> in following url: >> http://cwiki.apache.org/confluence/display/GMOxDOC10/JBoss+to+Geronimo+-+Security+Migration >> >> Source code of this sample contains some proprietary license. So we >> can't do any editing this sample. Isn't it? >> >> I'm quite new to the open source model, and AFAIK it should come with >> ASF license. Please correct me if I am wrong. >> >> >> Thanks, >> Lasantha Ranaweera >> >> >> > > > ------------------------------------------------------------------------ > > /***************************************************************** > * File: BusinessLogicEJB.java > * > * Date Version Author Changes > * Oct.05,2005 1.1 Ivan Dubrov Created > * > * Copyright (c) 2005, IBM Corporation > * All rights reserved. > *****************************************************************/ > > package com.ibm.j2g.security; > > import java.rmi.RemoteException; > > import javax.ejb.EJBException; > import javax.ejb.SessionBean; > import javax.ejb.SessionContext; > > /** > * Business logic stateless bean. > * > * @ejb.bean name="BusinessLogic" display-name="BusinessLogic bean" > * jndi-name="ejb/BusinessLogic" type="Stateless" view-type="remote" > */ > public class BusinessLogicEJB implements SessionBean { > > /** Serial version uid. */ > private static final long serialVersionUID = 4688250533090120601L; > > /** > * @ejb.interface-method > * @ejb.permission role-name = "uploader" > * > * @return result message > */ > public String upload() { > return "File successfully uploaded"; > } > > /** > * @see javax.ejb.SessionBean#setSessionContext(javax.ejb.SessionContext) > */ > public void setSessionContext(SessionContext ctx) throws EJBException, > RemoteException { > // Nothing... > } > > /** > * Create method. > * > * @ejb.create-method > * @ejb.permission unchecked="true" > * > * @throws EJBException > * @throws RemoteException > */ > public void ejbCreate() throws EJBException, RemoteException { > // Nothing... > } > > /** > * @see javax.ejb.SessionBean#ejbRemove() > */ > public void ejbRemove() throws EJBException, RemoteException { > // Nothing... > } > > /** > * @see javax.ejb.SessionBean#ejbActivate() > */ > public void ejbActivate() throws EJBException, RemoteException { > // Nothing... > > } > > /** > * @see javax.ejb.SessionBean#ejbPassivate() > */ > public void ejbPassivate() throws EJBException, RemoteException { > // Nothing... > } > }