Results 1 to 3 of 3
  1. #1
    vijayinani is offline Member
    Join Date
    Oct 2008
    Posts
    1
    Rep Power
    0

    Default how to import a ejb bean in java file

    Dear Sir/Madam,

    I am having a java bean file named : CMSAccountPoolingEJBBean.
    I want to import this file in another java file.

    How do i write that?

    options are :

    1. CMSAccountPooling
    2. CMSAccountPoolingEJB
    3. CMSAccountPoolingEJBBean

    My basic question is : Is it necessary to write 'EJB' or 'EJBBean' at the end in import?

    This is my first post. Kindly forgive for any errors or disrespect.

  2. #2
    DevzAbhi's Avatar
    DevzAbhi is offline Member
    Join Date
    Jul 2008
    Posts
    67
    Rep Power
    0

    Default

    why do you exactly need to import the bean .. if you want to use the API present in the bean .. you simply say import packageName.* ... but i dont find any logic of doing so .. why you need a EJB if you can have a simple POJO class doing the same ...

  3. #3
    makpandian's Avatar
    makpandian is offline Senior Member
    Join Date
    Dec 2008
    Location
    Chennai
    Posts
    441
    Rep Power
    6

    Default

    I think you did not know the basics of EJB?
    Read the EJB basics,Then you can find out the ans for the ques you asked here..
    Mak
    (Living @ Virtual World)

Similar Threads

  1. error with import java.io.*
    By osval in forum New To Java
    Replies: 5
    Last Post: 05-13-2010, 05:03 PM
  2. Replies: 1
    Last Post: 01-29-2009, 09:35 AM
  3. Replies: 1
    Last Post: 01-29-2009, 09:33 AM
  4. import java.util ????
    By kris09 in forum New To Java
    Replies: 3
    Last Post: 08-11-2008, 12:39 AM
  5. how to import jface in java swt
    By rajaletchumy in forum New To Java
    Replies: 1
    Last Post: 08-08-2007, 12:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •