Ive got a JSP-page with a bean containing a lot of data. then Ive have a method declared i the same page and I send in this bean to this method like this:

<jsp:useBean id = "bean1" class="pkg.Myclass" scope="page"/>

//then I declare my method


public String getMyCaps(String pCaption_id
, String pParaname
, Myclass pBean1){
String a;
while pBean1.hoho){
a = a +pBean1.getValue();
return a;

Do I create one new instance(copy) of Myclass each time call this method? Will this be very unefficient(use much memory) or can java itself handle this so I dont need to be worried?

Regards / Erik