30 C
Chennai, India
Saturday, July 25, 2020 01:31 AM

Java

I am setting up a web application on my machine. It uses EJB to access the data in a MySQL database. When I attempt to access the website, I get an EJB exception saying, "could not create a connection". I checked all configuration files but they look alright. Please help me to get to the bottom of this problem.

  • 1232 views
  • 10 answers
  • 24 votes

The application we are developing requires to find the levels of authority for a given user. The levels of authority follows a hierarchical tree like structure. An employee can have any number of supervisors. In order to traverse the tree structure, it is proposed to use recursion or a loop. What would be better?

  • 930 views
  • 7 answers
  • 25 votes

Could someone explain me what is Recursion or recursive function?

  • 1049 views
  • 6 answers
  • 11 votes

Hello techyV experts.

Dependency injection error in Java server faces managed form bean (Java 6 and JSF 2.0)I need help in diagnosing a dependency injection problem. I have a class in my web project that is calling an EJB3 bean.

I am using JSF 2.0 and have a managed bean that is handling the user interface. The managed bean is set as Request Scope. I am getting a null reference exception when i attempt to access the EJB reference in the constructor.

  • 1461 views
  • 9 answers
  • 14 votes

I have installed the JRE and JDK both on my pc (windows xp sp3) but when I try to compile with javac, it is not recognised! Please help, I have an assignment to complete!!

  • 1406 views
  • 7 answers
  • 20 votes

Hey,

We are planning to migrate from Struts to JSF. Can someone suggest a good JSF framework with good UI components?

  • 937 views
  • 4 answers
  • 10 votes

Hi Experts of techyv

How does the garbage collection work in Java?

Thanks in advance

 

  • 1103 views
  • 3 answers
  • 20 votes

I see CPU starvation messages on my Websphere server logs but there has been no impact on our application. Is this something I should be worried about? How can I find the cause for this?

  • 4719 views
  • 2 answers
  • 11 votes

Hi, sometimes when I run my Java code, I get some exceptions but no stacktrace. I have encountered these even in debug mode. Does anyone know what I might be doing wrong?

 

  • 1752 views
  • 4 answers
  • 11 votes

Articles

Blogs

Tips