Win a copy of Rust Web Development this week in the Other Languages forum!

aaaaaaaa aaaaaaaaaaaa

Greenhorn
+ Follow
since Sep 14, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by aaaaaaaa aaaaaaaaaaaa

Hi,

I am preparing a tree2 as a backing bean.

In tree2, facets are needed to display the tree.

But, while constructing backing bean i am unable to consturct a component for facet programmatically.

So, anybody please suggest how to create a facet in backing bean.


regards,
RedZond
12 years ago
JSF
Hi,

could anybody please suggest a good book or good material for JSF.


regards,
akkaldevi
12 years ago
JSF
Hi,

i am new to JSF, and i would like to learn it.


So, could any body of you please suggest a good book on JSF.


Regards,
yugi
13 years ago
JSF
Hi

i am interested to write the SCJP exam 6.

so, i request you to please suggest any websites which offer free SCJP mock exams

regards,
Yugandhar Akkaldevi
Hi,

i am a java programmer. But i am very zealous to learn more and more about Threads and i want to become perfect in that .

i just dont want to learn the only features that are there in J2SE 5.0, but i want to know all the features regarding Threads in java.

So will you please suggest any good book thereby i could become perfect in threads.

Thank you

regards,
Yugandhar Akkaldevi
Hai,
i am new to jboss and interested to learn jboss, so will you please suggest a good book regarding jboss.

by
Yugandhar A
14 years ago
Hi,
i am well acquainted with servlets, jsps,and now i would like to learn Ajax.
so, will you please suggest a good book on Ajax to start with.

i eagarly wait for your valueable reply.

Thanks and regards,
Yugandhar Akkaldevi
Hi,
i am new to SOA and WebServices and request you to please suggest a good book on the respective topic.

regards,
Yugandhar Akkaldevi
14 years ago
Hi,

i am very much intrested to learn SOA and Webservices , so will please suggest a good book on these topics.


regards,
Yugandhar Akkaldevi
14 years ago
Hi,
i am callow to SOA and webservices and i am very eagar to learn it. so, will you please suggest a good book on SOA and WebService.


regards,
Yugandhar Akkaldevi
14 years ago
Hai to all,

i request you to please suggest a good book on struts 1.2.7 or above.

i eagarly wait for your reply.

regards,
Yugandhar Akkaldevi
14 years ago
Hi,
i request you to please suggest a good book on XML.
This should cover DTDs, Schemas, Parsers (SAX and DOM) especially.

regards,
Yugandhar Akkaldevi
Hai,

I wrote a stateless session bean as below.
I am using weblogic 8.1 SP5.
This ejb has been deployed successfully, but the problem is how can i call the business methods by passing the 'principal' name.
I request you to please help me in writing the client by passing my principal name.

#MySession.java (Component Interface)
-------------------------------------
package mysessionpkg;
import java.rmi.RemoteException;
import javax.ejb.EJBObject;

public interface MySession extends EJBObject {
public int add(int a, int b)throws RemoteException;
public int sub(int a, int b)throws RemoteException;

}

#MySessionHome.java (Home Interface)
--------------------------------------
package mysessionpkg;
import java.rmi.RemoteException;
import javax.ejb.CreateException;
import javax.ejb.EJBHome;

public interface MySessionHome extends EJBHome {
public MySession create() throws RemoteException, CreateException;

}

#MySessionBean.java (Bean class)
-----------------------------------
package mysessionpkg;

import java.rmi.RemoteException;
import javax.ejb.EJBException;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;

public class MySessionBean implements SessionBean {

SessionContext ctx;
public void setSessionContext(SessionContext arg0) throws
EJBException,RemoteException {
ctx = arg0;
System.out.println("from seSessionContext()....");

}

public void ejbRemove() throws EJBException, RemoteException {

System.out.println("from ejbRemove().....");
}

public void ejbActivate() throws EJBException, RemoteException {

System.out.println("from ejbActivate()....");
}

public void ejbPassivate() throws EJBException, RemoteException {

System.out.println("from ejbPassivate().....");
}
public void ejbCreate() {
System.out.println("from ejbCreate().....");
System.out.println("principal name = " + ctx.getCallerPrincipal
().getName());
}
public int add(int a, int b){
System.out.println("from add().....");
System.out.println("principal name = " + ctx.getCallerPrincipal
().getName());
return (a+b);
}
public int sub(int a, int b){
System.out.println("from sub().....");
return (a-b);
}

}

ejb-jar.xml
-------------
<!-- ?xml version="1.0" encoding="UTF-8"? -->
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN'
'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>


<ejb-jar>
<display-name>MySession</display-name>
<enterprise-beans>
<session>
<display-name>MySession</display-name>
<ejb-name>MySession</ejb-name>
<home>mysessionpkg.MySessionHome</home>
<remote>mysessionpkg.MySession</remote>
<ejb-class>mysessionpkg.MySessionBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>

<assembly-descriptor>
<security-role>
<role-name>CEO</role-name>
</security-role>
<method-permission>
<role-name>CEO</role-name>
<method>
<ejb-name>MySession</ejb-name>
<method-name>add</method-name>
</method>
<method>
<ejb-name>MySession</ejb-name>
<method-name>sub</method-name>
</method>
</method-permission>
</assembly-descriptor>
</ejb-jar>


weblogic-ejb-jar.xml
---------------------------
<!DOCTYPE weblogic-ejb-jar PUBLIC
'-//BEA Systems, Inc.//DTD WebLogic 8.1.0 EJB//EN'
'http://www.bea.com/servers/wls810/dtd/weblogic-ejb-jar.dtd'>

<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>MySession</ejb-name>
<jndi-name>MySession</jndi-name>
</weblogic-enterprise-bean>

<security-role-assignment>
<role-name>
CEO
</role-name>
<principal-name>
Yugi
</principal-name>

</security-role-assignment>
</weblogic-ejb-jar>


Thank you.

regards,
Yugandhar Akkaldevi
Hai,
will you please suggest a good book for EJB.

Thank you.


by
Yugandhar Akkaldevi
Hai,

I am working on swings.

will you please suggest me to create a Date TextField, which should have the following properties:

1) The text field should look like --/--/----(MM/DD/YYYY).

2) When i enter a digit in the first placeholder of MM, and if that digit
is more than 1 then that placeholder should be filled with 0 (zero).
what I mean is if we enter a digit in any placeholder and if that
digit is invalid for that placeholder then that placeholder should be
defaultly filled with zero.

I request you to please give the solution as early as possible and i eagarly wait for your reply.

by
Yugandhar Akkaldevi
15 years ago