[java ee programming] Re: I can't submit my exercise to j2eehomewo...@sun.com

2010-03-04 Thread miga


On 4 mar, 11:16, Ray Disc reddd...@gmail.com wrote:
 I submitted my homeworks to j2eehomewo...@sun.com but have not completed the
 course Java EE (J2EE) Basics yet. Are those emails sent to that address
 forwarded to j2eehomewo...@javapassion.com? If not, do I have to resubmit
 the homeworks that were sent to the old address?
If you did not received Mail Delivery Daemon, then you may assume they
were received.
For the reminder, please use the new email address.

PS: please, avoid changing the email subject, it makes it difficult to
find a post.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] I can't submit my exercise to j2eehomewo...@sun.com

2010-03-04 Thread ming inn yeoh
Thanks Mihai...
It works fine :) have a nice day!

On Thu, Mar 4, 2010 at 4:01 PM, Mihai DINCA mihai.di...@free.fr wrote:

 Hi Minginn

 The address changed from j2...@sun.com to j2...@javapassion.com.

 So just send the homework to j2eehomewo...@javapassion.com.

 Hope it helps
 mihai

 minginn a écrit :

 Hi everyone..

 I tried to send my homework exercise to j2eehomewo...@sun.com as
 instructed but I kept on received message from Internet Mail Delivery
 that message cannot be delivered to the following recipients. Anyone
 face the same problem? Thanks!!






-- 
minginn

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] Re: sorting in displaytag.

2010-03-03 Thread navS
sure,

code starts from here.



%@ page language=java pageEncoding=UTF-8%
%@ taglib uri=http://struts.apache.org/tags-bean; prefix=bean%
%@ taglib uri=http://struts.apache.org/tags-html; prefix=html%
%@ taglib uri=http://struts.apache.org/tags-logic; prefix=logic%
%@ taglib uri=http://struts.apache.org/tags-tiles; prefix=tiles%
%@ taglib uri=/WEB-INF/displaytag-11.tld prefix=display %
%@ taglib uri=/WEB-INF/rl-display.tld prefix=rl %
%@ page import=java.util.* %
%@ page import=fn.pfolio.value.HALedgerValue%
%...@page import=fn.web.common.NumberGenerator%
%...@page import=fn.pfolio.value.FixedLedgerNameValue%
%...@page import=fn.pfolio.cmp.vo.FixedLedgerAltNameEntityValue%
html:html
script language=javascript src=/pit/js/common.js/script
script language=javascript src=/js/calendar/calendar.js
type=text/javascript/script
script language=javascript src=/pit/js/pitCommonSearchAjax.js
type=text/javascript/script
script
function openModalPopup(){
document.getElementById(equityTable).style.display=block;
document.getElementById(containerId).className=modalStyle;
objDiv = document.getElementById(containerId);
objDiv.style.width = document.body.scrollWidth;
objDiv.style.height= document.body.scrollHeight;
}
function hideModalPopup(){
document.getElementById(equityTable).style.display=none;
document.getElementById(containerId).className=nonmodalStyle;

}
/script
style type=text/css
!--
.style1 {
color: #FF
}
.style2 {
color: #008000
}
--
/style
%
Map currencyRateMap = NumberGenerator.getCurrencyRateMap();
pageContext.setAttribute(currencyRateMap, currencyRateMap);
%
%
Collection ledgerList =
(Collection)request.getAttribute(ledgerList);

String name = null;
String displayName=null;
Long id = null;
String groupName = null;
String idval =null;
Long selId=null;
String viewName=;
String viewCat=;
Long viewtxnLedId=null;


List names = new ArrayList();
List ids =new ArrayList();
List groupNames =new ArrayList();
for (Iterator i = ledgerList.iterator(); i.hasNext();) {
FixedLedgerNameValue fixedLedgerNameValue = (FixedLedgerNameValue)
i.next();
groupName =
fixedLedgerNameValue.getFixedLedgersEntityValue().getLedgerName();
groupName =
fixedLedgerNameValue.getFixedLedgersEntityValue().getLedgerName();
id =
fixedLedgerNameValue.getFixedLedgersEntityValue().getSubgroupId();
for(Iterator j =
fixedLedgerNameValue.getFixedLedgerAltNameList().iterator();
j.hasNext();){
FixedLedgerAltNameEntityValue altName =
(FixedLedgerAltNameEntityValue) j.next();
name = altName.getAltName()+-+groupName;
names.add('+name+');
idval ='+id.toString()++~++groupName+';
ids.add(idval);
displayName=name;
}
}
%
body
html:form action=/secure/pitIncomeExpense
table
  trtd
  div class=pouptabNormalCentera href=/secure/
pitIncomeExpense.do?event=2expenseOverviewExpense/a/div
   /tdtd
  div class=pouptabSelectedCentera href=#
onclick=Cash Receive/a/div
  /td/tr
/table

!-- Code starts to add a transaction --
table
tr
td
table width=98% border=0 cellspacing=0 
cellpadding=0
style=border:1px solid #2662AA; 
 tr
td class=tableexpenseHeading 
width=20%Date(dd/mm/)/td
td class=tableexpenseHeading 
width=20%Description/td
td class=tableexpenseHeading width=20%Amount/td
td width=25% 
class=tableexpenseHeadingCategory/td
td width=15% class=tableexpenseHeadingTransaction 
Mode/td
/tr
tr
td colspan=6

logic:present name=addSuccess 
scope=requestTransaction Added
successfully/logic:present
logic:present name=notAddSuccess 
scope=requestTransaction not
added/logic:present
/tr

tr
td width=19% align=left 
class=tableContents-transactions
style=padding-top: 20px; padding-left: 5px
 rl:calendar  property=txnDate1 id=txnDate1
formName=pitIncomeExpenseMgmtForm/
  /td
td width=24% align=left 
class=tableContents-transactions
html:text property=description1 
styleClass=textboxInput
styleId=txnDescription10 size=22 //td

td width=16% align=left 
class=tableContents-transactions
html:text property=amount1 styleClass=textboxInput
styleId=amount1 size=13 //td

td width=25%  align=left 
class=tableContents-transactions
input name=payee1 type=text
onFocus=this.value='';AutoComplete_Create('payee1',%=names%,%=ids
%,'txnLedgerId1','category1','Direction1')
  

Re: [java ee programming] Re: sorting in displaytag.

2010-03-03 Thread bambang teleinfocom
Hi Naveen :

Well after browsing around your code, i don't like :

 input name=payee1 type=text
onFocus=this.value='';

 AutoComplete_Create('payee1',%=names%,%=ids
 %,'txnLedgerId1','category1','Direction1')
class=textboxInput id=payee1
 size=25
 value=Enter first few letters/



What is this ?

thx

bb

On Wed, Mar 3, 2010 at 4:00 PM, navS naveenkumarnl1...@gmail.com wrote:

 sure,

 code starts from here.



 %@ page language=java pageEncoding=UTF-8%
 %@ taglib uri=http://struts.apache.org/tags-bean; prefix=bean%
 %@ taglib uri=http://struts.apache.org/tags-html; prefix=html%
 %@ taglib uri=http://struts.apache.org/tags-logic; prefix=logic%
 %@ taglib uri=http://struts.apache.org/tags-tiles; prefix=tiles%
 %@ taglib uri=/WEB-INF/displaytag-11.tld prefix=display %
 %@ taglib uri=/WEB-INF/rl-display.tld prefix=rl %
 %@ page import=java.util.* %
 %@ page import=fn.pfolio.value.HALedgerValue%
 %...@page import=fn.web.common.NumberGenerator%
 %...@page import=fn.pfolio.value.FixedLedgerNameValue%
 %...@page import=fn.pfolio.cmp.vo.FixedLedgerAltNameEntityValue%
 html:html
 script language=javascript src=/pit/js/common.js/script
 script language=javascript src=/js/calendar/calendar.js
 type=text/javascript/script
 script language=javascript src=/pit/js/pitCommonSearchAjax.js
 type=text/javascript/script
 script
 function openModalPopup(){
 document.getElementById(equityTable).style.display=block;
 document.getElementById(containerId).className=modalStyle;
objDiv = document.getElementById(containerId);
objDiv.style.width = document.body.scrollWidth;
objDiv.style.height= document.body.scrollHeight;
 }
 function hideModalPopup(){
 document.getElementById(equityTable).style.display=none;
 document.getElementById(containerId).className=nonmodalStyle;

 }
 /script
 style type=text/css
 !--
 .style1 {
color: #FF
 }
 .style2 {
color: #008000
 }
 --
 /style
 %
Map currencyRateMap = NumberGenerator.getCurrencyRateMap();
pageContext.setAttribute(currencyRateMap, currencyRateMap);
 %
 %
 Collection ledgerList =
 (Collection)request.getAttribute(ledgerList);

 String name = null;
 String displayName=null;
 Long id = null;
 String groupName = null;
 String idval =null;
 Long selId=null;
 String viewName=;
 String viewCat=;
 Long viewtxnLedId=null;


 List names = new ArrayList();
 List ids =new ArrayList();
 List groupNames =new ArrayList();
 for (Iterator i = ledgerList.iterator(); i.hasNext();) {
FixedLedgerNameValue fixedLedgerNameValue = (FixedLedgerNameValue)
 i.next();
groupName =
 fixedLedgerNameValue.getFixedLedgersEntityValue().getLedgerName();
groupName =
 fixedLedgerNameValue.getFixedLedgersEntityValue().getLedgerName();
id =
 fixedLedgerNameValue.getFixedLedgersEntityValue().getSubgroupId();
for(Iterator j =
 fixedLedgerNameValue.getFixedLedgerAltNameList().iterator();
 j.hasNext();){
FixedLedgerAltNameEntityValue altName =
 (FixedLedgerAltNameEntityValue) j.next();
name = altName.getAltName()+-+groupName;
names.add('+name+');
idval ='+id.toString()++~++groupName+';
ids.add(idval);
displayName=name;
}
 }
 %
 body
 html:form action=/secure/pitIncomeExpense
 table
  trtd
  div class=pouptabNormalCentera href=/secure/
 pitIncomeExpense.do?event=2expenseOverviewExpense/a/div
   /tdtd
  div class=pouptabSelectedCentera href=#
 onclick=Cash Receive/a/div
  /td/tr
 /table

 !-- Code starts to add a transaction --
 table
 tr
 td
table width=98% border=0 cellspacing=0
 cellpadding=0
 style=border:1px solid #2662AA; 
 tr
td class=tableexpenseHeading
 width=20%Date(dd/mm/)/td
td class=tableexpenseHeading
 width=20%Description/td
td class=tableexpenseHeading
 width=20%Amount/td
td width=25%
 class=tableexpenseHeadingCategory/td
td width=15%
 class=tableexpenseHeadingTransaction Mode/td
/tr
tr
td colspan=6

logic:present name=addSuccess
 scope=requestTransaction Added
 successfully/logic:present
logic:present name=notAddSuccess
 scope=requestTransaction not
 added/logic:present
/tr

tr
td width=19% align=left
 class=tableContents-transactions
 style=padding-top: 20px; padding-left: 5px
 rl:calendar  property=txnDate1 id=txnDate1
 formName=pitIncomeExpenseMgmtForm/
  /td
td width=24% align=left
 class=tableContents-transactions
html:text property=description1
 

[java ee programming] I can't submit my exercise to j2eehomewo...@sun.com

2010-03-03 Thread minginn
Hi everyone..

I tried to send my homework exercise to j2eehomewo...@sun.com as
instructed but I kept on received message from Internet Mail Delivery
that message cannot be delivered to the following recipients. Anyone
face the same problem? Thanks!!

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] sorting in displaytag.

2010-03-02 Thread navS
Hello team,

I am facing some problem with sorting in displaytag.


Statement :-


  I have one jsp page in which the top portion is adding a
transaction.
second portion is to display the added data using display table.


when i add new transaction the page get refreshed to show newly added
data in display table.


some columns has sorting option in display table. when i click some
column header to sort, the page gets refreshed and the transaction
that added just before will add again, i.e., creating duplicate
transactions.


Please help me regarding this.
One more thing is, why it is refreshing the whole page when i click
only sort for a column in display table.


Note: am using struts framework.


Regards
naveeN


-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] sorting in displaytag.

2010-03-02 Thread bambang teleinfocom
Hi Naveen :

Can i see your codes ?

tq

bb

On Wed, Mar 3, 2010 at 2:40 PM, navS naveenkumarnl1...@gmail.com wrote:

 Hello team,

 I am facing some problem with sorting in displaytag.


 Statement :-


  I have one jsp page in which the top portion is adding a
 transaction.
 second portion is to display the added data using display table.


 when i add new transaction the page get refreshed to show newly added
 data in display table.


 some columns has sorting option in display table. when i click some
 column header to sort, the page gets refreshed and the transaction
 that added just before will add again, i.e., creating duplicate
 transactions.


 Please help me regarding this.
 One more thing is, why it is refreshing the whole page when i click
 only sort for a column in display table.


 Note: am using struts framework.


 Regards
 naveeN


 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

RE: [java ee programming] Wicket technology - sample code

2010-02-28 Thread Evans '

Hello Rafal,

Thank you for sharing and I hope everyone here finds it useful.

Regards,
Evans

 Date: Sun, 28 Feb 2010 01:07:18 +0100
 From: rafal_lac...@wp.pl
 To: java-ee-j2ee-programming-with-passion@googlegroups.com
 Subject: [java ee programming] Wicket technology - sample code
 
 Hey,
 
 In last time I'm working in big project where I also use Wicket 
 framework. I think that now I'm quite good specialist in this 
 technology. For persons interested in this technology I send as the 
 sample the java class with its markup. Wicket is a little bit tricky 
 technology and I think that this sample is very good to present it.
 
 Regards from beautiful Norway where I live for a few months :)
 Rafal Laczek
 JAVA class
 public DriftsmeldingerListView(String id){
   super(id)
Content objectcontent = new Content();
add(new Label(TITLE,objectcontent.getTitle())); 
 //Driftsmeldinger
RepeatingView rv = new RepeatingView(rv);
   add(rv);
   WebMarkupContainer wmc = new 
 WebMarkupContainer(rv.newChildId());
   rv.add(wmc);
 
   //Code for UNPLANNED
   wmc.add(new 
 Label(titleUnplanned,objectcontent.getUNPLANNED()));
   wmc.add(new 
 ListViewMessage(listUnplanned,objectcontent.getUnplanned()){
   protected void 
 populateItem(ListItem item) {
Message m = 
 (Message)item.getModelObject();
//item.add(new Label(message1, 
 m.getFormattedTime()));
item.add(new Label(message2un, 
 m.getAffects()));
item.add(new Label(message3un, 
 m.getDetails()));
item.add(new Label(message4un, 
 m.getEvent()));
//item.add(new Label(message5, 
 m.getFormattedMessageTitle()));
item.add(new Label(message6un, 
 m.getTime()));
   }
   });
 
   //Code for PLANNED
   wmc.add(new 
 Label(titlePlanned,objectcontent.getPLANNED()));
   wmc.add(new 
 ListViewMessage(listPlanned,objectcontent.getPlanned()){
   protected void 
 populateItem(ListItem item) {
Message m = 
 (Message)item.getModelObject();
//item.add(new Label(message1, 
 m.getFormattedTime()));
item.add(new Label(message2, 
 m.getAffects()));
item.add(new Label(message3, 
 m.getDetails()));
item.add(new Label(message4, 
 m.getEvent()));
//item.add(new Label(message5, 
 m.getFormattedMessageTitle()));
item.add(new Label(message6, 
 m.getTime()));
   }
   });
 
   //Code for GENERAL
   wmc.add(new 
 Label(titleGeneral,objectcontent.getGENERAL()));
   wmc.add(new 
 ListViewMessage(listGeneral,objectcontent.getGeneral()){
   protected void 
 populateItem(ListItem item) {
Message m = 
 (Message)item.getModelObject();
//item.add(new Label(message1, 
 m.getFormattedTime()));
item.add(new Label(message2g, 
 m.getAffects()));
item.add(new Label(message3g, 
 m.getDetails()));
item.add(new Label(message4g, 
 m.getEvent()));
//item.add(new Label(message5,
 m.getFormattedMessageTitle()));
item.add(new Label(message6g, 
 m.getTime()));
   }
   });
 
  }
 }
 
 
 HTML MARKUP (file)
 body
 wicket:panel
   div wicket:id=TITLE style=font-size:15px;/div
   div wicket:id=rv
 h2 wicket:id=titleUnplanned/h2
div wicket:id=listUnplanned
  !-- span wicket:id=message1/span --
   span wicket:id=message2un/span
   span wicket:id=message3un/span
   span wicket:id=message4un/span
   !--  span wicket:id=message5/span--
   span wicket:id=message6un/span
   span wicket:id=message7un/span
/div

h2 wicket:id=titlePlanned/h2
div wicket:id=listPlanned

[java ee programming] Wicket technology - sample code

2010-02-27 Thread Rafał Laczek
Hey,

In last time I'm working in big project where I also use Wicket 
framework. I think that now I'm quite good specialist in this 
technology. For persons interested in this technology I send as the 
sample the java class with its markup. Wicket is a little bit tricky 
technology and I think that this sample is very good to present it.

Regards from beautiful Norway where I live for a few months :)
Rafal Laczek
JAVA class
public DriftsmeldingerListView(String id){
super(id)
 Content objectcontent = new Content();
 add(new Label(TITLE,objectcontent.getTitle())); 
//Driftsmeldinger
 RepeatingView rv = new RepeatingView(rv);
add(rv);
WebMarkupContainer wmc = new 
WebMarkupContainer(rv.newChildId());
rv.add(wmc);

//Code for UNPLANNED
wmc.add(new 
Label(titleUnplanned,objectcontent.getUNPLANNED()));
wmc.add(new 
ListViewMessage(listUnplanned,objectcontent.getUnplanned()){
protected void 
populateItem(ListItem item) {
 Message m = 
(Message)item.getModelObject();
 //item.add(new Label(message1, 
m.getFormattedTime()));
 item.add(new Label(message2un, 
m.getAffects()));
 item.add(new Label(message3un, 
m.getDetails()));
 item.add(new Label(message4un, 
m.getEvent()));
 //item.add(new Label(message5, 
m.getFormattedMessageTitle()));
 item.add(new Label(message6un, 
m.getTime()));
}
});

//Code for PLANNED
wmc.add(new 
Label(titlePlanned,objectcontent.getPLANNED()));
wmc.add(new 
ListViewMessage(listPlanned,objectcontent.getPlanned()){
protected void 
populateItem(ListItem item) {
 Message m = 
(Message)item.getModelObject();
 //item.add(new Label(message1, 
m.getFormattedTime()));
 item.add(new Label(message2, 
m.getAffects()));
 item.add(new Label(message3, 
m.getDetails()));
 item.add(new Label(message4, 
m.getEvent()));
 //item.add(new Label(message5, 
m.getFormattedMessageTitle()));
 item.add(new Label(message6, 
m.getTime()));
}
});

//Code for GENERAL
wmc.add(new 
Label(titleGeneral,objectcontent.getGENERAL()));
wmc.add(new 
ListViewMessage(listGeneral,objectcontent.getGeneral()){
protected void 
populateItem(ListItem item) {
 Message m = 
(Message)item.getModelObject();
 //item.add(new Label(message1, 
m.getFormattedTime()));
 item.add(new Label(message2g, 
m.getAffects()));
 item.add(new Label(message3g, 
m.getDetails()));
 item.add(new Label(message4g, 
m.getEvent()));
 //item.add(new Label(message5,
m.getFormattedMessageTitle()));
 item.add(new Label(message6g, 
m.getTime()));
}
});

 }
}


HTML MARKUP (file)
body
wicket:panel
  div wicket:id=TITLE style=font-size:15px;/div
  div wicket:id=rv
h2 wicket:id=titleUnplanned/h2
   div wicket:id=listUnplanned
 !-- span wicket:id=message1/span --
  span wicket:id=message2un/span
  span wicket:id=message3un/span
  span wicket:id=message4un/span
  !--  span wicket:id=message5/span--
  span wicket:id=message6un/span
  span wicket:id=message7un/span
   /div
   
   h2 wicket:id=titlePlanned/h2
   div wicket:id=listPlanned
 !-- span wicket:id=message1/span --
  span wicket:id=message2/span
  span wicket:id=message3/span
  span wicket:id=message4/span
  !--  span wicket:id=message5/span--
  span wicket:id=message6/span
  span wicket:id=message7/span
   /div
   
   h2 

[java ee programming] Re: javac??

2010-02-26 Thread JKid314159
Hi Again!

Great advice.

What I did was to go into my Environmental Variables and into the
System variables window. I set a variable JAVA_HOME with the value C:
\Program Files\Sun\SDK\jdk and then placed this in the Path as ;
%JAVA_HOME%\bin at the end.

Thank you all for responding.  This is great.  Now I just need to
figure out how to make it work with Eclipse.

Best,
Alex

On Feb 25, 11:06 pm, Mansee Mongia manseemon...@gmail.com wrote:
 Yes you are right you need to create JAVA_HOME variable which would be under
 system variable and its value should be path where Java Development Kit is
 installed (For example C:\Program Files\Java\jdk1.6.0_17)

 The PATH variable which is already defined under System variable - add path
 value up to  bin of jdk ( for example :C:\Program
 Files\Java\jdk1.6.0_17\bin)

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] definition of in-built functions

2010-02-26 Thread ANUJ KUMAR
How can we see the definition of the functions in the package we import.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] definition of in-built functions

2010-02-26 Thread Daniel Escasa
Sabi ni ANUJ noong Sat, Feb 27, 2010 at 12:57 AM:
 How can we see the definition of the functions in the package we import.

The closest thing I can think of is the javadoc files.

-- 
Daniel O. Escasa
independent IT consultant and writer
contributor, Free Software Magazine (http://www.freesoftwaremagazine.com)
personal blog at http://descasa.i.ph
Twitter page at http://www.twitter.com/silverlokk
If we choose being kind over being right, we will be right every time.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] definition of in-built functions

2010-02-26 Thread Edward Spilsbury
Almost any Java package will have a Javadoc attached or available, and will 
give you the calling structure and information about the data members and 
methods of the classes in the package. The source code for the various Java 
packages is available from java.sun.com.





From: ANUJ KUMAR kumar.anuj...@gmail.com
To: java-ee-j2ee-programming-with-passion@googlegroups.com
Sent: Fri, February 26, 2010 8:57:38 AM
Subject: [java ee programming] definition of in-built functions

How can we see the definition of the functions in the package we import.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] Re: javac??

2010-02-25 Thread redsword

1) java.exe definately installed
2) I do not think you installed JDK, but  only the JRE is installed .
Thus java is there but not javac
Or other posibilty is that javac is not  in C:\Program Files\Java
\jdk1.6.0_02\bin  
Verify by looking at C:\Program Files\Java\jdk1.6.0_02\bin using
windows explorer and
see if you have the javac.exe
3) verify the javac,exe is in the C:\Program Files\Java
\jdk1.6.0_02\bin  as said above  --
  if yes , assuming the environment variable is set
   open a new command line --  and type in javac it should say
something like
Usage: javac options source files
where possible options include:

if the file is there but -- your still getting error -- check your
path varibale by typing in
set  path

4) this one is a bummer  -- i do not really know why. See if a restart
of windows  help
if not unistall java stuff, then just install just the jdk
5 ) how do know the server is running? Is there a icon on the right
hand side of your task
bar? then right ckick on it -- it should have an option to stop it ,
also in the Start menu
look for Sun I think -- I had the similar problem then I remove that
appliaction server.
I also found it very annoying .
 BTW, the fact that the server is running makes me more confused about
#4( acrobat
cannot find java VM)


Hope it helps

On Feb 23, 8:26 pm, JKid314159 lucky314...@gmail.com wrote:
 Hi!

 I was preparing my new computer for this course and dowloaded the JDK
 + Java EE Bundle.  No previous version of Java was installed on this
 machine.
 1)
 command line:
 java -version
 gives the following:
 java version 1.6.0_17
 Java (TM) SE Runtime Environment (build 1.6.0_17-b04)
 Java HotSpot (TM) 64 Bit Server VM (build 14.3-b01, mixed mode).
 2)
 My HelloWorld.java file did not compile with error message:
 javac is not recognized as an internal...
 3)
 Then I went to Environmental Variables and ammended the path with the
 following:
 C:\Program Files\Java\jdk1.6.0_02\bin.
 The path already had the following in it:
 C:\Program Files\Sun\SDK\bin
 4)
 I went to install the Acrobat reader/viewer for free and it would not
 install and gave error:
 Java VM not installed.
 --
 I think I was suppose to install the SE version.  Also, I started the
 server but did not know how to stop it?

 The JDK is installed and so therefore the JRE is installed and I
 thought this would have what is need?

 Can I ask for your feedback on this?

 Thank you,

 Alex
 OS: Windows

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] 4010_websecthreats.zip and 4016_jspbookstore.zip

2010-02-25 Thread Roxana Ionescu
Hello,

I can't download 4010_websecthreats.zip and 4016_jspbookstore.zip
Please help.

Best regards

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: javac??

2010-02-25 Thread JKid314159
HI!
Almost Success??

I am not sure this is the best method.  I think I need to make a
JAVA_HOME variable under Environmental Variables under either User
variables for Computer or System variables?  This is because as
other components are added the JAVA_HOME variable as to be reference
such as when setting up Glassfish or Tomcat.  This is what i am
reading today.

So, the question is, does the variable go into the User variables for
Computer or System variables in my Windows 7 system.  The
installation included a variable PATH with the value  C:\Program
Files\Sun\SDK\bin.
But this variable did not work.

The second question, once the variable JAVA_HOME is created how do I
add that to the PATH variable in the System variables?  I need to do
this from the GUI windows interface not the command prompt.

I appreciate your help on this.  Thank you.
Alex

On Feb 24, 7:02 pm, JKid314159 lucky314...@gmail.com wrote:
 Re:  SUCCESS!!!

 Hi!

 I found my javac in the following folder:
 C:\Program Files\Sun\SDK\jdk\bin

 Went into the Environmental Variables and in the System Variables I
 edited Path.  I ammended this path as
 ;C:\Program Files\Sun\SDK\jdk\bin

 I restarted the machine.  I was able to compile at the command line
 interface with javac.  I'll try it in eclipse.

 Thank you to all the people who sent suggestions.  Thank.

 Alex

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Help on Tomcat port 80 and IIS configuration

2010-02-24 Thread Ramesh A
Hi All,

I need a following configuration.

I have a project which i have deployed in Tomcat
When i have port no. set to 8080 in the Tomcat 6.0\conf\server.xml, i am
able to access it thru http://localhost:8080/myproject
When i have port no. set to 80, i am able to access it thru
http://localhost/myproject. But when i start the defaultwebsite in my IIS
server, i am not able to access http://localhost/myproject.

Can anybody help me out with this. How to establish the IIS to listen when i
have set my tomcat port to 80.

Details:
=
OS : Windows XP
Tomcat server 6.0
Jdk kit 16.08
IIS Version : 5.1

Thanks in advance



-- 
With Cheers  Regards

Ramesh

Pleasure in the job puts perfection in the work.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Re: [java ee programming] Help on Tomcat port 80 and IIS configuration

2010-02-24 Thread Mansee Mongia
Hi Ramesh,

Maybe you can try the following link : http://www.endofnow.com/?p=60  which
describes a way to use port 80 for both IIS and tomcat by assigning multiple
IP addresses to the box and configuring each web server to only listen to
one IP address...
Hope it helps.

-- 
Mansee Mongia

Have an awesome day!! :=)
We will either find a way, or make one!- Hannibal



On Wed, Feb 24, 2010 at 2:23 AM, Ramesh A ramesha...@gmail.com wrote:

 Hi All,

 I need a following configuration.

 I have a project which i have deployed in Tomcat
 When i have port no. set to 8080 in the Tomcat 6.0\conf\server.xml, i am
 able to access it thru http://localhost:8080/myproject
 When i have port no. set to 80, i am able to access it thru
 http://localhost/myproject. But when i start the defaultwebsite in my IIS
 server, i am not able to access http://localhost/myproject.

 Can anybody help me out with this. How to establish the IIS to listen when
 i have set my tomcat port to 80.

 Details:
 =
 OS : Windows XP
 Tomcat server 6.0
 Jdk kit 16.08
 IIS Version : 5.1

 Thanks in advance



 --
 With Cheers  Regards

 Ramesh

 Pleasure in the job puts perfection in the work.

 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] Re: javac??

2010-02-24 Thread JKid314159
Hi again!

I have the following directories on my machine:

Computer\OS(C)\Program Files
Computer\OS(C)\Program Files(x86)
-

I went into the Environmental Variables and have two windows:
Environment Variables
1)-User variables for Family
2)-System variable

In the first window, User variables for Family is set up a variable
called Path which has the following:
C:\Program Files\Sun\SDK\bin
---

I tried the following amendments to this path variable:
C:\Program Files\Sun\SDK\bin.;C:\Program Files\Java\jre6\bin
and
C:\Program Files\Sun\SDK\bin.;C:\Program Files\Java\jdk1.6.0_17\bin
I tried it with the period before the semicolon and without the
period.

I then tried the following in the System variable window amending
Path for the system:
;C:\Program Files\Java\jre6\bin
and
;C:\Program Files\Java\jdk1.6.0_17\bin


I continue to get the javac not recognized.  I looked in my C:\Program
Files\Java folder and found only jre6 folder.  Should there not be a
jdk1.6.0 folder there.  I did not install the SE version separately
but did the EE which I thought would bring this in?

May I ask for your help again?  Thank you.

Alex

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: javac??

2010-02-24 Thread JKid314159
Re:  SUCCESS!!!

Hi!

I found my javac in the following folder:
C:\Program Files\Sun\SDK\jdk\bin

Went into the Environmental Variables and in the System Variables I
edited Path.  I ammended this path as
;C:\Program Files\Sun\SDK\jdk\bin

I restarted the machine.  I was able to compile at the command line
interface with javac.  I'll try it in eclipse.

Thank you to all the people who sent suggestions.  Thank.

Alex

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] Re: javac??

2010-02-24 Thread Hari Prasad
Hi Alex,

Cool !!

Whenever we modify things in environment variable, do not restart the
machine, just restart the command prompt ;-)

Regards
Hari

On Thu, Feb 25, 2010 at 5:32 AM, JKid314159 lucky314...@gmail.com wrote:

 Re:  SUCCESS!!!

 Hi!

 I found my javac in the following folder:
 C:\Program Files\Sun\SDK\jdk\bin

 Went into the Environmental Variables and in the System Variables I
 edited Path.  I ammended this path as
 ;C:\Program Files\Sun\SDK\jdk\bin

 I restarted the machine.  I was able to compile at the command line
 interface with javac.  I'll try it in eclipse.

 Thank you to all the people who sent suggestions.  Thank.

 Alex

 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] Can somebody help me please

2010-02-23 Thread Rafał Laczek
Hi,

Pleaase compare my wicket java class with corresponding html and tell me 
what I'm going wrong.
The comunicate in browser is: WicketMessage: Unable to find component 
with id 'wmc' in [MarkupContainer [Component id = wmc]]. This means that 
you declared wicket:id=wmc in your markup, but that you either did not 
add the component to your page at all, or that the hierarchy does not 
match.[markup = 
file:/C:/Instal/tomcat/apache-tomcat-6.0.16/temp/10-basicPortlets/WEB-INF/classes/no/arrive/portlets/client/ArriveDriftsmeldingerListView.html


JAVA CLASS
Content objectcontent = new Content();
 RepeatingView rv = new RepeatingView(rv);
add(rv);
WebMarkupContainer wmc = new WebMarkupContainer(wmc);
wmc.add(new Label(title, Title));
wmc.add(new Label(list,List));
rv.add(wmc);

new Label(title,objectcontent.getGENERAL());
// for(Message item :msg ){
new 
ListViewMessage(list,objectcontent.getGeneral()){
protected void 
populateItem(ListItem item) {
 Message m = 
(Message)item.getModelObject();
 //item.add(new Label(message1, 
m.getFormattedTime()));
 item.add(new Label(message2, 
m.getAffects()));
 item.add(new Label(message3, 
m.getDetails()));
 item.add(new Label(message4, 
m.getEvent()));
 //item.add(new Label(message5, 
m.getFormattedMessageTitle()));
 item.add(new Label(message6, 
m.getTime()));
 item.add(new Label(message7, 
m.getTest()));
}
};




HTML FILE
div wicket:id=rv
div wicket:id=wmc
   h2 wicket:id=title/h2
   div wicket:id=list
 !--  span wicket:id=message1/span--
  span wicket:id=message2/span
  span wicket:id=message3/span
  span wicket:id=message4/span
  !-- span wicket:id=message5/span--
  span wicket:id=message6/span
  span wicket:id=message7/span
   /div
/div
  /div


-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: ServletExamples J2EE 1.4

2010-02-23 Thread miga


On 23 fév, 16:51, jmt0806 jmt0...@gmail.com wrote:
 Now there seems to be an issue with running the JSPExamples (J2EE1.4)
 Samples:

 G:\My Documents\NetBeansProjects\J2EE\JSPExamples(J2EE1.4)1\nbproject
 \build-impl.xml:535: Problem: failed to create task or type copyfiles
 Cause: The name is undefined.
 Action: Check the spelling.
 Action: Check that any custom tasks/types have been declared.
 Action: Check that any presetdef/macrodef declarations have taken
 place.
 BUILD FAILED (total time: 3 seconds)

Directly from Mr Sang Shin:
the solution is to remove the (J2EE1.4) part of the name of the
project.
Otherwise the labs have been updated to use the examples from the
samples directory, not creating them.
Just for fun, do both. You may learn something.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] javac??

2010-02-23 Thread JKid314159
Hi!

I was preparing my new computer for this course and dowloaded the JDK
+ Java EE Bundle.  No previous version of Java was installed on this
machine.
1)
command line:
java -version
gives the following:
java version 1.6.0_17
Java (TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot (TM) 64 Bit Server VM (build 14.3-b01, mixed mode).
2)
My HelloWorld.java file did not compile with error message:
javac is not recognized as an internal...
3)
Then I went to Environmental Variables and ammended the path with the
following:
C:\Program Files\Java\jdk1.6.0_02\bin.
The path already had the following in it:
C:\Program Files\Sun\SDK\bin
4)
I went to install the Acrobat reader/viewer for free and it would not
install and gave error:
Java VM not installed.
--
I think I was suppose to install the SE version.  Also, I started the
server but did not know how to stop it?

The JDK is installed and so therefore the JRE is installed and I
thought this would have what is need?

Can I ask for your feedback on this?

Thank you,

Alex
OS: Windows



-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] javac??

2010-02-23 Thread deepti monga
Hi Alex
 
You need to have a environment variable called CLASSPATH . The class path is 
the path that the Java runtime environment searches for classes and other 
resource files.
This should point to the lib folder  C:\Program Files\Java\jre6\lib
Then on the command prompt enter javac. This should be recognizable now.
 
Thanks

--- On Wed, 2/24/10, JKid314159 lucky314...@gmail.com wrote:


From: JKid314159 lucky314...@gmail.com
Subject: [java ee programming] javac??
To: Java EE (J2EE) Programming with Passion! 
java-ee-j2ee-programming-with-passion@googlegroups.com
Date: Wednesday, February 24, 2010, 7:56 AM


Hi!

I was preparing my new computer for this course and dowloaded the JDK
+ Java EE Bundle.  No previous version of Java was installed on this
machine.
1)
command line:
java -version
gives the following:
java version 1.6.0_17
Java (TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot (TM) 64 Bit Server VM (build 14.3-b01, mixed mode).
2)
My HelloWorld.java file did not compile with error message:
javac is not recognized as an internal...
3)
Then I went to Environmental Variables and ammended the path with the
following:
C:\Program Files\Java\jdk1.6.0_02\bin.
The path already had the following in it:
C:\Program Files\Sun\SDK\bin
4)
I went to install the Acrobat reader/viewer for free and it would not
install and gave error:
Java VM not installed.
--
I think I was suppose to install the SE version.  Also, I started the
server but did not know how to stop it?

The JDK is installed and so therefore the JRE is installed and I
thought this would have what is need?

Can I ask for your feedback on this?

Thank you,

Alex
OS: Windows



-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en



  

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] 4015_jstlexamples.zip -can't download

2010-02-22 Thread Zofia Zagubieniak
Hi,
I can't download 4015_jstlexamples.zip file.
"HTTP 404 - Nie znaleziono pliku" message is displayed.Please help
regards,
Zosia







-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] 4015_jstlexamples.zip -can't download

2010-02-22 Thread Sang Shin

On 2/22/2010 6:36 AM, Zofia Zagubieniak wrote:

Hi,
I can't download 4015_jstlexamples.zip file.
HTTP 404 - Nie znaleziono pliku message is displayed.
Please help
regards,
Zosia

It should be OK now.

-Sang Shin


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en 




--
---
   Sang Shin, sangshinpass...@gmail.com
 http://www.javapassion.com/SangShinSchedule.html
 (Life is worth living... with Passion!)
---


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] 4018_webappsecurity.zip

2010-02-22 Thread Zofia Zagubieniak
Hi,
I can't download 4018_webappsecurity.zip file
HTTP 404 message is displayed

The same problem I had with 4015 LAB but it is available now .

Regards,




-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Hi everyone

2010-02-22 Thread Santosh Markani
Hi Everyone,
This is Santosh Marakani,
I am really interested in Java.
Can anyone tell me how to integrate Struts with Hibernate.
[image:
?ui=2view=attth=12478f163e3f2bf7attid=0.1disp=attdrealattid=ii_12478f163e3f2bf7zw]
 Santosh Marakani
(571) 296-6319

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=enimage001.gif

[java ee programming] Re: 4018_webappsecurity.zip

2010-02-22 Thread miga


On 22 fév, 15:15, Zofia Zagubieniak zzagubien...@wp.pl wrote:
 Hi,

 I can't download 4018_webappsecurity.zip file

 HTTP 404 message is displayed

 The same problem I had with 4015 LAB but it is available now .
Please, try again, it should work now.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: hi

2010-02-22 Thread miga


On Feb 23, 3:40 am, Munkhdalai Sain dalai8...@gmail.com wrote:
 hi guys,
 Someone sent you homework? I sent homework. However i received error
 message.
Please, check that you replace the last part of the email address with
javapassion.com instead of sun.com.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Help Me with JSF + Spring + Hibernate + Facelets

2010-02-21 Thread Rodrigo Oliveira
   1. Hello everyone! I'm using JSF + Spring + Hibernate + Facelets with
   Eclipse Galileo and Tomcat 6.
   2.
   3.
   4. INFO: The listener
   org.springframework.web.context.ContextLoaderListener is already
   configured for this context. The duplicate definition has been ignored.
   5. 21/02/2010 15:31:37 org.apache.catalina.core.StandardContext
   listenerStart
   6. SEVERE: Error configuring application listener of class
org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
   7. java.lang.ClassNotFoundException:
   org.apache.myfaces.trinidadinternal.webapp.TrinidadListenerImpl
   8. at
   
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
   1360)
   9. at
   
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:
   1206)
   10. at
   org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
   3786)


Someone can help me??

-- 
Rodrigo dos Anjos Oliveira
rodrigo.anjos.olive...@gmail.com
skype: rodrigo.anjos.oliveira
MSN: rodrigo.anjos.olive...@gmail.com
http://www.linkedin.com/in/raoliv
http://twitter.com/rodrigoaoliveir

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] hi

2010-02-20 Thread Munkhdalai Sain
hi.
I done first homework. i sent to zip file  j2eehomewo...@sun.com.
However, i received error message that mail cannot delivered Reason: Remote
SMTP server has rejected address.

What happened?

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] Re: PLEASE HELP ME

2010-02-19 Thread Mihai DINCA

Hi Jiju

In my NetBeans 6.8 I can select from the menu File - New Project, 
then in the dialog box: Java Web - Web Application.


If you cannot do it, it may happens because your NetBeans is missing 
some plugins. When installing, I had chosen the complete installation 
(column All on the download page) that includes Java Web and EE. 
Other packages (such as the PHP installation) may exclude the 
necessary plugins for Web Applications.


If you can create a simple Hello World Java SE project, you will just 
need to install the proper plugins. If you cannot create any Java 
project, than I suggest to reinstall NetBeans, the All package.


But if you already can create simple Java projects, as I said, you will 
need just some more plugins. The menu Tools - Plugins shows the 
installed plugins and the available ones. On my installation, the tab 
Installed shows:

- Java ME
- JavaFX
- Java SE (necessary)
- Groovy
- Base IDE (necessary)
- Java Web and EE (necessary)
- PHP
- C/C++
- Ruby

If one of the necessary plugins is missing in your installation, look 
for it in the Available Plugins tab, chack it and install it.


Hope it helps

mihai


Jiju Sekhar a écrit :

Hello,
can anyone help me?
I have installed netbeans6.8version, but in that version i am not able 
to view the design page (visual web). how to view design page and how 
to start ?
I have read some forums regarding this, but i dont whether that 
correct or not. forum saying that netbeans6.5 version has that 
facility to view design part. But i tried that also, there i am not 
able to create java web application. that option itself is not comming 
there.
How can i develop the jsp pages etc easily by seeing design page as 
well as source part.


Please reply for this mail

Thanks  Regards
Jijeesh Sekhar E


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] Lost the database connection after 10 hours in hibernate

2010-02-19 Thread Mihai DINCA

Hi

You must look the logs (Tomcat logs, MySQL logs, OS logs ...), maybe 
there is something there. Tomcat maintain a pool of database 
connections. I.e. there are some already established permanent 
connections to the database. It is possible to configure the OS and/or 
the database (I don't know exactly how on MySQL) to close any TCP/IP 
connection unused for a certain timeout. The description of your problem 
seems to indicate this behavior. I think it would be useful to check 
your database parameters and your OS settings for that.


Hope it helps
mihai


Madhav Yadav a écrit :


Hi All, 



I have a site in which I am using hibernate for the database connection.

I am using hibernate3, mysql5, tomcat5.


All is working fine for one day but when I open the site next day then 
it is showing the database connection error.


I restart the sever and it is working but next day site showing me 
same problem.


Please help me.

Thanks

  


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en 


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] ServletExamples J2EE 1.4

2010-02-19 Thread jmt0806
There seems to be an issue with running the ServletExamples
application on this machine. Error message:

In-place deployment at G:\My Documents\NetBeansProjects\J2EE
\ServletExamples(J2EE1.4)\build\web
deploy?path=G:\My Documents\NetBeansProjects\J2EE
\ServletExamples(J2EE1.4)\build
\webname=ServletExamples(J2EE1.4)force=true failed on GlassFish v3
G:\My Documents\NetBeansProjects\J2EE
\ServletExamples(J2EE1.4)\nbproject\build-impl.xml:577: The module has
not been deployed.
BUILD FAILED (total time: 3 seconds)

When the application is first opened, this message appears:

Could not load definitions from resource org/netbeans/modules/java/
j2seproject/copylibstask/antlib.xml. It could not be found.

Has anyone else had this same issue and/or anyone know how to fix it?

Thanks

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: ServletExamples J2EE 1.4

2010-02-19 Thread miga


On Feb 19, 7:59 pm, jmt0806 jmt0...@gmail.com wrote:
 There seems to be an issue with running the ServletExamples
 application on this machine. Error message:
I'm not sure you may run the j2ee1.4 examples with GlassFish v3. Try
with Tomcat.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: ServletExamples J2EE 1.4

2010-02-19 Thread jmt0806
It worked with Tomcat 6. Thanks

On Feb 19, 1:17 pm, miga migat...@gmail.com wrote:
 On Feb 19, 7:59 pm, jmt0806 jmt0...@gmail.com wrote: There seems to be an 
 issue with running the ServletExamples
  application on this machine. Error message:

 I'm not sure you may run the j2ee1.4 examples with GlassFish v3. Try
 with Tomcat.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Please HElp

2010-02-18 Thread Nelson Rodrigo - LHQ
Dear Friends,

 

I have followed JAVA JSE and J2EE courses, and I had developed some programs
well. But in long time I couldn't touch them now totally forget even I can't
remember how to start also.

 

I'm using JBOSS TOMCAT ECLIPS NETBEANS 

 

So please guide me how can I start JSE Programs and also J2EE programs

I have my developed samples JSE  J2EE but I cant remember how run those

 

I don't know what happened to my mind, how ever please guide me 

I want to start again

 

Thanks

Nelson Rodrigo
Executive - Software Development
LOADSTAR (PRIVATE) LIMITED
Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 77 311
6556

P SAVE PAPER  - Please consider our environment before printing *

 

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] homework

2010-02-18 Thread Zofia Zagubieniak
Hi,
Do enyone know why homeworks emailsare rejected. I'm registered on this course
I got the following message
Your message cannot be delivered to the following recipients:Recipient address: @sunmail2sca.sfbay.sun.com:j2eehomewo...@sun.comOriginal address: j2eehomewo...@sun.comReason: Remote SMTP server has rejected addressDiagnostic code: smtp;550 5.1.1 @sunmail2sca.sfbay.sun.com:j2eehomewo...@sun.com... User unknownRemote system: dns;newsunmail1brm.central.sun.com (TCP|129.147.4.11|63175|129.147.62.245|25)




-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


RE: [java ee programming] Re: 4005_servletadv.zip

2010-02-18 Thread parinita ghorpade


 4101_jsfhelloworld.zip 

4104_jsfguessnumber.zip

4103_jsftags.zip

Links to above files are broken on the website.
 Date: Wed, 17 Feb 2010 10:02:46 -0800
 Subject: [java ee programming] Re: 4005_servletadv.zip
 From: migat...@gmail.com
 To: java-ee-j2ee-programming-with-passion@googlegroups.com
 
 
 
 On 17 fév, 04:29, parini...@hotmail.com
 parinita.ghorp...@gmail.com wrote:
  Cannot get to 4005_servletadv.zip file
 Sorry for the trouble, please try again, the zip file should be
 accessible now.
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
  
_
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] Re: homework

2010-02-18 Thread miga


On Feb 18, 10:20 am, Zofia Zagubieniak zzagubien...@wp.pl wrote:
 Hi,

 Do enyone know why homeworks emails are rejected. I'm registered on this 
 course
Replace the last part of the email address - after the @ sign - with
javapassion.com

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] Please HElp

2010-02-18 Thread Mihai DINCA

Hi

It is not easy to fully explain how to do. But, you can try to start by:
- Start NetBeans
- From the menu: File - New Project
- In the dialog box: Java / Java Application
- Accept default settings and be sure that Create Main Class and Set 
as Main Project checkboxes are checked
- NetBeans will create the necessary files and display Main.java in 
the editor

- Modify it with a simple Java code, like:

- Here is the text if the picture doesn't display well:

   package javaapplication1;

   /**
*
* @author mihai
*/
   public class Main {

   /**
* @param args the command line arguments
*/
   public static void main(String[] args) {
   // TODO code application logic here
   *System.out.println(Hello Java!);*
   }

   }

   (all you have to type is the highlighted code)
- Run by pressing the big green arrow button on the toolbar or the F6 key
- The Output view would normally display:

   run:
   *Hello Java!*
   BUILD SUCCESSFUL (total time: 1 second)

Well, I bet it is not the best introduction to Java you ever had, but I 
hope it will help you to remember how to start.


Hope it helps
mihai


Nelson Rodrigo - LHQ a écrit :


Dear Friends,

 

I have followed JAVA JSE and J2EE courses, and I had developed some 
programs well. But in long time I couldn't touch them now totally 
forget even I can't remember how to start also.


 


I'm using JBOSS TOMCAT ECLIPS NETBEANS

 


So please guide me how can I start JSE Programs and also J2EE programs

I have my developed samples JSE  J2EE but I cant remember how run those

 


I don't know what happened to my mind, how ever please guide me

I want to start again

 


Thanks

Nelson Rodrigo
Executive -- Software Development
**LOADSTAR (PRIVATE) LIMITED***
*Sri Lanka | Tel: +94 11 483 7914 | Fax: +94 11 224 0892 | Mobile: +94 
77 311 6556


P *SAVE PAPER*  - *Please consider our environment before printing *ü

 


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en 


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=eninline: moz-screenshot-5.jpginline: moz-screenshot-6.jpg

[java ee programming] Lost the database connection after 10 hours in hibernate

2010-02-18 Thread Madhav Yadav
Hi All,


I have a site in which I am using hibernate for the database connection.

I am using hibernate3, mysql5, tomcat5.


All is working fine for one day but when I open the site next day then it is
showing the database connection error.

I restart the sever and it is working but next day site showing me same
problem.

Please help me.

Thanks

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] Expression Language zip file

2010-02-18 Thread Zofia Zagubieniak
Hi,
4006_el.zip file is damaged.I can't download it.




-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: 4005_servletadv.zip

2010-02-18 Thread miga


On 18 fév, 03:01, parinita ghorpade parini...@hotmail.com wrote:
  4101_jsfhelloworld.zip

 4104_jsfguessnumber.zip

 4103_jsftags.zip
Sorry for the trouble. Please, retry again, they should work now.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Wicket - I need your advice

2010-02-18 Thread Rafał Laczek
Hi,

I have a problem with ListView in Wicket.
I try to add to the list the label which should display list via 
getGeneral() method.
The label accept only String type and here I have List data type.
Can you advise me please how to solve this problem.

 add(new ListView(category, model) {
private static final long serialVersionUID = 1L;
@Override
 protected void populateItem(ListItem item) {
Content messageduo = (Content)item.getModelObject();
item.add(new Label(GeneralTitle,messageduo.getGeneral()))
}});


I was also trying to solve as follow but I have the same problem.
 RepeatingView rv = new RepeatingView(repeater);
add(rv);
WebMarkupContainer parent = new WebMarkupContainer(general);
parent.add(new Label(general,message1.getGeneral()));


Best regards,
Rafal


-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: Expression Language zip file

2010-02-18 Thread miga


On 18 fév, 14:02, Zofia Zagubieniak zzagubien...@wp.pl wrote:
 Hi,

 4006_el.zip file is damaged. I can't download it.
Sorry for the trouble, please try to download it again, it should work
now.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Lab 4001 webappstructure restored

2010-02-18 Thread miga
Emil, please try again, the file has been restored, and sorry for the
trouble.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Problem with Spring Web Tier and SWT desktop application

2010-02-17 Thread Shivu
Hi All,

I Am the first time visitor to this group, I am having a small issue.

In our applicaiton we have SWT application talking with Spring web
tier through XStream, serialised communication, calling a servlet in
Web tier application like below

//Create an instance of HttpClient.
HttpClient client = getHttpClient();

XStream xstream = new XStream(new DomDriver(ENCODING));

OutputCommand cmdOut = null;

Object inParam = commandsInParams.get(cmd.getName());

xstream.alias(InputCommand, InputCommand.class);
xstream.alias(getSimpleName(inParam), inParam.getClass());
xstream.alias(CommandError, CommandError.class);

//Execute the method.
int statusCode = client.executeMethod(method);

This InputCommand has arraylist of objects contained in it.

Now, the Servlet has a private method which passes the arraylist of
objects extracted from request - serialized bean like ..

private void methodName(List params)
{
ArrayList shortlisted = new Arraylist();
for (Iterator iterator = params.iterator();
iterator.hasNext();) {

   Object xyz = iterator.next();
   if(valid(xyz))
   {
shortlisted.add(xyz);

   }

}
}

The issue is the XStream is throwing the exception that (premature end
of input) may be request contents get truncated.. If I change the
access modifier to protected it works fine, but Iam not able explain
why? to my boss, can you please help

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: Authorization from jdbc

2010-02-16 Thread Neil Franken
Hello All

My mistake Aykut you are using glassfish. Sorry it is a late night
here in Africa and my reading skills seems to get weaker with the old
age.

The first step would be to make sure you database complies to the JDBC
Realm Requirements.

1) The group name column absolutely needs to be a string. So, for
example, if you use numeric foreign keys in your database, you will
need to create a view that maps user names to user groups by string.
You then use this database view for the group table/group name column
fields. Thus if you have a usergroup table the group column HAS to be
a string.

2) Please make sure that you don't use reserved words such as password
as MySQL can get confused. I made my username = uname and my password
fields = PWD.

Secondly here is some guide lines and pitfalls to watch for when
setting up JDBC Realm authentication:

1) Setup the connection pool resource in the GlassFish Administration
console.

a) If you are using netbeans without installing glassfish separately
please make sure you install the mysql jdbc drivers for glassgish(the
version of glassfish  at   comes with netbeans do NOT have these
drivers) look at this link to get some more information
http://codepimpsdotorg.blogspot.com/2007/12/glassfish-jdbc-realm-authentication.html

b) Configure you connection pool. In the first step of the wizard give
your pool a name i.e. javapassionpool then select javax.sql.Datasource
from the Resource drop down and select mysql from the database vendor
drop down. Click on next. In this step will in your database name,
username and password according to most documents however please make
sure that the URL and url fields have a complete string ie not
jdbc:mysql://:3306/ but something like jdbc:mysql://:3306/
mydatabasename. If you don't complete your URL entries you will
encounter database errors later on.

c) Click on the ping button to make sure that the connection pool is
working(by the way even if you DON'T fill in the URL fields ping will
work which is a bug according to me)

d) Setup your JDBC resource for the connection pool.

2) Setup the JDBC Realm

a) Give the realm a name.

b) Select the JDBCRealm class from the class type drop down list.

c) Make the JAAS context jdbcRealm

d) Fill out the User Table, UserName, Password Column, Group Table and
Group Name Column with your table and column names (NOTE: these must
all be string values)

e) The Digest Algorithm column is special. If you will be storing
encrypted passwords in our database please make sure that you indicate
which encryption algorithm you are using.  To start of with store plan
text passwords in your database and set the Digest Algorithm column to
none. If you leave it blank it does not work it has to be none or
something like MD5,ShA1 etc.

3) Now setup your web.xml to reflect the security.

a) Add security roles (using the security tab in Netbeans)

b) Add Secured resources and add the security roles that can access
the secured resources.

c) Example:

security-role
description/
role-nameadministrator/role-name
/security-role

security-constraint
display-nameSecuredResources/display-name
web-resource-collection
web-resource-nameSecured/web-resource-name
description/
url-pattern/Secure/*/url-pattern
http-methodGET/http-method
http-methodPOST/http-method
http-methodHEAD/http-method
http-methodPUT/http-method
http-methodOPTIONS/http-method
http-methodTRACE/http-method
http-methodDELETE/http-method
/web-resource-collection
auth-constraint
description/
role-nameadministrator/role-name /* this is the role
you defined earlier
/auth-constraint
/security-constraint

4) Add security role mappings to your sun-web.xml file on the security
tab. This will map your user group to a web.xml auth-constraint

a) Let say you call the administrators group admin in your database
you will have to map the admin group(database) to the administrator
group in your web.xml.

b) Example:
  security-role-mapping
role-nameadministrator/role-name  /* name/value in your
web.xml */
group-nameadmin/group-name   /* name/value of the group in
your database remember thi shas to be a string */
  /security-role-mapping

6) test your setup.

Please let me know if you have anymore errors as I have done this
several time over and ran into walls more than once.

Cheers
Neil

http://news.bbc.co.uk/2/hi/8248056.stm
To Know more about me read the article, I complained about ADSL
speeds in Africa!

On Feb 16, 8:21 pm, Neil Franken ncjfran...@gmail.com wrote:
 Hi There

 New to the group but eager to help. I also had a hard time to get JDBC
 Realm Authentication working at first. Are you using Glassfish? If you
 are using GF I might be able to help. To the all Asians on the list
 Happy New Year!

 Regards
 Neil

 On Feb 9, 9:42 pm, aykut 

[java ee programming] 4005_servletadv.zip

2010-02-16 Thread parini...@hotmail.com
Cannot get to 4005_servletadv.zip file

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: Homework 1

2010-02-15 Thread miga
Edward, post on the forum if you want an answer.
That said. Just create a new J2EE application from the samples in
NetBeans (a full one as the one in the javaee tutorial). It will
activate all that is needed. Then, normally you could see the web.xml
file right. If not, there is something broken in your NetBeans
installation and I don't know what.
If you can see it correctly, mimic the various configurations files
you see in the javaee application and transpose them in the tutorial,
it should work.
At least, I've done the exercises from the tutorial without any
problems, except those ones which are specific to javaee5.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Problem with Servlets Basics - hello2 project

2010-02-15 Thread Sarvesh
I am getting the below error when trying to RUN the hello2 project from 
Servletbasics lab. I am using Netbeans 6.7.1
Could someone please provide the solution ? Thanks in advance - Sarvesh

C:\Users\SARVESWARA\Documents\Java 
Passion\Lab\4002_servletbasics\servletbasics\samples\hello2\nbproject\build-impl.xml:367:
 The libs.CopyLibs.classpath property is not set up.
This property must point to 
org-netbeans-modules-java-j2seproject-copylibstask.jar file which is part
of NetBeans IDE installation and is usually located at 
netbeans_installation/javaversion/ant/extra folder.
Either open the project in the IDE and make sure CopyLibs library
exists or setup the property manually. For example like this:
 ant 
-Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-j2seproject-copylibstask.jar
BUILD FAILED (total time: 0 seconds)



  

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] Re: Problem with Servlets Basics - hello2 project

2010-02-15 Thread miga


On Feb 16, 1:25 am, Sarvesh psarvesw...@yahoo.com wrote:
 I am getting the below error when trying to RUN the hello2 project from 
 Servletbasics lab. I am using Netbeans 6.7.1
 Could someone please provide the solution ? Thanks in advance - Sarvesh
Please, first do not use a thread which has nothing to do with your
problem to ask a question.
Then, try if this helps:
http://66.102.9.132/search?q=cache:E3BvWNCEPlIJ:www.adam-bien.com/roller/abien/entry/how_to_fix_the_libs+CopyLibs+Adam+Biencd=1hl=frct=clnkclient=safari

Notice is the google cache as the original page seems at the moment
not to be available.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Needs help on a problem which occurs while running an appication in Netbeans 6.8

2010-02-15 Thread Java_dude
I am trying to run a simple web application, a simple servlet, but
after running it on netbeans 6.8 (newer version), it gives an error
message as below:

G:\Course work\Java Passion\J2EE\JSP Basics\4003_jspbasics\jspbasics
\samples\hello2\nbproject\build-impl.xml:366: The
libs.CopyLibs.classpath property is not set up.
This property must point to
org-netbeans-modules-java-j2seproject-copylibstask.jar file which is
part
of NetBeans IDE installation and is usually located at
netbeans_installation/javaversion/ant/extra folder.
Either open the project in the IDE and make sure CopyLibs library
exists or setup the property manually. For example like this:
 ant -Dlibs.CopyLibs.classpath=a/path/to/org-netbeans-modules-java-
j2seproject-copylibstask.jar
BUILD FAILED (total time: 0 seconds)

I have added the .jar file manually by going into ant through options
in Tools menu as stated in the error message.

Kindly, give some guidance so that I can tackle this problem.

Thank you.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] javaeetutorial5

2010-02-14 Thread Edward
I am trying to view javaeetutorial5 example, dukesbank, but when I
pull it into netbeans 6.8, I get a warning:

Target server not set properly.


When I try to build it, it doesn't seem to build:

[C:\java\javaeetutorial5\examples\dukesbank\dukesbank-appclient\src
\java\com\sun\tutorial\javaee\dukesbank\client\BankAdmin.java:35:
cannot find symbol
symbol  : class EJB
location: class com.sun.tutorial.javaee.dukesbank.client.BankAdmin
@EJB]

Please advise.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Homework 1

2010-02-14 Thread Edward
In homework 1 (http://www.javapassion.com/handsonlabs/webappstructure/
index.html#2.3), I am trying to view jsp pages in its xml version. yet
the netbeans 6.8 looks different than the screenprint posting. Anyone
know where I can access the xml editor mode in nb6.8?

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: javaeetutorial5

2010-02-14 Thread miga


On Feb 14, 11:56 pm, Edward burgthum...@gmail.com wrote:
 I am trying to view javaeetutorial5 example, dukesbank, but when I
 pull it into netbeans 6.8, I get a warning:

 Target server not set properly.
In NetBeans, click on the project, click on Files tab, expand the
project name, expand nbproject, click on project properties, inside
the file change j2ee.platform value to 1.6, as well as javac.source
and javac.target values, save the file, return to projects tab, right
click on the project, choose properties, click on the Run tab, and
select GlassFish V3 Domain from the Server popup menu, click on OK.

This procedure is the same for any project construct with an older
version of GlassFish.
Now, as far as the javaee5 tutorial is concerned, you should read the
tutorial itself which explains how to initiate the project so that the
server be recognized.
And last, the javaee5 tutorial is built with javaee5 in mind, and
NetBeans 6.8 is tailored for javaee6, so maybe it will be better to
learn the javaee6 tutorial, or install NetBeans 6.7.1.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Wicket - I need your urgent help friends

2010-02-12 Thread Rafał Laczek
Hi,
I have a project that must be refactored in Wicket.
The current project is in Corelet.
Bellow I have the basic class that is responsible for sending the 
messages.
In this class we have process method and I need to refactor this 
class/method to obtain reusable panel.
Thank you very much for all your suggestions and help!

Best regards,
Rafal



public class Communicate extends BaseCorelet {
private static final String TITLE  = Information; /* corelet title*/
private Content _content;


public Content getContent() {
return _content;
}

public void setContent(Content content) {
this._content = content;
}

public String getTemplate() {
return Communicate.class.getName().replace('.','/')+.z;
}

public String getTitle() {
return TITLE;
}

/**
 * @return
 */
public void process(CoreletRequest cReq, CoreletResponse cRes) throws 
IllegalCoreletArgumentException, TemporaryCoreletException, 
CoreletException {
ConnectVB vb = new ConnectVB();


try {
setContent(vb.getConnect(this.getConnection(a)));
} catch(SQLException e){
System.err.println(F);
}
}
}


-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] icefaces setup

2010-02-11 Thread aykut kanyılmaz
how can i use icefaces in my webapp. can you help me for setting up
icefaces.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Re: [java ee programming] javapassion.com is back!!

2010-02-11 Thread Sam Zhang
New class?


2010/2/10 Sanketh V vijaysank...@gmail.com

 Hi sang,

 Really its an awesome site to learn j2ee.. Even a baby can able to learn
 from this site.

 Please update the site asap, am waitin..



 On Wed, Feb 10, 2010 at 2:45 AM, Sang Shin sangshinpass...@gmail.comwrote:


 Thank you for your patience.

 -Sang Shin

 --
 ---
   Sang Shin, sangshinpass...@gmail.com
 http://www.javapassion.com/SangShinSchedule.html
 (Life is worth living... with Passion!)
 ---


 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en




 --



 Kindest Regards,

 Sanketh V

  --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] Re: javapassion.com is back!!

2010-02-11 Thread miga


On Feb 11, 11:30 pm, Sam Zhang concorp...@gmail.com wrote:
 New class?

Please see the root page:
http://www.javapassion.com/

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: Graduates from the 17th session

2010-02-10 Thread kli
Thank you for this reply. Unfortunately I missed the deadline for
sending the new info for the certificate :(
However, I've sent the info twice in December with the heading
JavaEEBasicsCourse-2009-Fall as instructed earlier.
I also sent a new version today.
Sorry for this inconvenience.
-Kari

On Feb 3, 4:24 pm, Sang Shin sangshinpass...@gmail.com wrote:
 On 2/3/2010 2:13 AM,kliwrote:

  Dear group,

  I attended the 17:th course which ended on the 2nd of Dec, 2009. It
  seemed that the course structure is facing quite a many changes which
  may be the reason that there is no list of the graduates of that
  session. Am I right?
  -Kari

 My fault.  Sorry about that.

 If you submitted all homeworks, please send an email to the homework
 alias (j2eehomewo...@javapassion.com) with the following information  by
 Feb. 7th, 2010 in order to get a certificate and listed in the Graduates
 of this course. The subject of the email should be J2EECourse-2009-Winter.

      * First-name Last-name, Nationality or Country of Origin, One
 paragraph you want to say about this course (optional)
      * Sang Shin, Korea, This is a great course 

 Please make sure you send it to the new homework alias
 j2eehomewo...@javapassion.com.

 -Sang
 --
 ---
             Sang Shin, sangshinpass...@gmail.com
      http://www.javapassion.com/SangShinSchedule.html
           (Life is worth living... with Passion!)
 ---

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Xml parsing and Validation using Apache commons digester library

2010-02-10 Thread sk
I am using Apache commons Digester library to parse a large xml file.
I am not sure how to set up xml validation using digester  and my
schema file. Can I get some reference /sample code to set this up


Thanks

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] PD: Wicket panels

2010-02-10 Thread Rafał Laczek
Hi,

I solved problem. Of course I should use model.
I have done it as follow:

ModelClass.java
public class ModelClass extends LoadableDetachableModel{
public Date load() {
  GregorianCalendar gc = new GregorianCalendar();
  return gc.getTime();

}
}


Data.java
public class Data extends Panel{

public Data(String id) {
 super(id);

 add(new Label(data,new ModelClass()));
}
}

Best regards,
Rafal Laczek

Dnia 10-02-2010 o godz. 23:30 Rafał Laczek rafal_lac...@wp.pl 
napisał(a):
 Hi,
 
 Bellow I give you wicket panel and its markup html.
 There is no data returned by getFormat()and in browser I can see only
 static description Today is from markup.'
 
 Please help!
 
 Best regards,
 Rafal Laczek
 
 
 Data.java
 public class Data extends Panel{
 
 public Data(String id) {
  super(id);
 
   add(new Label(data){
   public Date getFormat() {
   GregorianCalendar gc = new GregorianCalendar();
   return gc.getTime();
   }
   
 });
 }
 }
 
 
 Data.html
 body
wicket:panel
 Today is: div wicket:id=data/div
/wicket:panel
   /body


-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] what about javapassion.com

2010-02-09 Thread Abdullah Erdoğan
I cant open java passion website, I was attending some courses. But it
doesnt work now. Pls Help.

 

Thanks.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] Re: Another maintenance is going on with javapassion.com

2010-02-09 Thread aerdogan
Thanks,

How long it take? becouse I am hungry for java tutor :)

Best wishes

On Feb 9, 12:14 am, Sang Shin sangshinpass...@gmail.com wrote:
 If you cannot access it right now, it is because we are going through
 another maintenance...  Sorry.

 -Sang Shin

 --
 ---
             Sang Shin, sangshinpass...@gmail.com
      http://www.javapassion.com/SangShinSchedule.html
           (Life is worth living... with Passion!)
 ---

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] javapassion.com site down?

2010-02-09 Thread Senthil Chidambaram
Hi,

Is the site http://www.javapassion.com up and running? Looks like down to
me.

thx
Senthil

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Re: [java ee programming] Re: Another maintenance is going on with javapassion.com

2010-02-09 Thread Sang Shin

On 2/9/2010 10:57 AM, aerdogan wrote:

Thanks,

How long it take? becouse I am hungry for java tutor :)

Best wishes
   


Hopefully it will be up today.

-Sang Shin

P.S.: I made several complaints to my hosting company already.  Everytime
I changed my service plan, the website goes down. :-(


On Feb 9, 12:14 am, Sang Shinsangshinpass...@gmail.com  wrote:
   

If you cannot access it right now, it is because we are going through
another maintenance...  Sorry.

-Sang Shin

--
---
 Sang Shin, sangshinpass...@gmail.com
  http://www.javapassion.com/SangShinSchedule.html
   (Life is worth living... with Passion!)
---
 
   



--
---
   Sang Shin, sangshinpass...@gmail.com
 http://www.javapassion.com/SangShinSchedule.html
 (Life is worth living... with Passion!)
---


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] Re: Another maintenance is going on with javapassion.com

2010-02-09 Thread Lakhmir Singh
Thanks Sang,
Your work has been a saviour in all thick n thin times :-)...

been a silent member for some time ...
couldnt help but hold back this time around though.. Thank You for your
efforts.



On Tue, Feb 9, 2010 at 4:43 PM, Sang Shin sangshinpass...@gmail.com wrote:

 On 2/9/2010 10:57 AM, aerdogan wrote:

 Thanks,

 How long it take? becouse I am hungry for java tutor :)

 Best wishes



 Hopefully it will be up today.

 -Sang Shin

 P.S.: I made several complaints to my hosting company already.  Everytime
 I changed my service plan, the website goes down. :-(

  On Feb 9, 12:14 am, Sang Shinsangshinpass...@gmail.com  wrote:


 If you cannot access it right now, it is because we are going through
 another maintenance...  Sorry.

 -Sang Shin

 --
 ---
 Sang Shin, sangshinpass...@gmail.com
  http://www.javapassion.com/SangShinSchedule.html
   (Life is worth living... with Passion!)
 ---






 --
 ---
   Sang Shin, sangshinpass...@gmail.com
 http://www.javapassion.com/SangShinSchedule.html
 (Life is worth living... with Passion!)
 ---


 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] Authorization from jdbc

2010-02-09 Thread aykut kanyılmaz
hi dear frends,
i have a problem. i want to authenticate from mysql user table. but it is
not working.
in web.xml

  display-nameAdminConstraints/display-name
web-resource-collection
web-resource-nameAdmin/web-resource-name
url-pattern/secureAdmin/*/url-pattern
/web-resource-collection
auth-constraint
role-nameAdmin/role-name
role-nameUser/role-name
/auth-constraint
/security-constraint
security-constraint
display-nameUserConstraint/display-name
web-resource-collection
web-resource-nameUser/web-resource-name
url-pattern/secureUser/*/url-pattern
/web-resource-collection
auth-constraint
description/
role-nameUser/role-name
role-nameAdmin/role-name
/auth-constraint
/security-constraint
login-config
auth-methodFORM/auth-method
realm-nameJDBCAuth/realm-name
form-login-config
form-login-page/login.jsp/form-login-page
form-error-page/loginError.jsp/form-error-page
/form-login-config
/login-config
security-role
description/
role-nameAdmin/role-name
/security-role
security-role
description/
role-nameUser/role-name
/security-role
in login.jsp
  form action=j_security_check method=POST
  Username:input type=text name=j_usernamebr
  Password:input type=password name=j_password
  input type=submit value=Login
/form

in glassfish admin console, i added a securty realm called 'JDBCAuth'. i
configured this realm's username, password etc.. column but it is not
working:(

i want to use this in my next project help me please
AYKUT KANYILMAZ

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] javapassion.com is back!!

2010-02-09 Thread Sang Shin


Thank you for your patience.

-Sang Shin

--
---
   Sang Shin, sangshinpass...@gmail.com
 http://www.javapassion.com/SangShinSchedule.html
 (Life is worth living... with Passion!)
---


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] form based authentication

2010-02-09 Thread Madhav Yadav
Hi All,


Can we customize form based authentication in tomcat.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Re: [java ee programming] javapassion.com is back!!

2010-02-09 Thread Sanketh V
Hi sang,

Really its an awesome site to learn j2ee.. Even a baby can able to learn
from this site.

Please update the site asap, am waitin..



On Wed, Feb 10, 2010 at 2:45 AM, Sang Shin sangshinpass...@gmail.comwrote:


 Thank you for your patience.

 -Sang Shin

 --
 ---
   Sang Shin, sangshinpass...@gmail.com
 http://www.javapassion.com/SangShinSchedule.html
 (Life is worth living... with Passion!)
 ---


 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en




-- 



Kindest Regards,

Sanketh V

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] eclipse3.1 EMF2.1 compatiblity

2010-02-07 Thread Wafa
Hi all
I have Eclipse 3.1 and the compatible version EMf is 2.1
I have downloaded i via zip file but after extraction and merge it with my
eclipse plugin EMF did not show in the list of my plugin from
help-aboutEclipse-plugin

I noiced there is no file called EMF Run time as oher recent version
can any one tell me where I Can find th compaible version with core EMF and
how I check its existence

Wafaa

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] PD: Problem with NB

2010-02-07 Thread Rafał Laczek
I will add that in console I have SEVERE: java.lang.OutOfMemoryError: 
PermGen space

BR
Rafal

Dnia 7-02-2010 o godz. 15:47 Rafał Laczek rafal_lac...@wp.pl napisał(a):
 Hi,
 
 For a few days I have problems with NB.
 When I run one application it takes a few minutes and seems that all
 applications are debugged. Sometimes after this a few minutes I receive
 communicate that the problem is memory space.
 I checked my PC and it is OK.
 Have you maybe any suggestions?
 
 Best regards,
 Rafal


-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] PD: Problem with NB

2010-02-07 Thread Michèle Garoche


Le 7 févr. 10 à 16:18, Rafał Laczek a écrit :


I will add that in console I have SEVERE: java.lang.OutOfMemoryError:
PermGen space
It means that Java takes much too much memory. So there is a place in  
wiki NetBeans where it is explained how to fine tuning the java memory  
settings:

http://wiki.netbeans.org/FaqNetBeansAndOOME

But before that, try to:
-  turn of scanning tasks in NetBeans,
- deactivate all plugins you don't use at the moment
- do not open windows you do not use (e.g Navigotor, palette, etc. if  
you don't use them at the moment), but avoid minimizing them, that  
takes much more memory than to be open

- do not open too much projects at the same time



Cheers,
Michèle



--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] unable to create tables

2010-02-05 Thread Bella
I am working on bookstore1 project of javaeetutorial5.  When I execute
command:
ant create-tables

I get the following error message:

BUILD FAILED
F:\Courses\JavaEEcourse\javaeetutorial5\examples\bp-project\app-server-
ant.xml:4
19: Property javaee.server.passwordfile not specified. Please
specify the javaee.server.passwordfile property in 'bp-
project/build
.properties'.
You will also need to ensure that the passwordfile is
present and co
ntains
AS_ADMIN_PASSWORD.

I think one of the problems could be wrong password
I am using a default password for glassfish. I am assuming that it is
adminadmin
Documentaton file DeveloperREADME.html states that password.txt file
should be the path to a file containing the admin password for the
Java EE 5 SDK.  What is the default password for Java EE 5 SDK.  I
don't remember any upon installation

Initially, I thought the problem could be spaces in my path.  I
reinstalled to a directory without spaces and I am still getting the
same error.  After reinstalling I did reset all necessary environment
variables.

Thanks in advance for all your help
Bella

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: unable to create tables

2010-02-05 Thread Bella
How can I debug ant create-tables command in app-server-ant.xml

I tried
 echo javaee.server.passwordfile=Variable value is t: $
{javaee.server.passwordfilel}/
but was not able to get the value of my variable to print.  Variable
name was printed instead of its value

On Feb 5, 1:25 pm, Bella bell...@gmail.com wrote:
 I am working on bookstore1 project of javaeetutorial5.  When I execute
 command:
 ant create-tables

 I get the following error message:

 BUILD FAILED
 F:\Courses\JavaEEcourse\javaeetutorial5\examples\bp-project\app-server-
 ant.xml:4
 19: Property javaee.server.passwordfile not specified. Please
             specify the javaee.server.passwordfile property in 'bp-
 project/build
 .properties'.
             You will also need to ensure that the passwordfile is
 present and co
 ntains
             AS_ADMIN_PASSWORD.

 I think one of the problems could be wrong password
 I am using a default password for glassfish. I am assuming that it is
 adminadmin
 Documentaton file DeveloperREADME.html states that password.txt file
 should be the path to a file containing the admin password for the
 Java EE 5 SDK.  What is the default password for Java EE 5 SDK.  I
 don't remember any upon installation

 Initially, I thought the problem could be spaces in my path.  I
 reinstalled to a directory without spaces and I am still getting the
 same error.  After reinstalling I did reset all necessary environment
 variables.

 Thanks in advance for all your help
 Bella

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] String format do not return foat!!

2010-02-04 Thread kwan
Problem with String.format which it expected to display the
information. The getChargePerDay and getMaxCharge are not display when
it return. I doubt what is the problem.

return String.format(%-30s $%5.2f $%7.2f %4$tm/%4$td/%4$ty,
getTitle(),
getChargePerDay(), getMaxCharge(), 
dueDate.getTime());


Thank you,

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


RE: [java ee programming] cannot find javax.persistence package

2010-02-03 Thread Evans '

Hello,

If you are still having problem getting your example to run, see this link 
http://www.javapassion.com/handsonlabs/javaee6_jpa2.0/#Exercise_0 but be sure 
to scroll down for example on how to solve the package not found error.

Please use Reply All option to reply to the list.

Good luck
Evans

 Date: Tue, 2 Feb 2010 12:32:29 -0800
 Subject: [java ee programming] cannot find javax.persistence package
 From: bell...@gmail.com
 To: java-ee-j2ee-programming-with-passion@googlegroups.com
 
 Hello,
 I am working on bookstore1 example for Java EE Programming basics
 course from Java EE 5 tutorial Chapter 4.
 
 When attempting to run bookstore1 project I am getting an error:
 package javax.persistence does not exist.
 
 I downloaded Java EE and EJBs.
 
 I was able to add Persistence library under project properties.  As a
 result, I can see in my project window in Libraries folder Persistence
 - ejb3-persistence.jar and Persistence - persistence-common.jar.
 
 But I am still getting errors:
 package javax.persistence does not exist.
 
 I am using NetBeans IDE 6.8
 
 Can you please offer me some advice?  Why my project in JavaBeans
 cannot see the associatied persistence library?
 Thank you!
 Bella
 
 __
 PS: I tried bookstore2 example too and had same problems.
 Bella
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en
  
_
Do you have a story that started on Hotmail? Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

PD: [java ee programming] Missing markup.html in war file

2010-02-03 Thread Rafał Laczek
Hi,

The problem has been solved.

Br
Rafal

Dnia 3-02-2010 o godz. 13:18 Rafał Laczek rafal_lac...@wp.pl napisał(a):
 Hi,
 
 I'm still fighting with my Wicket project. It seems that web.xml is well
 configured because I can deploy war on the Tomcat and in browser I have
 communicate that there is markup.html missing
 I have built the project with Maven. In Eclipse I can see missing markup
 but in Maven project I have only java files (no markup.html)
 The general conclusion is that during building the project in Maven the
 markup.html has not been added to war file.
 It seems that I should build the project in Maven again but at first I
 need your advice whether maybe I should install any extra plug-in my
 Eclipse or do other thing. Please instruct me.
 Thank you in advance for your quick help!
 
 Regards,
 Rafal Laczek
 
 
 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Cannot run program.

2010-02-02 Thread Geobird
 I   am new to java. I have  installed  jdk 6.0  and  jcreater 4.5 .
Each time i try to run any program the error pops. What  can be the
reason ?

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] NetBeans 6.8 UML

2010-02-02 Thread adrian filipescu
Hello,

Is somebody use in NetBeans 6.8 the UML package?

See this forum:
http://forums.netbeans.org/post-56580.html

You can install manually or via tools/plugin.

Thank you!
-- 
O zi buna/Kind regards/Cordialement,
Adrian Filipescu

Mobile : +40-742129147
adrian.filipe...@gmail.com

http://adrianfilipescu.blogspot.com
http://ro.linkedin.com/in/adrianfilipescu

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


RE: [java ee programming] NetBeans 6.8 UML

2010-02-02 Thread Alin Dumitrescu
I have tried using it but it doesn't show in my plugins, so I can't start
the UML module.
If anyone has any ideas/links I would appreciate the help.

Happy Coding!

Alin 


-Original Message-
From: java-ee-j2ee-programming-with-passion@googlegroups.com
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of
adrian filipescu
Sent: February-02-10 4:44 AM
To: java-ee-j2ee-programming-with-passion@googlegroups.com
Subject: [java ee programming] NetBeans 6.8 UML

Hello,

Is somebody use in NetBeans 6.8 the UML package?

See this forum:
http://forums.netbeans.org/post-56580.html

You can install manually or via tools/plugin.

Thank you!
-- 
O zi buna/Kind regards/Cordialement,
Adrian Filipescu

Mobile : +40-742129147
adrian.filipe...@gmail.com

http://adrianfilipescu.blogspot.com
http://ro.linkedin.com/in/adrianfilipescu

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?h
l=en

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] NetBeans 6.8 UML

2010-02-02 Thread José Luis Casiano Celestino
Check it!

http://forums.netbeans.org/topic21921.htmlhighlight=

http://forums.netbeans.org/topic21921.htmlhighlight=

On Tue, Feb 2, 2010 at 9:32 AM, Alin Dumitrescu dorud...@gmail.com wrote:

 I have tried using it but it doesn't show in my plugins, so I can't start
 the UML module.
 If anyone has any ideas/links I would appreciate the help.

 Happy Coding!

 Alin


 -Original Message-
 From: java-ee-j2ee-programming-with-passion@googlegroups.com
 [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf
 Of
 adrian filipescu
 Sent: February-02-10 4:44 AM
 To: java-ee-j2ee-programming-with-passion@googlegroups.com
 Subject: [java ee programming] NetBeans 6.8 UML

 Hello,

 Is somebody use in NetBeans 6.8 the UML package?

 See this forum:
 http://forums.netbeans.org/post-56580.html

 You can install manually or via tools/plugin.

 Thank you!
 --
 O zi buna/Kind regards/Cordialement,
 Adrian Filipescu
 
 Mobile : +40-742129147
 adrian.filipe...@gmail.com
 
 http://adrianfilipescu.blogspot.com
 http://ro.linkedin.com/in/adrianfilipescu

 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?h
 l=en

 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en




-- 
/*--
|   (C) José Luis Casiano Celestino
|   Universidad Nacional de Ingeniería
|   Ingenieria de Sistemas
|   http://osum.sun.com/group/javauni
|   http://jocluisuni.blogspot.com/
|   Celular : 995436035
--*/

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] GLASSFISH QUESTION

2010-02-02 Thread arthasol
I want to upload my web application to an online hosting service using
glassfish, how can I do that?

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Graduates from the 17th session

2010-02-02 Thread kli
Dear group,

I attended the 17:th course which ended on the 2nd of Dec, 2009. It
seemed that the course structure is facing quite a many changes which
may be the reason that there is no list of the graduates of that
session. Am I right?
-Kari

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] I need a help to understand ATL,JSF Java project (any voluteer??)

2010-02-01 Thread Wafa
*Hi all*
*I need help from an expert in java specially in ATL transformation and JSF
.*
*Actually I have a project which I have to run, and I really could not
understand it, please if any volunteer would be able to share and Help just
tell me and I will send it to him and explain more my needs, please I am
stuck and ur help will push*
**
*Thanks in advanced*
*Wafaaa*

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] cannot find javax.persistence package

2010-02-01 Thread Bella
Hello,
I am working on bookstore1example for Java EE Programming basics
course from Java EE 5 tutorial Chapter 4.

When attempting to run bookstore1 project I am getting an error:
package javax.persistence does not exist.

Where can I find this package?  What jar file contains it?  How do I
include that jar file in the project?
Thanks is advance for your help
Bella

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Database tables from entity classess

2010-01-31 Thread Michał Kościowski
Hello!

I'm new in J2EE, and I have a question. I have been looking for any answer
on google, but i didn't find any good answer.

I want to make database tables/schema from my entity classes... I'm using
NetBeans 6.7.1, maybe there is a tool or plugin for this IDE?

Greetings,
Michał.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Re: [java ee programming] TCP/IP IBM iSeries (AS400) Connection.

2010-01-31 Thread Mihai DINCA

Hi Ervin

IBM supplies an IBM Toolbox containing the .jar libraries containing 
the JDBC driver to access to DB2 on iSeries. The Toolbox installs on 
Windows when you install the Windows client/console to access the 
iSeries as server (I don't remember how it is called). Once you 
installed your iSeries system you can download the installation kit for 
all the tools directly from the iSeries server and install them under 
Windows. The .jar can be used under Linux too (potentially under any OS 
containing a Java VM). This is based on a commercial (must pay) license.


Now, the hart of the IBM Toolbox is developed as an Open Sources 
project. You can get a JDBC driver for free for a restraint use (GPL 
license I think) and without all the magnificent tools available in the 
commercial kit. Try here: http://jt400.sourceforge.net/


Hope it helps
mihai


Ervin John Bareng a écrit :
How can i connect to IBM iseries using TCP/IP, can you provide us 
example? thanks.



--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en 


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Re: [java ee programming] Database tables from entity classess

2010-01-31 Thread Mihai DINCA

Hi Michał

There is an UML plugin for NetBeans (installed in standard I think) that 
allows to make reverse engineering. There is a NetBeans plugin dedicated 
to DB modeling (the Mogwai ERDesignerNG), but I don't know if you can 
directly use your entity classes or the derived diagrams or if you have 
to take another approach. The plugin is here: 
http://plugins.netbeans.org/PluginPortal/faces/PluginListPage.jsp?search=Mogwai+ERDesignerNG


Hope it helps
mihai


Michał Kościowski a écrit :

Hello!

I'm new in J2EE, and I have a question. I have been looking for any 
answer on google, but i didn't find any good answer.


I want to make database tables/schema from my entity classes... I'm 
using NetBeans 6.7.1, maybe there is a tool or plugin for this IDE?


Greetings,
Michał.
--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en 


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


Re: [java ee programming] Re: problem with session.invaDate();

2010-01-31 Thread prashant malviya
its very simple refer sun microsystem book - servlet and JSP declarative
security chaptor for detail knowledge or search for declarative security in
java
Prashant Malviya
91-9341030325


On 31 January 2010 05:22, hind aiouej aiouej.h...@gmail.com wrote:

 hi
 help to define security-constraint in web.xml  how can i define
 action= in the login.jsp to redirect the information  of this page to our
 servlet.

 2010/1/30 hind aiouej aiouej.h...@gmail.com

 hi, i have a big problem, i brok the session with session.invaDate(); but
 when i click on back it can return to the old pages that i visited.

 who can help me on this problem ?



 --
 Mlle.Hind AIOUEJ
 Etudiante à l'ENSA de Tanger
 Master Réseaux et Systèmes
 Université Abdelmalek Essaâdi




 --
 Mlle.Hind AIOUEJ
 Etudiante à l'ENSA de Tanger
 Master Réseaux et Systèmes
 Université Abdelmalek Essaâdi

 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Re: [java ee programming] Database tables from entity classess

2010-01-31 Thread José Luis Casiano Celestino
plugin for NetBeans is UML.

2010/1/31 Michał Kościowski mic...@kosciowski.pl

 Hello!

 I'm new in J2EE, and I have a question. I have been looking for any answer
 on google, but i didn't find any good answer.

 I want to make database tables/schema from my entity classes... I'm using
 NetBeans 6.7.1, maybe there is a tool or plugin for this IDE?

 Greetings,
 Michał.

 --
 You received this message because you are subscribed to the Google
 Groups Java EE (J2EE) Programming with Passion! group.
 To post to this group, send email to
 java-ee-j2ee-programming-with-passion@googlegroups.com
 To unsubscribe from this group, send email to
 java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.comjava-ee-j2ee-programming-with-passion%2bunsubscr...@googlegroups.com
 For more options, visit this group at

 http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en




-- 
/*--
|   (C) José Luis Casiano Celestino
|   Universidad Nacional de Ingeniería
|   Ingenieria de Sistemas
|   http://osum.sun.com/group/javauni
|   http://jocluisuni.blogspot.com/
|   Linux Registered User: # 480052
|   Celular : 995436035
--*/

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

[java ee programming] problem with session.invaDate();

2010-01-30 Thread hind aiouej
hi, i have a big problem, i brok the session with session.invaDate(); but
when i click on back it can return to the old pages that i visited.

who can help me on this problem ?



-- 
Mlle.Hind AIOUEJ
Etudiante à l'ENSA de Tanger
Master Réseaux et Systèmes
Université Abdelmalek Essaâdi

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Re: [java ee programming] java in future

2010-01-30 Thread Mihai DINCA

Hi Aykut

Don't worry, Java will not die, as C and C++ did not die. Like C, Java 
was created for hardware independence (but at a more applicative level 
than C), and allows important software editors and hardware constructors 
to grant the availability of the old applications on the latest 
hardware. This goal is too important for everybody, including Oracle. By 
the way, Oracle has the whole database administration tools written in 
Java (so they can be run anywhere, on Windows, on Linux, ...), Google 
uses Java, IBM uses Java (and the iSeries - ex AS/400 - is a powerful 
hardware support for a Java application server - important feature in 
the strategic architecture for the offer of IBM).


In exchange, it is highly possible that Java evolve slower than in the 
past, but Java is a mature technology and will not suffer too much for this.


Hope it helps
mihai


aykut kany?lmaz a écrit :

hi frends,

i hope that java improved by oracle but, i didnt see anything about 
java in their deal. as a java lover, i m afraid that java will die. 
plan of oracle doesn't contain anything about java. i have a lot of 
question in mm mind. will there be java in future as effective, 
powerful etc...

--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en 


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Re: [java ee programming] problem with session.invaDate();

2010-01-30 Thread Mihai DINCA

Hi Hind,

Your servlet may execute event if there is no current session (i.e. no 
session was started or the session was invalidate). In order to prevent 
the execution outside a session, you have to:
-- Check explicitly inside the servlet if there is a current session and 
issue an error if there is not

   or
-- Define security constraints (in web.xml) so that the servlet can be 
executed only by an authenticated user (the user authentications lasts 
only up to the end of the session - i.e. up to session.invalidate())


If you already did one of these, I am sorry, I don't know how it may happen.

Hope it helps,
mihai

hind aiouej a écrit :
hi, i have a big problem, i brok the session with session.invaDate(); 
but when i click on back it can return to the old pages that i visited.


who can help me on this problem ?



--
Mlle.Hind AIOUEJ
Etudiante à l'ENSA de Tanger
Master Réseaux et Systèmes
Université Abdelmalek Essaâdi
--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en 


--
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


[java ee programming] Re: problem with session.invaDate();

2010-01-30 Thread Lalit Chattar


On Jan 30, 9:25 pm, hind aiouej aiouej.h...@gmail.com wrote:
 hi, i have a big problem, i brok the session with session.invaDate(); but
 when i click on back it can return to the old pages that i visited.

 who can help me on this problem ?

 --
 Mlle.Hind AIOUEJ
 Etudiante à l'ENSA de Tanger
 Master Réseaux et Systèmes
 Université Abdelmalek Essaâdi


hi..

this is bowser specific issue...you can't prevent back button action..
but if
you use this code at the top of the page...

response.setHeader(Cache-Control, no-store, no-cache, must-
revalidate);
response.addHeader(Cache-Control, post-check=0, pre-check=0);
response.setDateHeader(Expires, 0);
response.setHeader(Pragma,no-cache);

browser will not store cache ..and may be your problem solve.

-- 
You received this message because you are subscribed to the Google
Groups Java EE (J2EE) Programming with Passion! group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en


<    3   4   5   6   7   8   9   10   11   12   >