New to EJB, resources for EJB
hi
i'm new to ejb. can anybody suggest resources or links for learning EJB
1. Get a good book. "Head First EJB" from O'reilly is a good investment.
2. Hand on exercises. Try the Sun's J2EE tutorial.
3. Study the spec.
4. You're expert now.
Similar Messages
-
Add new translated language resources for ADF components
Hello
I wish to add a new language for the ADF components.
Our product was translated in serbian language but some items like Next, Previous buttons or the OK and Cancel buttons in the popup dialogs of type OkCancel uses build-in resources of the ADF and does not provide the translation for all languages.
How is it possible to extend the resources of the ADF with any other language?
I see the old thread Re: ADF component language for the Georgian language.
And I guess there are more languages required by some customers.
Is there any solution available by the ADF how we can just provide the missed translations and configure ADF to load them?
Kind Regards
Paul DarathaHi,
you can bind the text of the components with your bundle.
see the doc:
http://docs.oracle.com/cd/E23943_01/web.1111/b31973/af_global.htm#CHDGCAFI
and here are a resource strings for components
http://docs.oracle.com/cd/E24382_01/apirefs.1112/e17497/toc.htm
As far as I know yo can´t add a language. -
KM Resource for Super User to add attributes
System: BI Portal, 7.0
I want to create a resource for my super users to add description data to a report, but I don't want the other users to be able to see that control on their screens. In other words I don't want them to attempt to add description data and get a "permission error", they should not see the control.
Currently all of my controls on the iview's resources are read only. In the KM content directory the "super users" can add reports to the specific directories that they have permission for.
How is that done?
Do I have to create another iview with specific editing resources on it for the super users?
Thanks,
MikeI'll create a new role and resources for users to make adjustments.
-
New to EJB (Server Help Needed)
I am new to EJB and I'm learning through a few books and online tutorials. The only problem is that when I try to use them, I get errors. I've done some researching and I think it has to do with my server setup. Here is what I have running and successfully configured:
Apache Web Server
Tomcat Container
Java 2 SDK 1.4.0_01
Java XML Pack (Winter 2002)
I have Sun Studio 4 installed and I think that it installs J2EE but I'm not sure. Can someone help me understand where to go next? What do I have to install/configure to get the EJBs to work? Thanks, JeremyHello,
J2EE is roughly about two things: Web applications beeing build out of Servlets, Jsp and HTML pages and a server-side component modell to deploy business logic in EJBs.
Now for the Web part (generating dynamic HTML content etc.) you have what you need. Tomcat is doing just find. To deploy EJBs, you need an application server which has an EJB container. I don't know the Studio 4 but my understanding is that it is an IDE helping you to develop software, not an application server. You have to install such an appserver.
My recommendation: go and download BEAs Weblogic 7.0 (www.beasys.com).This is a commercial product but it comes with a 30 day trial license. BEA provides a rather good online docu. Play with this appserver and deploy some EJBs.
Alternatively there is also a free appserver: JBoss (www.jboss.org) but I have never used it. Yet, they have also online docu and forums to help you through.
good luck,
einar -
New to EJBs exception in client code
Hi i am new to EJBs when i execute the client code it is giving the following exceptions
can any one tell me the steps to execute a simple EJB session bean. what class paths and what config and what xml files are required??
i followed so many tutorials but the problem is not solved
thanks
here is the exception i wrote the JNDI name as "HelloWorld" in the weblogic-ejb-jar.xml (i am using weblogic 8.1 application server)
Full compiler error(s):
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_FirstEjb_HelloClient\jsp_servlet\__helloclient.java:139: cannot resolve symbol
symbol : class HelloHome
location: class jsp_servlet.__helloclient
HelloHome home = (HelloHome) javax.rmi.PortableRemoteObject.narrow(obj,HelloHome.class); //[ /HelloClient.jsp; Line: 17]
^
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_FirstEjb_HelloClient\jsp_servlet\__helloclient.java:139: cannot resolve symbol
symbol : class HelloHome
location: class jsp_servlet.__helloclient
HelloHome home = (HelloHome) javax.rmi.PortableRemoteObject.narrow(obj,HelloHome.class); //[ /HelloClient.jsp; Line: 17]
^
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_FirstEjb_HelloClient\jsp_servlet\__helloclient.java:139: cannot resolve symbol
symbol : class HelloHome
location: class jsp_servlet.__helloclient
HelloHome home = (HelloHome) javax.rmi.PortableRemoteObject.narrow(obj,HelloHome.class); //[ /HelloClient.jsp; Line: 17]
^
C:\bea\user_projects\domains\mydomain\.\myserver\.wlnotdelete\extract\myserver_FirstEjb_HelloClient\jsp_servlet\__helloclient.java:140: cannot resolve symbol
symbol : class Hello
location: class jsp_servlet.__helloclient
Hello hello = home.create(); //[ /HelloClient.jsp; Line: 18]
^
4 errorsand the client jsp file is as follows
<%@ page import="java.util.*"%>
<%@ page import="javax.naming.InitialContext"%>
<%@ page import="javax.naming.Context"%>
<%@page language="java" contentType="text/html"%>
<html>
<head>
<title>JSP Page</title>
</head>
<body>
<%
Properties props = System.getProperties();
out.println("SREENIVAS FIRST EJB");
try {
Context ctx = new InitialContext(props);
Object obj = ctx.lookup("HelloWorld");
HelloHome home = (HelloHome) javax.rmi.PortableRemoteObject.narrow(obj,HelloHome.class);
Hello hello = home.create();
out.println(hello.hello());
hello.remove();
ctx.close();
} catch (Exception e) {
e.printStackTrace();
%></body>
</html>i got the output
its working
the change i did is
i put all the remote,home and local interfaces in a package and added that package to a jar file.
then i added the jar file to class path.
import this package into your client class.
thats it now just deploy your ejbmodule.jar and webapplication.war in the server and test the code
bye bye -
Can anyone assist me..new to ejb's
hi all, i am new to ejbs..
i have j2sdk1.4 on windows 2000 and able to run java programs..
if i want to learn ejb's what software i needed and how to do settings..
thx in advanceCheck out the sun tutorial. It'll get you started. You'll need ant and some sort of app server like tomcat or weblogic or webshere.
-
hi all,
i am new to EJB...i have learnt servlets, jsp... with tomcat... i want to learn ejb..i have read some theoritcal tutorials... can anyone give the some sample programs or practical tutorials...with myecplise tooll...and jboss..integration....
thanks in advance..
--loguKKGoogle is the best option..............
-
New resources for download and installation issues
See this new FAQ entry for links to some handy resources for issues with downloading and installation:
http://forums.adobe.com/thread/957944
Most pertinent is the first link, to the improved access to Adobe Customer Service.I had the same message but it went on to say "can't retrieve essential parameters" and didn't download at all.
-
Error encountered while polling the resource for the service endpoint
Hello everyone
I'm a newbie on OSB world. Yesterday, I've tried to test OSB with FTP transport and got some problems.
As you see in the title, I've search this forum to get a solution already, but I couldn't find anything. So that I create a new thread.
I created a new OSB project, create a new Proxy service to connect to my FTP server:
- service type: messaging service
- request message type: Text, response message type: None
- FTP transport: external user (I used a Service account), Post read action: archive, transfer mode: ascii, some directories needed were created in /tmp directory
- Message flow: Start node -> pipeline pairs
in request pipeline of pipeline pairs node: i created a new stage: Assign action -> Log (to get file contents, error severity) -> Assign -> Log (get file name)
The expected results are: file file content and file name (display in osb console) after I submit a text file to ftp server (using test console or ftp client)
But, some error occur continuously after I submit a text file (I can get the file content because error raise and log catch it). The error message is show below:
<Jun 6, 2011 10:04:59 AM EDT> <Error> <ALSB Logging> <BEA-000000> < [PipelinePairNode1, PipelinePairNode1_request, show_text_info, REQUEST] file contents: li
ag
a
glakjgk
>
<Jun 6, 2011 10:05:30 AM EDT> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$FTPTestProject$ProxyServices$FTPTestPS: *javax.naming.NameNotFoundException:* While trying to lookup *'wlsb.internal.transport.task.queue.ftp'* *didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'*
*javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.ftp' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'*
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
Truncated. see log file for complete stacktrace
>
<Jun 6, 2011 10:06:30 AM EDT> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$FTPTestProject$ProxyServices$FTPTestPS: javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.ftp' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'
javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.ftp' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'
at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
Truncated. see log file for complete stacktrace
>
...There are many BEA-381602 errors that occur continuously.
My question is how to solve this problem.
Any suggestion is appreciated.
Thank in advance.
Regards, CuongPT
Edited by: Doubt_Man on Jun 6, 2011 11:17 AMThank atheek1, I remember that I didnt do any manual configuration on my domain :). I use that domain for testing so that I will create a new domain for comparison.
-
How can we suggest a new DBA OCE certification for very large databases?
How can we suggest a new DBA OCE certification for very large databases?
What web site, or what phone number can we call to suggest creating a VLDB OCE certification.
The largest databases that I have ever worked with barely over 1 Trillion Bytes.
Some people told me that the results of being a DBA totally change when you have a VERY LARGE DATABASE.
I could guess that maybe some of the following topics of how to configure might be on it,
* Partitioning
* parallel
* bigger block size - DSS vs OLTP
* etc
Where could I send in a recommendation?
Thanks RogerI wish there were some details about the OCE data warehousing.
Look at the topics for 1Z0-515. Assume that the 'lightweight' topics will go (like Best Practices) and that there will be more technical topics added.
Oracle Database 11g Data Warehousing Essentials | Oracle Certification Exam
Overview of Data Warehousing
Describe the benefits of a data warehouse
Describe the technical characteristics of a data warehouse
Describe the Oracle Database structures used primarily by a data warehouse
Explain the use of materialized views
Implement Database Resource Manager to control resource usage
Identify and explain the benefits provided by standard Oracle Database 11g enhancements for a data warehouse
Parallelism
Explain how the Oracle optimizer determines the degree of parallelism
Configure parallelism
Explain how parallelism and partitioning work together
Partitioning
Describe types of partitioning
Describe the benefits of partitioning
Implement partition-wise joins
Result Cache
Describe how the SQL Result Cache operates
Identify the scenarios which benefit the most from Result Set Caching
OLAP
Explain how Oracle OLAP delivers high performance
Describe how applications can access data stored in Oracle OLAP cubes
Advanced Compression
Explain the benefits provided by Advanced Compression
Explain how Advanced Compression operates
Describe how Advanced Compression interacts with other Oracle options and utilities
Data integration
Explain Oracle's overall approach to data integration
Describe the benefits provided by ODI
Differentiate the components of ODI
Create integration data flows with ODI
Ensure data quality with OWB
Explain the concept and use of real-time data integration
Describe the architecture of Oracle's data integration solutions
Data mining and analysis
Describe the components of Oracle's Data Mining option
Describe the analytical functions provided by Oracle Data Mining
Identify use cases that can benefit from Oracle Data Mining
Identify which Oracle products use Oracle Data Mining
Sizing
Properly size all resources to be used in a data warehouse configuration
Exadata
Describe the architecture of the Sun Oracle Database Machine
Describe configuration options for an Exadata Storage Server
Explain the advantages provided by the Exadata Storage Server
Best practices for performance
Employ best practices to load incremental data into a data warehouse
Employ best practices for using Oracle features to implement high performance data warehouses -
New Host Adapter plugin for Illustrator CC 2014?
I'm seeing that the Host Adapter plugin for Illustrator CC does not work for Illustrator CC 2014. I've checked that the AIHostAdapater.aip file is installed in the correct AI CC 2014 folder. But calling AIEventAdapater.getInstance().pingPlugIn() always results in "pingTimedOut".
Is there a new AIHostAdapater plugin forthcoming for Illustrator CC 2014? Or is it available somewhere to download? It is not available as an update through Extension Builder.Hi Brian,
You can download the CC2014 host adapter plugins for Illustrator from the following URL
https://github.com/timothybrandspencer/CEP-Resources/tree/master/host_adapters/illustrator
Worked for me(verified of 64 bit installation of Illustrator on WIN and MAC), hope it works for you as well
Thanks,
Manan -
Schedule parallel activities on different resources for the same period
Hi,
I am trying to create a PPM where I need to define parallel activities on different resources for the same time period.
For example:
Input prod: P1
Output prod: O1
Now I define a dummy activity A1 to define this consumption i.e. 1 PC of P1 gives 1 PC of O1.
Now I have got 3 resources R1, R2, R3.
I define 3 activities A2, A3, A4 for these resources.
Now I have to arrange activities A2, A3, A4 such that they start simultaneouly after activity A1 and also end simultaneouly.
The Fixed duration for all the resources is 1 week.
My requirement is that out of these resources system should plan for demand considering the resource with minimum capacity
i.e. kind of bottleneck resource.
I am using CTM engine for planning.
I have defined A1 as predecessor for all the 3 activities A2, A3, A4 and after completion all the activities have a dummy successor activity S.
But this setting is not working and PPM is not getting exploded, If I use a normal linear relationship between activities it works fine but my requirement is not getting satisfied.
Can anyone please help me in this case or suggest some alternate method.
Thanks & Regards,
Sanjog MishrikotkarHi,
You cannot use the old solman key as systems are on different server.
I think you have to delete the old Dev system and then generate new solman key.
Thanks
Sunny -
Announcing 3 new Data Loader resources
There are three new Data Loader resources available to customers and partners.
• Command Line Basics for Oracle Data Loader On Demand (for Windows) - This two-page guide (PDF) shows command line functions specifc to Data Loader.
• Writing a Properties File to Import Accounts - This 6-minute Webinar shows you how to write a properties file to import accounts using the Data Loader client. You'll also learn how to use the properties file to store parameters, and to use the command line to reference the properties file, thereby creating a reusable library of files to import or overwrite numerous record types.
• Writing a Batch File to Schedule a Contact Import - This 7-minute Webinar shows you how to write a batch file to schedule a contact import using the Data Loader client. You'll also learn how to reference the properties file.
You can find these on the Data Import Resources page, on the Training and Support Center.
• Click the Learn More tab> Popular Resources> What's New> Data Import Resources
or
• Simply search for "data import resources".
You can also find the Data Import Resources page on My Oracle Support (ID 1085694.1).Unfortunately, I don't believe that approach will work.
We use a similar mechanism for some loads (using the bulk loader instead of web services) for the objects that have a large qty of daily records).
There is a technique (though messy) that works fine. Since Oracle does not allow the "queueing up" of objects of the same type (you have to wait for "account" to finish before you load the next "account" file), you can monitor the .LOG file to get the SBL 0363 error (which means you can submit another file yet (typically meaning one already exists).
By monitoring for this error code in the log, you can sleep your process, then try again in a preset amount of time.
We use this allow for an UPDATE, followed by an INSERT on the account... and then a similar technique so "dependent" objects have to wait for the prime object to finish processing.
PS... Normal windows .BAT scripts aren't sophisticated enough to handle this. I would recommend either Windows POWERSHELL or C/Korn/Borne shell scripts in Unix.
I hope that helps some. -
FAQ: What are the best resources for Premiere Pro CS6?
Here are high quality resources for troubleshooting and tutorials related to Premiere Pro CS6.
Premiere Pro CS6 troubleshooting articles
Issue: I'm having trouble downloading and installing Premiere Pro CS6. What do I do?Answer: See troubleshooting documents, post in the appropriate forum, or contact support.
More info: http://blogs.adobe.com/aftereffects/2013/09/troubleshooting-issues-with-downloading-and-in stalling-after-effects.html
Issue: What are the system requirements for Premiere Pro CS6?See this article: http://helpx.adobe.com/premiere-pro/system-requirements.html#Adobe%20Premiere%20Pro%20CS6% 20system%20requirements
Issue: Why won't Premiere Pro CS6 play back AVCHD media?Answer: Update to Premiere Pro CS6 (6.0.5). Previous versions of CS6 had this issue.
More info: http://blogs.adobe.com/premierepro/2013/08/premiere-pro-cs6-6-0-4-update.html
Issue: Does Premiere Pro CS6 work with OS X 10.9 (Mavericks)?Answer: Yes, make sure you update to Premiere Pro CS6 (6.0.5)
More info: http://blogs.adobe.com/premierepro/2013/10/premiere-pro-and-mac-os-x-10-9-mavericks.html
Issue: Is there a trial available for Premiere Pro CS6?Answer: Yes, subscribe to the free version of Creative Cloud, then download the trial.
Issue: I'm having unexpected behavior in Premiere Pro CS6 and want to trash preferences. How do I do that?Answer: See this blog post: http://blogs.adobe.com/genesisproject/2011/02/premiere-pro-cs5-maintenance-two-great-tips. html#more-537
Issue: I'm getting errors related to QuickTime. What do I do?Answer: See this blog post for troubleshooting items related to QuickTime: http://blogs.adobe.com/aftereffects/2011/02/troubleshooting-quicktime-errors-with-after-ef fects.html
Premiere Pro CS6 tutorials
Issue: I'm new to Premiere Pro CS6. How do I get started?Answer: See this blog post: http://blogs.adobe.com/kevinmonahan/2011/05/20/getting-started-with-adobe-premiere-pro-cs4 -cs5-cs5-5/
Issue: I'm switching to Premiere Pro CS6 from Final Cut Pro 7. Are there any tips for me?Answer: See this article by Scott Simmons on Pro Video Coalition: http://provideocoalition.com/ssimmons/story/105_adobe_premiere_pro_cs6_questions_answered
Issue: I just switched to Premiere Pro CS6 from Final Cut Pro 7. Are there any missing features between the applications?Answer: See this article: http://provideocoalition.com/ssimmons/story/10_fcp_things_fcp_editors_might_be_missing_in_ adobe_premiere_pro_cs6
Issue: Are there any good, free Premiere Pro CS6 tutorials available?Answer: See these tutorials: http://library.creativecow.net/series/Premiere-Pro-Basics-CS6--above-with-Andrew-Devis
Issue: How do I optimize Premiere Pro CS6 for best performance?Answer: See this article: https://www.video2brain.com/en/courses/after-effects-premiere-pro-performance-workshop
Issue: How do I operate the multicam function in Premiere Pro CS6?See this article: http://provideocoalition.com/ssimmons/story/working_with_multicam_in_adobe_premiere_pro_cs 6Hi ..
GO to website www.Apache.org
down load Apache tomcat server .
install it ...
Go to sun site
c and download jsp tutorials ...
Go to
(www.coreservlets.com)download book core servlets
u can find lots of nice books supported by sun on sunwebsite ...
Now u r equipped ....
start doing everything (R &D) on server ..
Join This JSP forum and ask any thing u didnt got ..or learn or get confused..
I thing once u go through this ..it will do all what u want
Hope it helps
Best of Luck :)
regds & take care -
"Missing signed entry in resource" for only some users
Hi,
I have recently updated my .jnlp file and .jar file and added some extra jar resources in the new jnlp.
Since this new version, some users receive an error saying
"Missing signed entry in resource:" for one particular resource.
While for other users it works fine.
I have signed the jar with jarsigner.
Does anyone have an idea what could be the problem here?
Thanks very much in advance,
Best regards,
Stein Aerts,
University of Leuven, BelgiumI remember hearing something like this, and had to do with :
1.) what version of jarsigner was used to sign the jar, and
2.) what version of JRE was used to validate the signed jar file on the client.
(including US only vs. International version of JRE)
For the jar that gets this error:
Does it have any empty directories in it., or does it have entries with non-english characters in the resource names ?
What version of the JDK was used to run jarsigner to sign this jar, and what jre is the application running on ?
Maybe you are looking for
-
Cost for a new hard drive and service
Hi! I need a qoute for my HP dv4 hard drive replacement since my warranty expired last year. it says on the screen: "Primary Hard Disk Self test Quick Test Hard Disk 1 Fault Primary Hard Disk Self Test Full Test Hard Disk 1 Fault SMART check tp Exit
-
Hi Friends, Can we take the printout of ARE1 after saving the ARE document....say while creating the ARE1 if I forget to check the Print ARE box and post the document ....can I take the printout of the same going to change/display mode? Thanks Ivy
-
Bug in method restoreView of ViewHandler in JSF 1.2
Hello, I changed from version 1.1 to 1.2 of JSF, and I use the standard implementation (SUN). And now, when I invoke the method restoreView of the ViewHandler, I retrieve a wrong UIViewRoot object. So I checked in the source code and noticed that the
-
Re-installing windows 7 on new hard drive
Hi The hard drive failed on my hp pavilion p6-2180ea, 4 months out of warranty. I've replaced the hard drive myself but my pc never came with a windows 7 installation disc, I have the product key on a label on the machine, can download or aquire th
-
Recommended method , tips and Howto for dynamics page generated on run time
Hi all ! I'm working on a jee5 (JPA/EJB3/JSF) application using NB6 and them VWP this is for the background. My job is to mock in Java an older app written in a proprietary language . Now my problem is this : How one can manage to create a "on-the ru