Merhaba, Bu makalemizde Netbeans IDE kullanarak weblogic uzerinde JSF uygulamasini nasil deploy ve run edebiliecegimizi gorecegiz.
Asagidaki adimlari tek tek yaparak sonuca ulasacaz.Ve uygulamamiz niyahet deploy ettik.
Kullandigim kodlar.
UserBean.java
import javax.faces.application.FacesMessage;
import javax.faces.bean.ManagedBean;
import javax.faces.context.FacesContext;
@ManagedBean(name = "ub")
public class UserBean {
private String name;
private String surname;
private int age;
public void doAction() {
FacesContext.getCurrentInstance().addMessage(
null, new FacesMessage("name :" + name + ", surname :" + surname + ", age :" + age));
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSurname() {
return surname;
}
public void setSurname(String surname) {
this.surname = surname;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
}
bape
YanıtlaSiloff-white
off white hoodie
off white jordan
curry 9