Is it ok to initialize an attribute (Addresses) of a Value Object while declaring that attribute.
eg Suppose I define a value object named Customer like this
public class Customer implements Serializable
{
private String firstName;
private String lastName;
private Collection Addresses =...
I have a problem with queries. Actually our DB schema for development and UAT are different.
For eg. we use following query in our Development environment.
"Select * from DWSTG.CUST_PRDCT where GRP_MBR_ID= ? ;
but for UAT we need to change the schema to TMSTG.CUST_PRDCT from...
I have an application running on a IBM WebSpehere application server. I connect to it thru a port. Is there any setting by which I can specifies that connect to that server using some xxxx port but if that port is busy then use any available port. Please let me know asap.
Thanks
Is there any mechanism or utility thru which I can test connecting to a websphere server at a specific port from another websphere sercer ?
Thanks in advance.
Thanks sedj.
I tried what u had told and I guess now its going bit further than it was before. But its giving me following error now-
java.rmi.RemoteException: CORBA NO_RESPONSE 0x4942fb01 Maybe; nested exception is:
org.omg.CORBA.NO_RESPONSE: Response timed out minor code: 4942FB01...
What does the following error mean ? What is the possible cause of this error ?
java.lang.IncompatibleClassChangeError: com.ibm.CORBA.iiop.ORB method createObjectURL(Ljava/lang/String;)Lcom/ibm/CORBA/iiop/ObjectURL;
I want to call an EJB from another EJB. Both the EJBs are in different WebSphere Application Server.
Basically I have a project running on one server & I want to interact with another project on a different Server. How do I do it without taking the JAR file of the other project ? I just want to...
I have an object 'FOO' which implements Serializable & it contains following Object 'XYZ' within it. Is it correct to have 'ABC' as Serializable as it is Static class within 'XYZ' ? I intend to pass 'FOO' to EJB using RMI. So, it should be Serializable which implies that 'XYZ' & 'ABC' should...
I have an amount field on my JSP page. This field can contain -ve values as well but I don't want to show the -ve sign on the page. How do I do that ? The data is passed thru a form (value object in Struts framework).
Thanks in advance
I'm giving the whole prog I had written for showing a menu item. The prog is opening the frame with menubar on it containing 2 menus namely 'File' & 'Edit'. But when I click on 'File' nothing happens. Actually I want to see the menuitems 'Cut' & 'Copy' on my file menu. Pls let me know if...
I have one interface say 'I' with say 10 methods. I want to use only 5 methods from it in one of my class 'A', some other class 'B' may use rest of the methods or may be all of them. But for class 'A' I want only 5 methods. How can I achieve that ? Coz if I implement interface 'I' in class 'A'...
Could u help me in the follwing problem ?
We are mentioning the database URL as followes. Here the problem is if we don't specify the SelectMethod=cursor clause in the URL it gives some error (pasted below). Can we avoide that error without using the SelectMethod clause ?
- <database>...
We have two database servers. Both the servers have same databases. Actually we set up two same databases one for development & other for testing. Whenever we make changes to development DB we replicate the same to test DB as well. But despite of taking care sometimes we miss to replicate...
I'm getting some error when I try to run db2look cmd with some options to generate ddl of my existing database. Actually, I have to move the database across different platform. So I need to generate the ddl for whole database & then run that script to create the new database.
this is the output...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.