Java

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.

  • 1272 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?

  • 958 views
  • 7 answers
  • 25 votes

Could someone explain me what is Recursion or recursive function?

  • 1081 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.

  • 1491 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!!

  • 1447 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?

  • 973 views
  • 4 answers
  • 10 votes

Hi Experts of techyv

How does the garbage collection work in Java?

Thanks in advance

 

  • 1144 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?

  • 4761 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?

 

  • 1791 views
  • 4 answers
  • 11 votes

Latest Articles

From Lost To Found: Restore Your Data On Windows 11

Are you worried about data you lost during some operation on your Windows 11? Don’t worry; we are here to guide you on how to recover the lost data from your Windows device in...

How To Differentiate Demand Generation From Lead Generation

Lead generation and demand generation are two of the business strategies that help businesses grow. It creates a pipeline of interested customers looking to find out more. Lead generation on the contrary, is able...

Redefining Craftsmanship: The Role Of Collaborative Robots In Modern Welding

Welding has long been regarded as both a science and an art, requiring skillful craftsmanship and precision. Traditionally, welders have relied on their expertise and techniques to join materials, often under challenging conditions. However,...

Latest Blogs

Top 10 New Laptop Entrants That Shook The Public

The finest laptops are powerful enough to do your daily tasks, comfortable enough to use all day, and power-efficient enough to ensure you don't run out of battery power unexpectedly. Of course, all these...

10 Facts About The Dark Web

Before getting into knowing the facts, let’s have a brief about the Dark Web. The dark web is the data of the World Wide Web that is accessible only through special software, combinations, or...

Top 10 Latest Steam Cleaner Machines

While looking for a chemical-free way to clear and purify both durable and low grounds in your home, a steam cleaner is an excellent solution. With a spurt of superheated steam, this cleaning equipment...

Latest Tips

Top 10 Internet Monitoring Software

Internet monitoring software keeps a log of all internet activities. You can install this type of software on your computer remotely or by the administrator. An operating console controls this software. This type of...

Top 10 Best Partition Manager Software

A Hard Disk Drive is usually partitioned into various smaller drives for optimization. A partition manager helps make this process easier and more efficient. Here, let’s discuss the top 10 best partition manager software. 1....

Top 10 Best Online Music Production Software

Music production is the initial stage of any song. Music production can be done either in studios or at home using an online music production software. Here, let’s discuss the top 10 best online...