Accenture NJ mostly ask question on Collection like
1)How to sort Objcts and how treeset sort them
2)Explain mechanism of Hashcode finding in Java
3)Name some of the Sorted collection.
Hi frnd can i any one kindly can post for me portlet,hibernate
and spring example application and with flow explantion
configuration using Jdeveloper.and related links ar tutorials
kindly please send me .its urgent for me .thanks in
advance...........else can any one send to kondaiah.goddeti@gmail.com
kindly can any one post for me portlet,hibernate,spring
example code and configuration,and some related tutorials plz
its urgent for me....thanks in advance ............
Hi frnds iam new to struts wen iam running helloworld
application using struts iam getting the error as belwo
kindly any one can solve it plzz .....thanks in
advance.........
Nov 18, 2009 9:27:46 PM
org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING:
[SetPropertiesRule]{Server/Service/Engine/Host/Context}
Setting property 'source' to
'org.eclipse.jst.jee.server:StrutsExample1' did not find a
matching property.
Nov 18, 2009 9:27:46 PM
org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING:
[SetPropertiesRule]{Server/Service/Engine/Host/Context}
Setting property 'source' to
'org.eclipse.jst.jee.server:Struts1' did not find a matching
property.
Nov 18, 2009 9:27:46 PM
org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which
allows optimal performance in production environments was
not found on the java.library.path: C:\Program
Files\Java\jre6\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\sys
tem32;C:\WINDOWS;C:/Program
Files/Java/jre6/bin/client;C:/Program
Files/Java/jre6/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOW
S\System32\Wbem;C:\Program Files\Java\jdk1.5.0_18\bin;
Nov 18, 2009 9:27:46 PM
org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8081
Nov 18, 2009 9:27:46 PM org.apache.catalina.startup.Catalina
load
INFO: Initialization processed in 678 ms
Nov 18, 2009 9:27:46 PM
org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Nov 18, 2009 9:27:46 PM
org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Nov 18, 2009 9:27:46 PM
org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Nov 18, 2009 9:27:46 PM
org.apache.catalina.core.ApplicationContext log
SEVERE: Error loading WebappClassLoader
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@ca2dce
org.apache.struts.action.ActionServlet
java.lang.ClassNotFoundException:
org.apache.struts.action.ActionServlet
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap
pClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap
pClassLoader.java:1233)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar
dWrapper.java:1095)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrappe
r.java:993)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand
ardContext.java:4149)
at
org.apache.catalina.core.StandardContext.start(StandardConte
xt.java:4458)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1045)
at
org.apache.catalina.core.StandardHost.start(StandardHost.jav
a:722)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine
.java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi
ce.java:516)
at
org.apache.catalina.core.StandardServer.start(StandardServer
.java:710)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:583
)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2
88)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41
3)
Nov 18, 2009 9:27:46 PM
org.apache.catalina.core.StandardContext loadOnStartup
SEVERE: Servlet /Struts1 threw load() exception
java.lang.ClassNotFoundException:
org.apache.struts.action.ActionServlet
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap
pClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(Webap
pClassLoader.java:1233)
at
org.apache.catalina.core.StandardWrapper.loadServlet(Standar
dWrapper.java:1095)
at
org.apache.catalina.core.StandardWrapper.load(StandardWrappe
r.java:993)
at
org.apache.catalina.core.StandardContext.loadOnStartup(Stand
ardContext.java:4149)
at
org.apache.catalina.core.StandardContext.start(StandardConte
xt.java:4458)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1045)
at
org.apache.catalina.core.StandardHost.start(StandardHost.jav
a:722)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.j
ava:1045)
at
org.apache.catalina.core.StandardEngine.start(StandardEngine
.java:443)
at
org.apache.catalina.core.StandardService.start(StandardServi
ce.java:516)
at
org.apache.catalina.core.StandardServer.start(StandardServer
.java:710)
at
org.apache.catalina.startup.Catalina.start(Catalina.java:583
)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:2
88)
at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:41
3)
Nov 18, 2009 9:27:46 PM
org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8081
Nov 18, 2009 9:27:46 PM org.apache.jk.common.ChannelSocket
init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Nov 18, 2009 9:27:46 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31 config=null
Nov 18, 2009 9:27:46 PM org.apache.catalina.startup.Catalina
start
INFO: Server startup in 616 ms
My application URL :
http://localhost:8080/Application/Login.jsp. When a user
enter this url in IE then, how it get Login.JSP Page
exactly? what are the processes will happen from when we
submit the URL to get Login.jsp?
I need some details about an employee. i have only the
employee id in my presentation layer(JSP).I entered that ID
and click "Show Details" Button. Question is how the JSP
pass that id to Controller layer and DAO and what mechanism
we are using to retrive data from DB and how the data
passed to JSP as a Output. Please explain in detail.
which is advanced deep technology in java launched by the
sun microsystem??? The answer is very logical
If u need correct answer mail me at priya_gupta@gmail.com
Given:
11. public static void main(String[] args) {
12. Integer i = uew Integer(1) + new Integer(2);
13. switch(i) {
14. case 3: System.out.println(”three”); break;
15. default: System.out.println(”other”); break;
16. }
17. }
‘What is the result?
1 three
2 other
3 An exception is thrown at runtime.
4 Compilation fails because of an error on
line 12.
Given:
1. package test;
2.
3. class Target {
4. public String name = “hello”;
5. }
What can directly access and change the value of the
variable name?
1 any class
2 only the Target class
3 any class in the test package
4 any class that extends Target
84. try {
85. ResourceConnection con =
resourceFactory.getConnection();
86. Results r = con.query(”GET INFO FROM CUSTOMER”);
87. info = r.getData();
88. con.close();
89. } catch (ResourceException re) {
90. errorLog.write(re.getMessage());
91. }
92. return info;
Which is true if a ResourceException is thrown on line 86?
1 Line 92 will not execute.
2 The connection will not be retrieved in line
85.
3 The resource connection will not be closed
on line 88.
4 The enclosing method will throw an exception
to its caller.
hi am an engineering student and my next plan is for ms in
either in us or australia i got my passport but i dont know
anything bout visa can u give brief idea
1)How to get prepared for visa and
2)How to apply for top universities and
3)How to pay the fee and so on
These all are basic questions plz give me a clear idea
75
CANDOR Services, a leading provider of next-generation
staffing services, draws from unparalleled resources and
expertise to offer you innovative, quality workforce
solutions.
We have openings for "J2EE ARCHITECT" with one of our
clients. Client is CMM Level 5 company.
Location : Hyderabad
Roles
A J2EE Architect with expertise in Web Architecture
(covering Spring MVC, AOP, Webflow, Struts, Tiles,
Hibernate, JAAS, Web Application Performance Turning &
Measurement) as part of Solutions Architecture Group:
Position involves in providing architectural vision,
conceptualize and provide architectural approaches, create
models and specifications, and validating the architecture
against requirements and assumptions.
Also involves in providing oversight over ongoing projects
as a reviewer and auditor
Educational Requirements
A minimum of BS or MS (MS preferred) in Computer Science or
Engineering or equivalent experience in the IT industry.
Skill Sets
Overall 8-10 Years of experience in IT industry with 3-4
Years of experience in Service industry
Technology Skills
Java, J2EE, MVC Frameworks (Struts/WebWork/JSF/Spring),
Spring, AOP, WebFlow, ORM Tools
(Hibernate/Ibatis/JDO/Tapestry), App servers, Databases,
JAAS
Web Application Performance Tuning & Measurement
6+ years Java software development experience.
4+ years of enterprise Java development, with emphasis on
web-based applications.
Strong relational database and SQL skills (5+ years).
Mail to : anuradha.k@candorservices.co.in
What are the steps to write p-to-p model application?
129
There is a Banking application. It has 2 types of account,
Savings and Current. Write a method calculateInterest by
passing an ArrayList of these account objects and calculate
Interest accordingly. Write code for this situation
Write a interface "CarOperations" with the following
methods
void turnOnEngin()
void turnOffEngin()
void turnOnLigths()
void turnOffLights()
void turnLeft()
void turnRight()
void accelerate()
void deaccelerate()
void putBreaks()
void releaseBreaks()
19
what is Activation Instantinator?
216
HOW MUCH PERCENTAGE WE DEDUCT FOR OUR SUPPLIERS OR OTHER
PROFESSIONALS
169
In my project iam integrating telephone line using some
bridge. To connect my project to that telephone line they
have give some jar file. Using dat i connected with that..
To handle that event like call attented, call disposed and
idle time they have give one event listener class.. I did
every thing and this class is alsoo called when a
particular event is fired. The only thing is i wanna call
EJB from that event listener method.. But the EJB is not
getting initated and exception is thrown. This below shownn
error is occured only i try to call it from this event
listener class. In other places EJB calling is working
fine..
javax.naming.NoInitialContextException: Cannot instantiate
class: org.jnp.interfaces.NamingContextFactory [Root
exception is java.lang.ClassNotFoundException:
org/jnp/interfaces/NamingContextFactory]
at javax.naming.spi.NamingManager.getInitialContext
(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx
(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>
(InitialContext.java:197)
at
com.kgisl.etrac.desk.servicelocator.ServiceLocator.getInitia
lContext(ServiceLocator.java:82)
at
com.kgisl.etrac.commonUtils.EventListener.getAdministrationE
JBRemote(EventListener.java:206)
at
com.kgisl.etrac.commonUtils.EventListener.CallDispositioned
(EventListener.java:65)
Caused by: java.lang.ClassNotFoundException:
org/jnp/interfaces/NamingContextFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.sun.naming.internal.VersionHelper12.loadClass
(VersionHelper12.java:42)
at javax.naming.spi.NamingManager.getInitialContext
(NamingManager.java:654)
... 6 more
javax.naming.NoInitialContextException: Cannot instantiate
class: org.jnp.interfaces.NamingContextFactory [Root
exception is java.lang.ClassNotFoundException:
org/jnp/interfaces/NamingContextFactory]
at javax.naming.spi.NamingManager.getInitialContext
(NamingManager.java:657)
at javax.naming.InitialContext.getDefaultInitCtx
(InitialContext.java:247)
at javax.naming.InitialContext.init(InitialContext.java:223)
at javax.naming.InitialContext.<init>
(InitialContext.java:197)
at
com.kgisl.etrac.desk.servicelocator.ServiceLocator.getInitia
lContext(ServiceLocator.java:82)
at
com.kgisl.etrac.commonUtils.EventListener.getAdministrationE
JBRemote(EventListener.java:206)
at
com.kgisl.etrac.commonUtils.EventListener.CallDispositioned
(EventListener.java:65)
Caused by: java.lang.ClassNotFoundException:
org/jnp/interfaces/NamingContextFactory
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at com.sun.naming.internal.VersionHelper12.loadClass
(VersionHelper12.java:42)
at javax.naming.spi.NamingManager.getInitialContext
(NamingManager.java:654)
... 6 more
It would be more help full if i get the solution
10x in advance
balaji
119
Is there any use of an abstract class which has no methods
and no attributes?