cancel
Showing results for 
Search instead for 
Did you mean: 

Package in EJB

Former Member
0 Kudos

Hi,

I was just trying to implement the simple EJB project example of a calc in NWDS.

Just had a doubt.

Can we create our own package instead of

com.sap.examples.calculator.beans

e.g com.xyz. Would some references be missing if I did so?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hai,

Open the Help menu from your NWDS Studio, slect welcome.

click on getting started then you can find first j2ee program, it will helps you .

regards,

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Prem,

You can give your own package name..while refering from other java file import your own package.

what also NWDS will take care of that importing method from other jave file like

Menu->source->organize imports..

Regards

Suresh

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Prem,

sorry i type what instead of that...

You can give your own package name..while refering from other java file import your own package access that method.

<b>That</b> also NWDS will take care of that importing method from other jave file like

Menu->source->organize imports..

Regards

Suresh

Former Member
0 Kudos

Hi Suresh,

Thanks for your help.

Duly assigned points.

I need your help.

Im new to SAP J2EE development except JSP/JSP Dynpage for Portal components

I need a simple tutorial (as simple as possible) on creating other than Stateless session beans, Using java data dictionary etc.

Thanks

suresh_krishnamoorthy
Active Contributor
0 Kudos

Hi Prem,

Start with this link you find sample EJB applcation:

http://help.sap.com/saphelp_nw04/helpdata/en/5d/a90d40c04af72ee10000000a1550b0/frameset.htm

In NWDS->Help->web AS Documentation-> SAP Web J2EE Application->example will be here

Concepts go through this link:

http://www.roseindia.net/javabeans/sessionbeantutorial.shtml

http://java.sun.com/javaee/5/docs/tutorial/doc/

http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html

Once you done with small examples. using that enhance ur applcation more.

Regards

Suresh