Top "Javabeans" questions

A javabean is a custom class which often represents real-world data and encapsulates private properties by public getter and setter methods.

Spring - set a property only if the value is not null

When using Spring, is it possible to set a property only if the value passed is not null? Example: <…

java spring javabeans
.dll already loaded in another classloader?

I have a webapp running under Tomcat 3.2.1 that needs to make JNI calls in order to access data and methods …

web-applications java-native-interface javabeans
Declaring an array of objects in a Spring bean context

I'm trying to create an array of objects in a Spring context file so I can inject it to a …

java spring javabeans
BeanUtils.cloneBean() deep copy

If all the objects within the bean implement Serializable interface, will BeanUtils.cloneBean() do a deep copy?

java javabeans deep-copy apache-commons-beanutils
How to overwrite Spring service beans by name, using annotations only

Given I have a Spring bean configured as @Service("myService") public class DefaultService extends MyService { } and a class using this …

spring javabeans overwrite autowired inject
Could not autowire. No beans of SimpMessagingTemplate type found

I am configuring Websockets in Spring basically by following the guide provided in the documentation. I am currently trying to …

java javabeans autowired stomp spring-messaging
How do I print a list of strings contained within another list in iReport?

I am creating a simple reporting program using java and iReport (from jasper), which is supposed to create a report …

jasper-reports javabeans ireport
How to copy properties from one Java bean to another?

I have a simple Java POJO that I would copy properties to another instance of same POJO class. I know …

java javabeans
Bean property 'xxx' is not writable or has an invalid setter method

I have spring web application. I have defined the controller bean which takes the bean of service as property. Also …

spring properties javabeans writable
View all fields / properties of bean in JSP / JSTL

I have a bean, ${product}. I would like to view all of the available fields / properties of this bean. So …

jsp properties jstl javabeans