You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Julie Zhuo (JIRA)" <be...@incubator.apache.org> on 2005/05/10 20:03:09 UTC

[jira] Created: (BEEHIVE-651) Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true

Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true
----------------------------------------------------------------------------

         Key: BEEHIVE-651
         URL: http://issues.apache.org/jira/browse/BEEHIVE-651
     Project: Beehive
        Type: Bug
  Components: Documentation  
    Versions: V1    
    Reporter: Julie Zhuo


bash05102005 

Or have its interface/itself implement Serializable. It won't compile that way.

****Here is the copy of the sample code from the tutorial**************

Step 3: Add a Parameterized Method to the Control
To edit the Interface and Implementation Files
Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/HelloImpl.jcs so it appears as follows. Code to add appears in bold.

package pkg;

import org.apache.beehive.controls.api.bean.*;

@ControlImplementation
public class HelloImpl implements Hello
{
    public String hello()
    {
        return "hello!";
    }

    public String helloParam( String name )
    {
        return "Hello, " + name + "!";
    }
}Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/Hello.java so it appears as follows. Code to add appears in bold.

package pkg;

import org.apache.beehive.controls.api.bean.*;

@ControlInterface
public interface Hello
{
    String hello();

    String helloParam( String name );
}Edit the Controller.jpf File


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (BEEHIVE-651) Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true

Posted by "Steve Hanson (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-651?page=comments#action_64933 ]
     
Steve Hanson commented on BEEHIVE-651:
--------------------------------------

Julie:

Can you fill out this bug a bit more?  What problem are you seeing?  Thanks, steveh.

> Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true
> ----------------------------------------------------------------------------
>
>          Key: BEEHIVE-651
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-651
>      Project: Beehive
>         Type: Bug
>   Components: Documentation
>     Versions: V1
>     Reporter: Julie Zhuo
>     Assignee: Steve Hanson

>
> bash05102005 
> Or have its interface/itself implement Serializable. It won't compile that way.
> ****Here is the copy of the sample code from the tutorial**************
> Step 3: Add a Parameterized Method to the Control
> To edit the Interface and Implementation Files
> Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/HelloImpl.jcs so it appears as follows. Code to add appears in bold.
> package pkg;
> import org.apache.beehive.controls.api.bean.*;
> @ControlImplementation
> public class HelloImpl implements Hello
> {
>     public String hello()
>     {
>         return "hello!";
>     }
>     public String helloParam( String name )
>     {
>         return "Hello, " + name + "!";
>     }
> }Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/Hello.java so it appears as follows. Code to add appears in bold.
> package pkg;
> import org.apache.beehive.controls.api.bean.*;
> @ControlInterface
> public interface Hello
> {
>     String hello();
>     String helloParam( String name );
> }Edit the Controller.jpf File

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (BEEHIVE-651) Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true

Posted by "Steve Hanson (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-651?page=all ]
     
Steve Hanson resolved BEEHIVE-651:
----------------------------------

     Assign To: Julie Zhuo  (was: Steve Hanson)
    Resolution: Fixed

This is fixed now.  (Not sure who fixed it.)

> Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true
> ----------------------------------------------------------------------------
>
>          Key: BEEHIVE-651
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-651
>      Project: Beehive
>         Type: Bug
>   Components: Documentation
>     Versions: V1
>     Reporter: Julie Zhuo
>     Assignee: Julie Zhuo

>
> bash05102005 
> Or have its interface/itself implement Serializable. It won't compile that way.
> ****Here is the copy of the sample code from the tutorial**************
> Step 3: Add a Parameterized Method to the Control
> To edit the Interface and Implementation Files
> Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/HelloImpl.jcs so it appears as follows. Code to add appears in bold.
> package pkg;
> import org.apache.beehive.controls.api.bean.*;
> @ControlImplementation
> public class HelloImpl implements Hello
> {
>     public String hello()
>     {
>         return "hello!";
>     }
>     public String helloParam( String name )
>     {
>         return "Hello, " + name + "!";
>     }
> }Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/Hello.java so it appears as follows. Code to add appears in bold.
> package pkg;
> import org.apache.beehive.controls.api.bean.*;
> @ControlInterface
> public interface Hello
> {
>     String hello();
>     String helloParam( String name );
> }Edit the Controller.jpf File

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (BEEHIVE-651) Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true

Posted by "Julie Zhuo (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-651?page=all ]

Julie Zhuo reassigned BEEHIVE-651:
----------------------------------

    Assign To: Steve Hanson

> Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true
> ----------------------------------------------------------------------------
>
>          Key: BEEHIVE-651
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-651
>      Project: Beehive
>         Type: Bug
>   Components: Documentation
>     Versions: V1
>     Reporter: Julie Zhuo
>     Assignee: Steve Hanson

>
> bash05102005 
> Or have its interface/itself implement Serializable. It won't compile that way.
> ****Here is the copy of the sample code from the tutorial**************
> Step 3: Add a Parameterized Method to the Control
> To edit the Interface and Implementation Files
> Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/HelloImpl.jcs so it appears as follows. Code to add appears in bold.
> package pkg;
> import org.apache.beehive.controls.api.bean.*;
> @ControlImplementation
> public class HelloImpl implements Hello
> {
>     public String hello()
>     {
>         return "hello!";
>     }
>     public String helloParam( String name )
>     {
>         return "Hello, " + name + "!";
>     }
> }Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/Hello.java so it appears as follows. Code to add appears in bold.
> package pkg;
> import org.apache.beehive.controls.api.bean.*;
> @ControlInterface
> public interface Hello
> {
>     String hello();
>     String helloParam( String name );
> }Edit the Controller.jpf File

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (BEEHIVE-651) Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true

Posted by "Julie Zhuo (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-651?page=comments#action_64966 ]
     
Julie Zhuo commented on BEEHIVE-651:
------------------------------------

It suppose to be,

@ControlImplementation (isTransient=true)
public class HelloImpl implements Hello 
{ 

OR,

@ControlInterface 
public interface Hello implements Serializable
{ 

You have it right in the sample code above this one.

Usually, people don't notice, since they intend to continue to work with what they got. But it needs to be right itself. :)




> Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true
> ----------------------------------------------------------------------------
>
>          Key: BEEHIVE-651
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-651
>      Project: Beehive
>         Type: Bug
>   Components: Documentation
>     Versions: V1
>     Reporter: Julie Zhuo
>     Assignee: Steve Hanson

>
> bash05102005 
> Or have its interface/itself implement Serializable. It won't compile that way.
> ****Here is the copy of the sample code from the tutorial**************
> Step 3: Add a Parameterized Method to the Control
> To edit the Interface and Implementation Files
> Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/HelloImpl.jcs so it appears as follows. Code to add appears in bold.
> package pkg;
> import org.apache.beehive.controls.api.bean.*;
> @ControlImplementation
> public class HelloImpl implements Hello
> {
>     public String hello()
>     {
>         return "hello!";
>     }
>     public String helloParam( String name )
>     {
>         return "Hello, " + name + "!";
>     }
> }Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/Hello.java so it appears as follows. Code to add appears in bold.
> package pkg;
> import org.apache.beehive.controls.api.bean.*;
> @ControlInterface
> public interface Hello
> {
>     String hello();
>     String helloParam( String name );
> }Edit the Controller.jpf File

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (BEEHIVE-651) Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true

Posted by "Julie Zhuo (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-651?page=all ]
     
Julie Zhuo closed BEEHIVE-651:
------------------------------


Verified fixed at rev170022.

> Sample code in Controls Tutorial Step3 is missing annotaion isTransient=true
> ----------------------------------------------------------------------------
>
>          Key: BEEHIVE-651
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-651
>      Project: Beehive
>         Type: Bug
>   Components: Documentation
>     Versions: V1
>     Reporter: Julie Zhuo
>     Assignee: Julie Zhuo

>
> bash05102005 
> Or have its interface/itself implement Serializable. It won't compile that way.
> ****Here is the copy of the sample code from the tutorial**************
> Step 3: Add a Parameterized Method to the Control
> To edit the Interface and Implementation Files
> Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/HelloImpl.jcs so it appears as follows. Code to add appears in bold.
> package pkg;
> import org.apache.beehive.controls.api.bean.*;
> @ControlImplementation
> public class HelloImpl implements Hello
> {
>     public String hello()
>     {
>         return "hello!";
>     }
>     public String helloParam( String name )
>     {
>         return "Hello, " + name + "!";
>     }
> }Edit C:/beehive_projects/control_tutorial/WEB-INF/src/pkg/Hello.java so it appears as follows. Code to add appears in bold.
> package pkg;
> import org.apache.beehive.controls.api.bean.*;
> @ControlInterface
> public interface Hello
> {
>     String hello();
>     String helloParam( String name );
> }Edit the Controller.jpf File

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira