You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by sankar_bhatta <bh...@gmail.com> on 2008/09/16 14:00:58 UTC

developing EJB 3.0 using eclipse 3.4

Hi experts,

i am new to EJB technology. I want to develop a simple application using
eclipse 3.4. when i tried to create a EJb project eclipse says " EJB 3.0
requires java EE 5 or newer ". I do not what to download. can anybody please
tell me how do we create a simple hello world EJB using eclipse 3.4 .

thanks
sankar
-- 
View this message in context: http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19510323.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.


Re: developing EJB 3.0 using eclipse 3.4

Posted by Mohammad Nour El-Din <no...@gmail.com>.
Hi Sanak...

  Do you use the Eclipse 3.4 JEE distro ???

On Tue, Sep 16, 2008 at 2:00 PM, sankar_bhatta <bh...@gmail.com> wrote:
>
> Hi experts,
>
> i am new to EJB technology. I want to develop a simple application using
> eclipse 3.4. when i tried to create a EJb project eclipse says " EJB 3.0
> requires java EE 5 or newer ". I do not what to download. can anybody please
> tell me how do we create a simple hello world EJB using eclipse 3.4 .
>
> thanks
> sankar
> --
> View this message in context: http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19510323.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>
>



-- 
Thanks
- Mohammad Nour

Re: developing EJB 3.0 using eclipse 3.4

Posted by "Daniel S. Haischt" <da...@googlemail.com>.
The Java SDK V6 or V5 can be found on the Sun Java download web site:

  ->  http://java.sun.com/javase/downloads/index.jsp

The menu  entry point for adding a new JRE is shown in this screen shot:

  -> http://people.apache.org/~dsh/images/add-new-java-sdk-to-eclipse/global-menu-entry-point.PNG

The actual dialog which allows you to point to a newly installed Java
SDK directory
location will be shown in this screen shot:

  -> http://people.apache.org/~dsh/images/add-new-java-sdk-to-eclipse/installed-jres.PNG

On Thu, Sep 18, 2008 at 9:46 AM, sankar_bhatta <bh...@gmail.com> wrote:
>
> HI
>
> please provide me the link to download the java SE v5 SDK and also
> instructions to add it to the eclipse.
>
> thanks
> sankar
>
>
>
> Daniel S. Haischt-3 wrote:
>>
>> Is your default eclipse Java runtime set to a Java SE V5 SDK ?
>>
>> On Thu, Sep 18, 2008 at 7:55 AM, sankar_bhatta <bh...@gmail.com>
>> wrote:
>>>
>>> Hi jonathan,
>>>
>>> thanks for your reply
>>>
>>> I have installed the  eclipse 3.4 by the link u have provided.
>>> http://www.nabble.com/file/p19546426/untitled.jpeg
>>>
>>> when i click on file -> new ejb project and enter the name of the
>>> project,
>>> this is the error i am getting. what do u want me to do.
>>>
>>> Jonathan Gallimore-2 wrote:
>>>>
>>>> Hi Sankar,
>>>>
>>>> Are you seeing something similar to this?
>>>> http://www.jrg.me.uk/openejb/ProjectFacetError.png
>>>>
>>>> If so, I think ticking the Java option, and setting it to 5.0 or above
>>>> will
>>>> resolve this issue for you.
>>>>
>>>> In terms of getting a simple Hello world EJB project working, you should
>>>> be
>>>> able to download the Eclipse 3.4 JEE All-in-one package:
>>>> http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/ganymeder
>>>>
>>>> And optionally, you can install the OpenEJB Eclipse plugin from the
>>>> update
>>>> site:
>>>> http://people.apache.org/~jgallimore/update-site<http://people.apache.org/%7Ejgallimore/update-site>,
>>>> following the instructions here:
>>>> http://cwiki.apache.org/confluence/display/OPENEJB/Installation (this
>>>> isn't
>>>> necessary, but it provides the facility to deploy EJB projects to a
>>>> standalone OpenEJB server directly in Eclipse, and it will also add the
>>>> OpenEJB client jars and JavaEE API jars to your projects classpath
>>>> automatically)
>>>>
>>>> If you do decide to use the plugin, instructions for deploying your EJB
>>>> project to a standalone server in Eclipse are here:
>>>> http://cwiki.apache.org/confluence/display/OPENEJB/Running+a+standalone+OpenEJB+server
>>>>
>>>> Hope that helps. Let us know if you have further problems.
>>>>
>>>> Cheers,
>>>>
>>>> Jon
>>>>
>>>> On Tue, Sep 16, 2008 at 1:00 PM, sankar_bhatta
>>>> <bh...@gmail.com>wrote:
>>>>
>>>>>
>>>>> Hi experts,
>>>>>
>>>>> i am new to EJB technology. I want to develop a simple application
>>>>> using
>>>>> eclipse 3.4. when i tried to create a EJb project eclipse says " EJB
>>>>> 3.0
>>>>> requires java EE 5 or newer ". I do not what to download. can anybody
>>>>> please
>>>>> tell me how do we create a simple hello world EJB using eclipse 3.4 .
>>>>>
>>>>> thanks
>>>>> sankar
>>>>> --
>>>>> View this message in context:
>>>>> http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19510323.html
>>>>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19546426.html
>>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19547719.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>
>

Re: developing EJB 3.0 using eclipse 3.4

Posted by sankar_bhatta <bh...@gmail.com>.
HI

please provide me the link to download the java SE v5 SDK and also
instructions to add it to the eclipse.

thanks
sankar



Daniel S. Haischt-3 wrote:
> 
> Is your default eclipse Java runtime set to a Java SE V5 SDK ?
> 
> On Thu, Sep 18, 2008 at 7:55 AM, sankar_bhatta <bh...@gmail.com>
> wrote:
>>
>> Hi jonathan,
>>
>> thanks for your reply
>>
>> I have installed the  eclipse 3.4 by the link u have provided.
>> http://www.nabble.com/file/p19546426/untitled.jpeg
>>
>> when i click on file -> new ejb project and enter the name of the
>> project,
>> this is the error i am getting. what do u want me to do.
>>
>> Jonathan Gallimore-2 wrote:
>>>
>>> Hi Sankar,
>>>
>>> Are you seeing something similar to this?
>>> http://www.jrg.me.uk/openejb/ProjectFacetError.png
>>>
>>> If so, I think ticking the Java option, and setting it to 5.0 or above
>>> will
>>> resolve this issue for you.
>>>
>>> In terms of getting a simple Hello world EJB project working, you should
>>> be
>>> able to download the Eclipse 3.4 JEE All-in-one package:
>>> http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/ganymeder
>>>
>>> And optionally, you can install the OpenEJB Eclipse plugin from the
>>> update
>>> site:
>>> http://people.apache.org/~jgallimore/update-site<http://people.apache.org/%7Ejgallimore/update-site>,
>>> following the instructions here:
>>> http://cwiki.apache.org/confluence/display/OPENEJB/Installation (this
>>> isn't
>>> necessary, but it provides the facility to deploy EJB projects to a
>>> standalone OpenEJB server directly in Eclipse, and it will also add the
>>> OpenEJB client jars and JavaEE API jars to your projects classpath
>>> automatically)
>>>
>>> If you do decide to use the plugin, instructions for deploying your EJB
>>> project to a standalone server in Eclipse are here:
>>> http://cwiki.apache.org/confluence/display/OPENEJB/Running+a+standalone+OpenEJB+server
>>>
>>> Hope that helps. Let us know if you have further problems.
>>>
>>> Cheers,
>>>
>>> Jon
>>>
>>> On Tue, Sep 16, 2008 at 1:00 PM, sankar_bhatta
>>> <bh...@gmail.com>wrote:
>>>
>>>>
>>>> Hi experts,
>>>>
>>>> i am new to EJB technology. I want to develop a simple application
>>>> using
>>>> eclipse 3.4. when i tried to create a EJb project eclipse says " EJB
>>>> 3.0
>>>> requires java EE 5 or newer ". I do not what to download. can anybody
>>>> please
>>>> tell me how do we create a simple hello world EJB using eclipse 3.4 .
>>>>
>>>> thanks
>>>> sankar
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19510323.html
>>>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19546426.html
>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19547719.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.


Re: developing EJB 3.0 using eclipse 3.4

Posted by "Daniel S. Haischt" <da...@googlemail.com>.
Is your default eclipse Java runtime set to a Java SE V5 SDK ?

On Thu, Sep 18, 2008 at 7:55 AM, sankar_bhatta <bh...@gmail.com> wrote:
>
> Hi jonathan,
>
> thanks for your reply
>
> I have installed the  eclipse 3.4 by the link u have provided.
> http://www.nabble.com/file/p19546426/untitled.jpeg
>
> when i click on file -> new ejb project and enter the name of the project,
> this is the error i am getting. what do u want me to do.
>
> Jonathan Gallimore-2 wrote:
>>
>> Hi Sankar,
>>
>> Are you seeing something similar to this?
>> http://www.jrg.me.uk/openejb/ProjectFacetError.png
>>
>> If so, I think ticking the Java option, and setting it to 5.0 or above
>> will
>> resolve this issue for you.
>>
>> In terms of getting a simple Hello world EJB project working, you should
>> be
>> able to download the Eclipse 3.4 JEE All-in-one package:
>> http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/ganymeder
>>
>> And optionally, you can install the OpenEJB Eclipse plugin from the update
>> site:
>> http://people.apache.org/~jgallimore/update-site<http://people.apache.org/%7Ejgallimore/update-site>,
>> following the instructions here:
>> http://cwiki.apache.org/confluence/display/OPENEJB/Installation (this
>> isn't
>> necessary, but it provides the facility to deploy EJB projects to a
>> standalone OpenEJB server directly in Eclipse, and it will also add the
>> OpenEJB client jars and JavaEE API jars to your projects classpath
>> automatically)
>>
>> If you do decide to use the plugin, instructions for deploying your EJB
>> project to a standalone server in Eclipse are here:
>> http://cwiki.apache.org/confluence/display/OPENEJB/Running+a+standalone+OpenEJB+server
>>
>> Hope that helps. Let us know if you have further problems.
>>
>> Cheers,
>>
>> Jon
>>
>> On Tue, Sep 16, 2008 at 1:00 PM, sankar_bhatta
>> <bh...@gmail.com>wrote:
>>
>>>
>>> Hi experts,
>>>
>>> i am new to EJB technology. I want to develop a simple application using
>>> eclipse 3.4. when i tried to create a EJb project eclipse says " EJB 3.0
>>> requires java EE 5 or newer ". I do not what to download. can anybody
>>> please
>>> tell me how do we create a simple hello world EJB using eclipse 3.4 .
>>>
>>> thanks
>>> sankar
>>> --
>>> View this message in context:
>>> http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19510323.html
>>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>>
>>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19546426.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>
>

Re: developing EJB 3.0 using eclipse 3.4

Posted by sankar_bhatta <bh...@gmail.com>.
Hi jonathan,

thanks for your reply

I have installed the  eclipse 3.4 by the link u have provided.
http://www.nabble.com/file/p19546426/untitled.jpeg 

when i click on file -> new ejb project and enter the name of the project,
this is the error i am getting. what do u want me to do.

Jonathan Gallimore-2 wrote:
> 
> Hi Sankar,
> 
> Are you seeing something similar to this?
> http://www.jrg.me.uk/openejb/ProjectFacetError.png
> 
> If so, I think ticking the Java option, and setting it to 5.0 or above
> will
> resolve this issue for you.
> 
> In terms of getting a simple Hello world EJB project working, you should
> be
> able to download the Eclipse 3.4 JEE All-in-one package:
> http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/ganymeder
> 
> And optionally, you can install the OpenEJB Eclipse plugin from the update
> site:
> http://people.apache.org/~jgallimore/update-site<http://people.apache.org/%7Ejgallimore/update-site>,
> following the instructions here:
> http://cwiki.apache.org/confluence/display/OPENEJB/Installation (this
> isn't
> necessary, but it provides the facility to deploy EJB projects to a
> standalone OpenEJB server directly in Eclipse, and it will also add the
> OpenEJB client jars and JavaEE API jars to your projects classpath
> automatically)
> 
> If you do decide to use the plugin, instructions for deploying your EJB
> project to a standalone server in Eclipse are here:
> http://cwiki.apache.org/confluence/display/OPENEJB/Running+a+standalone+OpenEJB+server
> 
> Hope that helps. Let us know if you have further problems.
> 
> Cheers,
> 
> Jon
> 
> On Tue, Sep 16, 2008 at 1:00 PM, sankar_bhatta
> <bh...@gmail.com>wrote:
> 
>>
>> Hi experts,
>>
>> i am new to EJB technology. I want to develop a simple application using
>> eclipse 3.4. when i tried to create a EJb project eclipse says " EJB 3.0
>> requires java EE 5 or newer ". I do not what to download. can anybody
>> please
>> tell me how do we create a simple hello world EJB using eclipse 3.4 .
>>
>> thanks
>> sankar
>> --
>> View this message in context:
>> http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19510323.html
>> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19546426.html
Sent from the OpenEJB Dev mailing list archive at Nabble.com.


Re: developing EJB 3.0 using eclipse 3.4

Posted by Jonathan Gallimore <jo...@gmail.com>.
Hi Sankar,

Are you seeing something similar to this?
http://www.jrg.me.uk/openejb/ProjectFacetError.png

If so, I think ticking the Java option, and setting it to 5.0 or above will
resolve this issue for you.

In terms of getting a simple Hello world EJB project working, you should be
able to download the Eclipse 3.4 JEE All-in-one package:
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/ganymeder

And optionally, you can install the OpenEJB Eclipse plugin from the update
site: http://people.apache.org/~jgallimore/update-site<http://people.apache.org/%7Ejgallimore/update-site>,
following the instructions here:
http://cwiki.apache.org/confluence/display/OPENEJB/Installation (this isn't
necessary, but it provides the facility to deploy EJB projects to a
standalone OpenEJB server directly in Eclipse, and it will also add the
OpenEJB client jars and JavaEE API jars to your projects classpath
automatically)

If you do decide to use the plugin, instructions for deploying your EJB
project to a standalone server in Eclipse are here:
http://cwiki.apache.org/confluence/display/OPENEJB/Running+a+standalone+OpenEJB+server

Hope that helps. Let us know if you have further problems.

Cheers,

Jon

On Tue, Sep 16, 2008 at 1:00 PM, sankar_bhatta <bh...@gmail.com>wrote:

>
> Hi experts,
>
> i am new to EJB technology. I want to develop a simple application using
> eclipse 3.4. when i tried to create a EJb project eclipse says " EJB 3.0
> requires java EE 5 or newer ". I do not what to download. can anybody
> please
> tell me how do we create a simple hello world EJB using eclipse 3.4 .
>
> thanks
> sankar
> --
> View this message in context:
> http://www.nabble.com/developing-EJB-3.0-using-eclipse-3.4-tp19510323p19510323.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>
>