EJB PROJECT NEED
Respected all
i am in need of ejb project using java or jsp.
for Analysing and knowing about ejb coding.
so please send the any ejb project .
Avoid multi post,
http://forum.java.sun.com/thread.jspa?threadID=5215513
Similar Messages
-
How to run the ejb project in j2ee server
How to run the EJB project.
I give like
java conveterClient converterClient.jar
here conveterClient is class file name and converterClient.jar is deployed file
like wise i give some exception is come
give some help pls friendsNavigate to the "DBOrders" module in the catalog, right click on the "ORDERS" database below and click "Export Schema Stucture". That will produce a file containing the DML needed to create the database
-
How can I create a new EJB project ?
Hi,
I downloaded the trial version and I don't know how to create an EJB project ?
When I create a new project, I've only the web template to choose.
Where can I find informations about that ?
Thanks.
jackHi Jack,
This version of the Creator allows you to build applications which access existing EJB's, but doesn't create new EJB's from scratch. We are looking into that for future releases.
If you want to access an existing EJB, please see the tutorials:
http://devservices.sun.com/premium/jscreator/standard/learning/tutorials/sessionEJBcomps.pdf
I believe the Sun Java Studio Standard product can help you create EJB's today, if that's what you need:
http://developers.sun.com/prodtech/javatools/jsstandard/index.html
hth,
Val -
How to call external jar files in EJB project for CE
Hi,
I would be thankful if someone could help me with this -
I need to call the external jar files into my EJB project - Here is what I have done and am getting runtime exception as -
java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/glance/pdf/pt/PTDoc
1. Created a EJB project" HelloWorld " using Java perspective in NWDS 7.1 called with client as HelloWorldClient and EAR project as HelloWorldEAR.
2. Am working on HelloWorld project (1st one).
3. In my code I am instantiating a class which is a class in one of the external jar file that I need to refer in my project.
4. I have set the Java Build path but it works only for the compile time and fails during runtime.
5. Have read I need to create external library DC and refer in my project "HelloWorld".
Can anyone help me with exact steps what needs to be done - during creation of external library project and then for my "HelloWorld" EJB project. How would I be able to reference or set the external library project in my EJB project?
Looking forward to hear from experts.
Thanks,
Shiv
Edited by: Shiv Khullar on Aug 30, 2010 9:39 PMHi Edson,
I tried it , but it still gives me runtime exception.
javax.ejb.EJBException: nested exception is: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/glance/pdf/pt/PTDoc
java.lang.RuntimeException: java.lang.NoClassDefFoundError: com/glance/pdf/pt/PTDoc
Steps I performed are -
1. Created a library project and created 2 Public parts "Compilation" and "Assembly"
2. Build the library project.
Now in my EJB project using Project Explorer - set the classpath and added both compilation jar and assembly jar files.
This is how the classpath entries for external library looks like -
<classpathentry kind="lib" path="/LocalDevelopmentLocalDevelopmentexternallibrarypdftoolsforwatermarkingdemo.sap.com/gen/default/public/WatermarkAssembly/lib/java/demo.sap.comexternallibrarypdftoolsforwatermarking~WatermarkAssembly.jar"/>
<classpathentry kind="lib" path="/LocalDevelopmentLocalDevelopmentexternallibrarypdftoolsforwatermarkingdemo.sap.com/gen/default/public/WatermarkCompilation/lib/java/demo.sap.comexternallibrarypdftoolsforwatermarking~WatermarkCompilation.jar"/>
I have also added the jar files I used in my external library project as "User Library" from Java Build Path . I dont do it , then the code fails during compilation itself.
Regards,
Shiv -
Import the WSDL file in NWDI 7.2 using EJB Project
Hi Experts,
This is my Requirement:
I have WSDL File and it is working in the Portal.I have checked in the WSNavigator.
Now i need to import the WSDL file in NWDI 7.2 using EJB Project.
Please let me know the steps to import the WSDL File.
Thanks & Regards,
SatheshKumar RHi
Please look at this documents for that
[How to Develop an Enterprise Service Provider for SAP|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90d95d37-3f65-2a10-8fa9-a13738c93ea7?quicklink=index&overridelayout=true]
http://help.sap.com/saphelp_nwce10/helpdata/en/46/7f2fef88190ad3e10000000a11466f/content.htm
Hope this helps!!
Thanks & Regards
Vijay K
Edited by: VijaySAPEP on Sep 13, 2011 11:34 AM -
Using swing to develop EJB project
Hi, Folks
I am using jbuilder7 to develop swing connect to ejb project, one requirement is that i should doing control with the editable table. That requirement make me to tied with JBuilder component JDBTable. However the development time would become remarkable long. does anybody have experience of using fancy swing and EJB in the same project?
thansk in advance.forget to tell you I am using JDBTable already. the problem is that how
could i serlize the dataset to EJB in a easy way? ok, you don't need to serialize your dataset to trasmit to server side. Class com.borland.dx.dataset.DataSetData implements Serializable interface already, so you can send your dataset to server and do not care about serialization. But what to do with this DataSet on server side is very interesting question ;). As for me, it's not very handly to pull out your data from Dataset on server side (DataSet "looks" like client-side class). But, of course, it's up to you.
unfortunlly I should doing add, delete, edit from my table. So its
pretty complex to deal with this sort of issue.Why complex? I don't think so. For example, you may set 2 buttons: "Set" and "Delete" under your Jtable view and just "to fish" data client entered in your Jtable string, pack this data in your own serializable model and send this data to server session facade. As for me that's very handly and fast. And there is no complexity...
Regards. -
I want to delve myself into EJBs and want to do so with a good yet not too complicated project. I know there are many sites that have projects posted but with school I don't want to do something overly complex, at the same time I don't want a simple demo, anyone have a suggestion for a good EJB project?
thanks.Hi,
Project means, " Solution to Problem "
so you need to find problem in your current work/study env, that leds to thinking about problem and solutiong.
so if you want to think/find the problem in your area/space else you can do this...
This system involves the following areas:
1. HR (leave, salary, attendance etc.)
2. Training (identifying training needs, training schedules, feedback etc)
3. Asset management
4. Resource allocation (conference rooms, company accomodation, transport systems)
I have taken this form some other thread but removed some complex senario you can do this. first dividn the system in areas..
USe OOAD for doing next steps..
Viswa -
Can't use JPA facet in a Workshop 10.3 EJB project
Greetings,
I'm using Oracle Workshop for WebLogic 10.3 to migrate an enterprise application from JBoss 5.0 to WebLogic 10.3. I'm a bit confused as, while I can add the JPA facet to a Dynamic Web project, I cannot do the same with an EJB project. I'd need to take advantage of the IDE automatic facets management instead to manually dealing with libraries and dependencies. I beleive that this is the reason these facets exist. However, after having created a EJB 3.0 project, it is impossible to add to it the JPA facet. I had to define the JPA entities in a Dynamic Web project as this is the only one to which I can add the JPA facet. This is not regular. Additionally, the SLSB facades may only be defined in an EJB project. They reference the JPA entities in the Dynamic Web project which, given the class loading hierarchy, is not possible. So my question is: how is one supposed to use JPA with WTP projects ?
Many thanks in advance for any help,
NicolasThis isn't supported in Workshop 10.3 and prior, the JPA tooling only works with Dynamic Web Projects in those releases to my knowledge.
I think this changed in OEPE 11g. Check out this article that shows JPA being used in the context of a Utility Project:
http://www.oracle.com/technology/pub/articles/cioroianu-eclipse-jpa.html
OEPE 11g Download: http://www.oracle.com/technology/software/products/oepe/index.html -
Problem while migrating EJB Project developed in NWDS 2.0.11 to NWDS 7.1
Hi all,
I have developed one EJB Project using NWDS 2.0.11 and now i am migrating it to NWDS 7.1. I have copied that EJB project into the work space of NWDS 7.1. Now its giving build problems for the class path variables for ejb20.jar like...
Unbound classpath variable: 'TSSAP_JAVAX_HOME/lib/ejb20.jar' in project RemoteDeployEJB RemoteDeployEJB July 27, 2006 11:52:09 AM 29
so pls help me to resolve this issue.How to set class path for that variable in my NWDS 7.1.
Regards,
Kiran.Hi Kiran,
You need to migrate the project.There should be an error message in the problems view that the project should be migrated. Right click on the error message and choose quick fix.Then Migrate Project option should appear. Choose it and follow the steps in the migration wizard.
Best Regards, Radoslav -
Adapter module:: JAR file in the build path of EJB project
Hi Experts,
I have created one adapter module, for this I have created one EJB project and also associated one EAR project to that.
I have completed my coding and changes in the xml files.
I have followed this -
http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID1494558950DB01504425675464955468End?rid=/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa&overridelayout=true
while creating the module.
but after finishing this , I can not see the ejb.jar file corresponding to the ejb project, I can see the class file generated in the build path.
but I can not see the ejb.jar in the EJB project after build.
When I checked the EAR project I found under Deployment descriptor there is a folder called module and there is a jar file named as -
EJB<my ejb project name>.jar
when I am about to deploy this EAR in the server it is showing me to choose the file from EAR project and this EAR project contain the EJB Project .
Request you to please let me know is everything ok with my project ? or please let me know how can I see the ejb.jar file corresponding to the ejb project below the build path.
Thanks
VinnyHi Experts,
I have created one adapter module, for this I have created one EJB project and also associated one EAR project to that.
I have completed my coding and changes in the xml files.
I have followed this -
http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417500)ID1494558950DB01504425675464955468End?rid=/library/uuid/c0b39e65-981e-2b10-1c9c-fc3f8e6747fa&overridelayout=true
while creating the module.
but after finishing this , I can not see the ejb.jar file corresponding to the ejb project, I can see the class file generated in the build path.
but I can not see the ejb.jar in the EJB project after build.
When I checked the EAR project I found under Deployment descriptor there is a folder called module and there is a jar file named as -
EJB<my ejb project name>.jar
when I am about to deploy this EAR in the server it is showing me to choose the file from EAR project and this EAR project contain the EJB Project .
Request you to please let me know is everything ok with my project ? or please let me know how can I see the ejb.jar file corresponding to the ejb project below the build path.
Thanks
Vinny -
Hi,
i am doin java client proxy in XI.i ve imported the beans generated from XI into an EJB project in NDS and have changed the ejb-jar.xml accordingly.However the "BUILD EJB ARCHIVE" option is not enabled.Can anyone help?
Regards,
DivyaHI
GOOD
GO THROUGH THESE LINKS
http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
http://www.sapgenie.com/xi/
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
THANKS
MRUTYUN -
EJB project IDE build dos not include properties files
We have property files also which we want included as part of the build process
for EJB projects but if we use the IDE build it does not include them. We have
to therefore export the IDE build and customize it to include *.properties like
this
<zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
filenames are encoded UTF8 --> <zipfileset dir="${project.local.directory}" includes="*.properties"
/> </zip>
which causes a problem for us because the exported build file is specific to a
user's local PC and cannot be used in a team environment.
How can we have the IDE build include all the files within an EJB project i.e.
include properties files also.Hey Jamie,
Currently there is no support to include other .properties files into
the internal build. There's a build.properties that you get as part of
an EJB project which you could place your values into and use that as
your template for your team based development and check that into your
source control.
If you'd really like to get gross and hack Workshop a little bit you
could modify the default EJB project template to use your .properties
file for every EJB project you create. This would then splat a copy of
your .properties file into the root of the EJB project.
To do that you'd go to {your BEAHOME}\workshop\templates and crack open
the ejb-project.zip template zip file and merge your settings into the
existing build.properties file. This has the same
effect as replacing the .properties file after you've created your
project only it keeps you from having to perform that step each time.
The downside of this is that each person on your team would then have to
update that template zip file in their workshop installation. (I'd make
sure to backup the original template file before performing this
activity so you can always go back to the original template).
Hope this helps,
-Michael
Jamie wrote:
We have property files also which we want included as part of the build process
for EJB projects but if we use the IDE build it does not include them. We have
to therefore export the IDE build and customize it to include *.properties like
this
<zip basedir="${dest.path}" zipfile="${ejb.outputJar}" encoding="UTF8"> <!-- JARs
filenames are encoded UTF8 --> <zipfileset dir="${project.local.directory}" includes="*.properties"
/> </zip>
which causes a problem for us because the exported build file is specific to a
user's local PC and cannot be used in a team environment.
How can we have the IDE build include all the files within an EJB project i.e.
include properties files also. -
Unable to build EJB project.
Hi All,
I am new to CE and trying to crete an EJB project. I am following the below tutorial.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b030e7fb-2662-2b10-0dab-c4aa52c3550b?quicklink=index&overridelayout=true
I have configured the data source, created the EJB module, created the Entity Bean & session bean. While trying to build the project, I am getting an error "Unable to provide dictionary objects. Please check if the connected project is sttll valid."
Please help me resolving the issue.
Regards,
Bhavya.Hi Divya,
Follow the above steps in the following link how to use external library in DC's
/people/bertram.ganz/blog/2008/11/24/how-to-use-external-jar-files-in-web-dynpro-development-components
1)Expose the JAR file in two separate public parts, one with purpose assembly (1) and another one with purpose compilation (2).
2)Use the public part with purpose compilation in the Web Dynpro "client" development component
Let me know if you are still facing the problem.
Hope this helps you...
Regards,
Saleem
Edited by: Saleem Baig Mohammed on Jun 2, 2009 2:35 PM -
Configuring Log4j for a EJB Project.
Hi,
I have a weblogic EJB project as a Ear file. The project has no web components (so war file). I want to know which is the ideal way to initialize log4j in this situation.
I can use listener class thro' weblogic-application.xml. But there is no neat way to passing the log4j.xml thro' parameter from weblogic-applicaiton.xml file.
If we are using servlet we could use init-parm to passing xml file. I don't want to hard code the xml file location in the listener class.
What is the best practice to initialize log4j for a EJB project?
Thanks in advance.
AnandDan,
I had a similar problem because I wanted to define my own log4j config regardless of what other portal apps were deployed in the BEA domain or what log4j was the default for the domain. This is what I do:
1) Put your log4j config file in the WEB-INF classes dir (or I guess it could be in some other place that the CLASSPATH knows of)
2) Create a servlet that looks like:
import javax.servlet.*;
import javax.servlet.http.*;
import org.apache.log4j.xml.*;
public class Log4jInitServlet extends HttpServlet {
private static final long serialVersionUID = 23456;
public void init(ServletConfig config) throws ServletException {
super.init(config);
DOMConfigurator.configure(Thread.currentThread().getContextClassLoader().getResource("myLog4jConfigFile.xml"));
public void doGet(HttpServletRequest req, HttpServletResponse resp) {
3) Add the servlet definition in the web.xml and add a <load-on-startup>1</load-on-startup>
That should do it.
- Peter -
my project needs to be saved as a Video_TS/Audio_TS file for burning purposes with a company that does bulk burring. how do i go by this?
VIDEO_TS (and an empty audio_ts) folders are part of a standardised DVD structure. So, what you need a DVD-authoring tool. FCPX offers to create a very simple DVD, one movie, two designs (black or white), no menu, done. Older Macs came pre-installed with iLife/iDVD … export your project as a 'Master', drag into iDVD, select any design template ... Apple axed 'disk creation' about 7 years ago ... the AppStore is crowded with other, convenient, consumer, template based tools. Professional structured DVDs are only optional with obsolete DVDSP (part of FC-suite) or Adobe Encore .....
Maybe you are looking for
-
How can I stop iTunes from downloading my iPhone contents?
Whenever I sync my iPhone, iTunes decides it needs to download everything that's on my iPhone. How can I turn this off? Luckily it is only music, not apps, but it's still annoying. I have things like "sync only checked items" checked, and I don't
-
Unable to save PDF's that have editable fields
I am unable to save forms that have editable fields. I get the error "The document could not be saved. The disk you were saving to or the disk used for temporary files is full. Free some space on this disk and try again, or save to a different disk"
-
Lucida Sans font not showing correctly on certain computers with jdk 1.3
I am writing a program that uses a lot of unicode symbols so I need to use Lucida Sans font as opposed to the default font. My code is infinityButton.setFont(new Font("Lucida Sans", Font.PLAIN, 12)); etc ... this works on almost every machine I have
-
1/8" == 1/8" cable with right-angle ends?
I'm looking for an audio cable with mini-plugs (1/8", 3.5 mm) on each end, with at least one end with a right-angle plug. I've scoured the web (and my local Radio Shack store) but can't locate one. Is such a thing available? (FYI I want the cable to
-
Delete data from table. The command is following: Delete from utela.ta9cb01; Error: 6003: Lock request denied because of time-out. Details: Tran 4.689(pid 9949) wants Un lock on rowid BMUFVUAAAAAAboMBGw, table UTELA.TA9CB01. But Tran 2041.27283048(pi