[java ee programming] RE: can't install java ee sdk in linux

2010-05-16 Thread Artashes Hovasapyan
Hi,

Try to run locate the library.
The output should be similar to this:

[r...@centos ~]# locate libstdc++.so.5
/usr/lib/libstdc++.so.5
/usr/lib/libstdc++.so.5.0.7
[r...@centos ~]#

If you cannot find it - then you'll need to install libstdc++ package.

--
Regards,
Artashes Hovasapyan

-Original Message-
From: wanli gao [mailto:dsgs...@gmail.com] 
Sent: Saturday, May 15, 2010 3:07 AM
To: artashes.hovasap...@gmail.com
Subject: Re: can't install java ee sdk in linux

Hi ,i use ubuntu,it's 10.0(maybe).

On 5/14/10, Artashes Hovasapyan  wrote:
> What is the Linux distribution you're using? Please specify the exact name
> and verion.
>
> --
> Regards,
> Artashes Hovasapyan
>
> -Original Message-
> From: java-ee-j2ee-programming-with-passion@googlegroups.com
> [mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of
> wanli gao
> Sent: Friday, May 14, 2010 4:20 PM
> To: java-ee-j2ee-programming-with-passion@googlegroups.com
> Subject: [java ee programming] can't install java ee sdk in linux
>
> hello every one,i want to install javaee in my linux os,but it said
> "error loading shared libraries: libstdc++.so.5:cannot open shared
> object file: No such file or directory." who knows why?
>
> --
> 从我的移动设备发送
>
> --
> 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] can't install java ee sdk in linux

2010-05-14 Thread Artashes Hovasapyan
What is the Linux distribution you're using? Please specify the exact name
and verion.

--
Regards,
Artashes Hovasapyan

-Original Message-
From: java-ee-j2ee-programming-with-passion@googlegroups.com
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of
wanli gao
Sent: Friday, May 14, 2010 4:20 PM
To: java-ee-j2ee-programming-with-passion@googlegroups.com
Subject: [java ee programming] can't install java ee sdk in linux

hello every one,i want to install javaee in my linux os,but it said
"error loading shared libraries: libstdc++.so.5:cannot open shared
object file: No such file or directory." who knows why?

-- 
从我的移动设备发送

-- 
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] Error called sessionsbeans in webapplications using spring

2010-05-10 Thread Artashes Hovasapyan
Hi,

Stack trace says it clearly - you are have more than one bean of type
EmailApplicationControllerBean. Try to reconfigure the autowiring in
EmailController. You can autowire by name, or exclude certain beans from
being autowiring candidates by setting autowire-candidate attribute of the
 element to false.

--
Regards,
Artashes Hovasapyan


-Original Message-
From: java-ee-j2ee-programming-with-passion@googlegroups.com
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of
raram hakim
Sent: Monday, May 10, 2010 6:07 AM
To: Java EE (J2EE) Programming with Passion!
Subject: [java ee programming] Error called sessionsbeans in webapplications
using spring

hi
I have an error when I create web applications using EJB. with session
beans, JPA, and springController.

when I called sessionbeans into web applications using Spring.
@Controller
@RequestMapping("/mail.app")
public class EmailController {
@ Autowired
private  EmailApplicationControllerBean mailService;

I have this error:
: Error creating bean with name 'emailController': Autowiring of
fields failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not
autowire field: private
com.sss.mail.join.controller.bean.EmailApplicationControllerBean
com.sss . email.spring.Application.EmailController.mailService; nested
exception is
org.springframework.beans.factory.NoSuchBeanDefinitionException: No
unique bean of type
[com.sss.mail.join.controller.bean.EmailApplicationControllerBean] is
defined: Unsatisfied dependency of type [class
com.sss.mail.join.controller.bean.EmailApplicationControllerBean]:
Expected at least 1 matching bean

maybe anyone knows a solution should i do

-- 
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] Struts 2 query

2010-01-15 Thread Artashes Hovasapyan
Can you send any log files etc?

-- 
Regards,
Artashes Hovasapyan


2010/1/15 Sadia Butt 

> Hi Everyone :)
>
> I am trying to learn Struts 2 & I am stuck on my helloworld example.
>
>
> http://viralpatel.net/blogs/2009/12/tutorial-create-struts-2-application-eclipse-example.html
>
> this is the website from which I am using the code. I have done exactly the
> same thing which he has done, actually I have downloaded the same code but
> still its giving me the following error.
>
> http://localhost:8080/StrutsHelloWorld/
>
> *type* Status report
>
> *message* **
>
> *description* *The requested resource () is not available.*
>
>
> *
> *
> what is wrong in the code???
>
> My other projects of servlets & JSP's are working perfectly fine. I don't
> know why this project can't run anything. ?
>
> Thanks in advance
>
> Sadia
>
>
> --
> 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: Struts 2 Please see details

2009-09-25 Thread Artashes Hovasapyan
Konstantyn,
Including struts-tag.tld in web.xml neither needed nor recommended to
declare the Struts 2 tag library.

-- 
Regards,
Artashes Hovasapyan


2009/9/25 Konstantyn Harasevich 

>  Hi
>
> Thanks for response.This issue is resolved vith struts-tag.tld
>
>
>
> - Original Message -----
> *From:* Artashes Hovasapyan 
> *To:* harasev...@yandex.ru
> *Cc:* java-ee-j2ee-programming-with-passion@googlegroups.com
> *Sent:* Friday, September 25, 2009 9:12 AM
> *Subject:* Re: [java ee programming] Re: Struts 2 Please see details
>
> One thing that can happen is that your struts2-core.jar is not deployed to
> the server. If you use NetBeans and struts2-core.jar is in project
> libraries then you'll have it resolved to WEB-INF/lib directory. If you
> use Eclipse then you should have it in Java EE Module Dependencies (in
> Project Properties).
>
> --
> Regards,
> Artashes Hovasapyan
>
>
> 2009/9/17 Konstantyn Harasevich 
>
>>  Hello
>>
>> Here is web.xml from Struts2 sample project
>>
>>
>> *
>> http://java.sun.com/xml/ns/j2ee* <http://java.sun.com/xml/ns/j2ee>*"
>> xmlns:xsi="**http://www.w3.org/2001/XMLSchema-instance*<http://www.w3.org/2001/XMLSchema-instance>
>> *" 
>> xsi:schemaLocation="**http://java.sun.com/xml/ns/j2ee*<http://java.sun.com/xml/ns/j2ee>
>> * 
>> **http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd*<http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd>
>> *">*
>> **
>> *Struts Blank*
>> **
>> *
>> struts2
>>
>> org.apache.struts2.dispatcher.FilterDispatcher
>> *
>> **
>> *
>> struts2
>> /*
>> *
>> **
>> *
>> index.html
>> *
>> **
>> *
>> *
>> If here is solution to problem please show where ?
>>
>> Thanks
>>
>>
>>
>> - Original Message - From: "Harasevich Kostia" <
>> harasev...@yandex.ru>
>> To: 
>> Sent: Thursday, September 17, 2009 4:22 PM
>> Subject: [java ee programming] Struts 2 Please see details
>>
>>
>> Hello
>>
>> When running samples struts 2
>>
>> Here is exception relative to this taglib in NetBeans7.1:
>> <%@ taglib uri="/struts-tags" prefix="s" %>
>>
>>
>>
>> org.apache.jasper.JasperException: /example/HelloWorld.jsp(2,41) PWC6117:
>> File "/struts-tags" not found
>> at
>> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:73)
>> at
>> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:359)
>> at
>> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:153)
>>
>>
>> Do not now reason why this error appear , beacause struts2-core-2.0.11.jar
>> is on classpath ?
>>
>> Thanks.
>>
>> --
>> Почта со встроенным плеером находится здесь:
>> http://mail.yandex.ru/promo/new/wysiwyg
>>
>>  >>
>>
>
>
>

--~--~-~--~~~---~--~~
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: Struts 2 Please see details

2009-09-25 Thread Artashes Hovasapyan
One thing that can happen is that your struts2-core.jar is not deployed to
the server. If you use NetBeans and struts2-core.jar is in project libraries
then you'll have it resolved to WEB-INF/lib directory. If you use Eclipse
then you should have it in Java EE Module Dependencies (in Project
Properties).

-- 
Regards,
Artashes Hovasapyan


2009/9/17 Konstantyn Harasevich 

>  Hello
>
> Here is web.xml from Struts2 sample project
>
>
> *
> http://java.sun.com/xml/ns/j2ee* <http://java.sun.com/xml/ns/j2ee>*"
> xmlns:xsi="**http://www.w3.org/2001/XMLSchema-instance*<http://www.w3.org/2001/XMLSchema-instance>
> *" 
> xsi:schemaLocation="**http://java.sun.com/xml/ns/j2ee*<http://java.sun.com/xml/ns/j2ee>
> * 
> **http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd*<http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd>
> *">*
> **
> *Struts Blank*
> **
> *
> struts2
>
> org.apache.struts2.dispatcher.FilterDispatcher
> *
> **
> *
> struts2
> /*
> *
> **
> *
> index.html
> *
> **
> *
> *
> If here is solution to problem please show where ?
>
> Thanks
>
>
>
> - Original Message - From: "Harasevich Kostia" <
> harasev...@yandex.ru>
> To: 
> Sent: Thursday, September 17, 2009 4:22 PM
> Subject: [java ee programming] Struts 2 Please see details
>
>
> Hello
>
> When running samples struts 2
>
> Here is exception relative to this taglib in NetBeans7.1:
> <%@ taglib uri="/struts-tags" prefix="s" %>
>
>
>
> org.apache.jasper.JasperException: /example/HelloWorld.jsp(2,41) PWC6117:
> File "/struts-tags" not found
> at
> org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:73)
> at
> org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:359)
> at
> org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:153)
>
>
> Do not now reason why this error appear , beacause struts2-core-2.0.11.jar
> is on classpath ?
>
> Thanks.
>
> --
> Почта со встроенным плеером находится здесь:
> http://mail.yandex.ru/promo/new/wysiwyg
>
> >
>

--~--~-~--~~~---~--~~
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: Can we validate password frm database in client side

2009-09-10 Thread Artashes Hovasapyan
You can also get the hash of the password and submit the hash to the server.
In that way you'll avoid cleartext passwords on the wire.

-- 
Regards,
Artashes Hovasapyan


2009/9/10 Kamal Chandana Mettananda 

> Exactly; while using Ajax you must pay more attention towards security.
>
> Also you should never bring the passwords from the database into your jsp
> page and do a check using javascript; rather send your password to the
> server and see whether it's valid or not.
>
>
> ---
> Kamal Mettananda
> http://lkamal.blogspot.com
>
>
> On Thu, Sep 10, 2009 at 3:21 PM, Maximiliano  wrote:
>
>>
>> it is possible with ajax as Kamal said, but why you want to do that?
>> as i can see it will be really insecure.
>>
>> On Sep 10, 9:28 am, aryan  wrote:
>> > Hello,
>> > I am validating user entered password with database password on server
>> > side in jsp. Can any one tell is there any way to validate password
>> > with database password on client side like using JavaScript? and how?
>>
>>
>>
>
> >
>

--~--~-~--~~~---~--~~
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: Java statement structure...

2009-09-09 Thread Artashes Hovasapyan
You can cheeck it out here:
http://java.sun.com/javase/6/docs/api/java/util/ResourceBundle.html

-- 
Regards,
Artashes Hovasapyan


2009/9/8 p. stephen wille 

> Does anyone know what [ResourceBundle] is, such as a data type, object,
> class, or other, and how  to identify it?  Aside from a brief explanation,
> I'd like to know the correct way to identify this thing, that is, it's
> correct label.
>
> This is from slide 59 of Servlet Basics PDF.
>
> HttpSession session = request.getSession(true);
> ResourceBundle messages =
> (ResourceBundle)session.getAttribute("messages");
>
>
>
>  stephen wille  |   
> p.stephenwi...@yahoo.com<http://pstephenwille.com/ZipRadius/>
>
>
> --
> *From:* Mihai DINCA 
> *To:* java-ee-j2ee-programming-with-passion@googlegroups.com
> *Cc:* srilax...@yahoo.com
> *Sent:* Monday, September 7, 2009 11:33:02 AM
> *Subject:* [java ee programming] Re: HELP XML FILE FOR EXCERSISE1
>
> Hi, Srilaxmi.
>
> Just a sugestion: Open in NetBeans the file you want to execute (servlet or
> JSP file). Then execute it using Shift + F6. This action normally opens the
> (default) browser and displays in it the very file you selected. The URL
> displayed in the browser is the one you can type manually to open the file.
>
> If your server is configured to turn to another TCP/IP port than 8080 or if
> there is some problem in the xml file, then you will see the server
> configuration in the URL displayed by your browser.
>
> --
> Hope it Helps
> mihai
>
>
>
> Srilaxmi Seetharamachar a écrit :
>
>   HELLO,
> Below is the web.xml screen shot of my excersise1.I have modified
> web.xml file as in the lab work to  MyOwnJsp.jsp The screen shot is below.
>
>  When I run the project the browser will open as  servelet file.It will not
> open MyOwnJsp.jsp file  as per the lab work.
> (http://localhost:8080/MyFirstWebApp/MyOwnServelet)
>
> Please help...
> Thank you..
>
>
> 
>  xmlns="http://java.sun.com/xml/ns/javaee";<http://java.sun.com/xml/ns/javaee>xmlns:xsi=
> "http://www.w3.org/2001/XMLSchema-instance";<http://www.w3.org/2001/XMLSchema-instance>xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
> http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";<http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_2_5.xsd>
> >
> 
> MyOwnServelet
> myownpackage.MyOwnServelet
> 
> 
> MyOwnServelet
> /MyOwnServelet
> 
> 
> 
> 30
> 
> 
> 
> MyOwnJsp.jsp
> 
> 
>
>
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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: 4003 jsp basics hpmework

2009-07-06 Thread Artashes Hovasapyan
Here request is an implicit object provided by JSP. It is described along
with other implicit objects in JSP presentation.

-- 
Regards,
Artashes Hovasapyan

2009/7/5 merve t 

> hi,
> i must add a parameter "myparameter" with value "Passion" to request object
> and forward the request to the middle.jsp.
>
> my index.jsp:
>
> 
> Hello
> 
> 
> Hello, my name is Duke. My hobby is golf. I was born in
> America. What are your name and hobby and birth place?
> 
> 
> 
> 
> 
> 
> 
> 
>
> *<%
> String username = request.getParameter("username");
> //where have this request been described?
> if ( username != null && username.length() > 0 ) {
> try {
> request.setAttribute ("myparameter", "Passion!");
> request.getRequestDispatcher("middle.jsp").forward(request,
> response);
> } catch (Exception ex) {
> ex.printStackTrace ();
> }
> }
> %>*
>
> 
> 
>
> my middle.jsp is:
>
> 
> 
> 
> JSP Page
> 
> 
> Hello World!
> <%...@include file="response.jsp" %>
> 
> 
>
> my response.jsp is:
> Hello, ${param.username}! 
> Your hobby is ${param.hobby}!
> Your birth place is
> ${param.birthplace}!
> Parameter "myparameter" is ${param.myparameter}!
> 
>
> there is only, name hobby and birthplace parameters on my last view of web
> page. there is no "passion" string.
> where is the mistake?
> 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
-~--~~~~--~~--~--~---



[java ee programming] Re: One more problem regarding Expression language homework.

2009-04-12 Thread Artashes Hovasapyan
Hi,
I think your classes should look like this.

public class Name {
private String firstname;
private String lastname;

public Name() {
this(null, null);
}

public Name(String firstname, String lastname) {
this.firstname = firstname;
this.lastname = lastname;
}

public String getFirstname() {
return firstname;
}

public void setFirstname(String firstname) {
this.firstname = firstname;
}

public String getLastname() {
return lastname;
}

public void setLastname(String lastname) {
this.lastname = lastname;
}
}

Following code should add the "person" attribute to servlet context.

Person person = new Person(new Name("Mak", "Pandian"));
sce.getServletContext().setAttribute("person", person);

And finally following code should be showing the first name and the last
name.


Hello,  !

-- 
Regards,
Artashes Hovasapyan


On Thu, Apr 9, 2009 at 12:42 PM, mak pandian wrote:

>
> Hello
>   I am doing EL home work Since yesterday.But i didn't yet get output.
> First i want to say what i did till now.
>
> 1..I have  modified the helloweb project from online lab document.
>
> 2.I have created two class named person and name as follows.
>
> public class Name {
>
> static String firstName="mak";
>static String lastName="pand";
>
>
>
> }
>
>
>
> public class Person {
>
>
> Name name;
> public Person(String X,String Y)
> {
> name.firstName=X;
> name.lastName=Y;
> }
>
>
>
> }
>
>
>
> 3.I have added this class to servletcontext by Init class as follows...
>
>
>
>  Person person=new Person("mak","Pandian");
>   // sce.getServletContext().setAttribute("person", person);
>
>
>
>
>
> 4. added the code in response.jsp as follows
>
> 
>
>
>
>
>
> But I did not yet get output..
>
>
>
> What should i do ..
>
>
>
> Thanking You
>
>
>
> Regards
> KolluraniPandian A
> (Living in Virtual World)
>
>
> --
> Regards
> KolluraniPandian A
> (Living in Virtual World)
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Returned mail: see transcript for details

2009-04-08 Thread Artashes Hovasapyan
Hi,

May I ask moderators to remove the faulty address from mailing lis please!

-- 
Regards,
Artashes Hovasapyan

On Wed, Apr 8, 2009 at 11:15 AM, Mail Delivery Subsystem <
mailer-dae...@mail-zmail2.lycosmail.com> wrote:

> The original message was received at ...
>
>   The following addresses had permanent fatal errors 
> 
>  (553 5.7.1 From=grbounce-mulg1auaaadi_pvxafnuurkbtbfdmzle=stepndz=
> lycos@googlegroups.com: To=stepndz: Mail is denied, message has been
> blocked by user's personal blacklist)
>
> Final-Recipient: RFC822; step...@lycos.com
> Action: failed
> Status: 553 5.7.1 From=grbounce-mulg1auaaadi_pvxafnuurkbtbfdmzle=stepndz=
> lycos@googlegroups.com: To=stepndz: Mail is denied, message has been
> blocked by user's personal blacklist
>
>
> ------ Forwarded message --
> From: Artashes Hovasapyan 
> To: luis.bi...@gmail.com
> Date: Wed, 8 Apr 2009 11:10:06 +0200
> Subject: [java ee programming] Re: Compiler java for windows
> Of course no! :)
> --
> Regards,
> Artashes Hovasapyan
>
> On Tue, Apr 7, 2009 at 8:42 PM, snonca  wrote:
>
>>
>> I'm new to the world of Java programming..and interested to know
>> whether Java code
>> can be compiled into a Dll, so that it can be
>> integrated with COM+ application(Windows Platform).
>>
>> hich the names of the compilers that tks. :)
>> >>
>>
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Compiler java for windows

2009-04-08 Thread Artashes Hovasapyan
Of course no! :)
-- 
Regards,
Artashes Hovasapyan

On Tue, Apr 7, 2009 at 8:42 PM, snonca  wrote:

>
> I'm new to the world of Java programming..and interested to know
> whether Java code
> can be compiled into a Dll, so that it can be
> integrated with COM+ application(Windows Platform).
>
> hich the names of the compilers that tks. :)
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Dear Senior Memebers

2009-03-11 Thread Artashes Hovasapyan
As an intro please take some time and read the calss FAQ:
http://www.javapassion.com/coursefaq.html.
-- 
Regards,
Artashes Hovasapyan


On Wed, Mar 11, 2009 at 10:12 AM, mrnano  wrote:

>
> Today I joined this site.I'm a fresh member.would I do home works and
> sent to java passion.
>
> regards
> jul...@gmail.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
-~--~~~~--~~--~--~---



[java ee programming] Re: HttpServletRequest , HttpServletResponse

2009-03-11 Thread Artashes Hovasapyan
The implementation of HttpServlerRequest and HttpServlerResponse are
provided by  application server vendor and you should not worry about it.
The actual object, an instance of HttpServlerRequest/HttpServlerResponse is
instantiated and populated with corresponding data by web container. All you
need to focus on is what you actually want to do in your servlet.

-- 
Regards,
Artashes Hovasapyan


On Tue, Mar 10, 2009 at 11:51 PM, daydream  wrote:

>
> hi everybody ,
>
> i was looking into Docs of the httpservletrequest and response and
> they are defind as interfaces ...
>
> so my question is interfaces are to implemented in classes and those
> classes can be used to create objects
>
> but in the service methods i pass an httpservletrequest and response
> as an object ...!!!???   without creating a class or something ..i
> know i'm missing something  but i'd appreciate ur intake on this
> subject
>
> peace to u all
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: I'm overdue

2009-03-10 Thread Artashes Hovasapyan
It really depend on what you really want to gain. I guess the main point is
to gain the knowledge...

-- 
Regards,
Artashes Hovasapyan


On Tue, Mar 10, 2009 at 9:07 PM, VictorZang  wrote:

>
> Hello,
>
> I'm starting this course today, but, I've a question: "I can begin
> today the course and make the exercises overdue? If I make it, I'll
> too receive the certificate?"
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: LAB-4005

2009-03-10 Thread Artashes Hovasapyan
I think you should comment out those lines where you're throwing
UnsupportedOperationException.

-- 
Regards,
Artashes Hovasapyan


On Tue, Mar 10, 2009 at 5:59 AM,  wrote:

>
> *Please anyone can help me what is wrong in my code
> *I am getting error CODE i have pasted below line
>
> *Appreciate in advance
>
>
> java.lang.NullPointerException
>at mypackage.MyOwnEventListener.attributeAdded
> (MyOwnEventListener.java:33)
>at org.apache.catalina.session.StandardSession.setAttribute
> (StandardSession.java:1706)
>at
> org.apache.catalina.session.StandardSessionFacade.setAttribute
> (StandardSessionFacade.java:163)
>at servlets.GreetingServlet.doGet(GreetingServlet.java:51)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 718)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 831)
>
>
>
> ---
>
>
> public void attributeAdded(HttpSessionBindingEvent evt) {
>
> servletContext  = evt.getServletContext();
>servletContext.log("attributeAdded(HttpSessionBindingEvent se)
> method is invoked");
>throw new UnsupportedOperationException("Not supported yet.");
>}
>
> public void attributeRemoved(HttpSessionBindingEvent evt) {
>
>servletContext.log("attributeAdded(HttpSessionBindingEvent se)
> method is invoked");
>throw new UnsupportedOperationException("Not supported yet.");
>}
>
>
>
>
> request.getSession().removeAttribute("att");
>//request.getSession().invalidate();
>
>
> HttpSession session = request.getSession();
>if (session != null)
>session.setAttribute("att","attribute1");
>
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: domain.xml

2009-03-05 Thread Artashes Hovasapyan
Maybe container has it's own timeout limit, which is again 30 minutes? In
that case there is no point in increasing it in domain.xml?

-- 
Regards,
Artashes Hovasapyan


On Fri, Feb 27, 2009 at 7:14 PM, Fernando Abreu  wrote:

> Hi,I want to change the timeout that the client waits for an EJB to
> process a method, because I have a thread that sleeps/executes for over 30
> minutes.
>
> I looked for the answer and the best solution would be changing this tag
> the domain.xml:
>
>  lb-enabled="false" ref="MyEJB"/>
>
> The default disable-timeout-in-minutes is 30 but I would like to change to
> 100, but it goes back to default values after deployment.
>
> The application runs fine on the server but I get an exception after the
> 30 minutes on the client:
>
> com.sun.corba.ee.impl.transport.CorbaResponseWaitingRoomImpl
> waitForResponse
> WARNING: "IOP00410219: (COMM_FAILURE) Communications timeout waiting for
> response.  Exceeded 1,800,000 milliseconds"
>
>
> Maybe this question is not related to the course or maybe this is not the
> solution for my problem, but I am curious on how to solve this.
>
>
> If you could tell me where to look for this answer, I would appreciate, I
> have looked everywhere including the server admin interface. :-(
>
> Thank you for your time.
>
> --
> Fernando Abreu
> fxab...@gmail.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
-~--~~~~--~~--~--~---



[java ee programming] Re: Reload and unload servlet

2009-02-25 Thread Artashes Hovasapyan
Not "we". We don't load or unload servlets. It is the container who decides
when to load or unload  the servlet.

-- 
Regards,
Artashes Hovasapyan


On Wed, Feb 25, 2009 at 1:23 PM, Biljana Biljana wrote:

> Hi!
>
> I have question about servlet. When we have to reload  and  unload servlet?
> I understood that we are doing that  when we work with threads, only that,
> but why, and when ? Which changes are seekig that action with servlet,and
> how we reload and unload servlet?
>
> Regards,
> Biljana
>
>
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re:

2009-02-25 Thread Artashes Hovasapyan
If you're working in Windows environment use Ctrl + PrtScr key combination
to capture the screen and paste it into Paint to edit.

-- 
Regards,
Artashes Hovasapyan


On Wed, Feb 25, 2009 at 3:09 AM, Chetana Shenoy  wrote:

>
> Hello :
>   Can anyone please tell me any available software (at no cost) to capture
> the assignments ( web pages )  as image (jpeg or gif) to enable me to post
> the HW . Appreciate any 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
-~--~~~~--~~--~--~---



[java ee programming] Re: Acronnymn use... 'URN' ?

2009-02-23 Thread Artashes Hovasapyan
I think these two links will give you enough info on URI, URL and URN:
http://en.wikipedia.org/wiki/URI_scheme
http://en.wikipedia.org/wiki/URL
http://en.wikipedia.org/wiki/Uniform_Resource_Name
-- 
Regards,
Artashes Hovasapyan

On Mon, Feb 23, 2009 at 7:22 PM, Karl  wrote:

>   Maybe I missed something in earlier tutorial chapters, but it would seem
> the term 'URN' shows up on JSPBasics (slide #38) with no prior definition of
> what it is. A google search brings it up as a Uniform Resource Number, but
> using such vernacular in a tutorial without explanation can cause
> unnecessary confusion. Just an observation.
>
> ~Karl
>
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: HTTP Monitor

2009-02-23 Thread Artashes Hovasapyan
Try enabling HTTP Monitor from NetBeans: Tools > Servers > GlassFish >
Connection.
And please, try to search the group mailing list for your keywords before
posting the question - maybe that question was answered 100 times already.

-- 
Regards,
Artashes Hovasapyan


On Mon, Feb 23, 2009 at 12:02 PM, anaclos  wrote:

>
> Hi:
> In Netbeans 6.5 I am using HTTP Server Monitor and I see the same
> result. Ana María
>
> On 22 feb, 19:22, Biljana Biljana  wrote:
> > Hi!
> >
> > I have a problem!
> > In NetBean IDE menu,in Window menu I dont have HTTP Monitor, all I
> have it in Debugging as HTTP Server Monitor and HTTP Client Monitor. What
> should I do. I know that someone already asked same question, but I forgot.
> I am sorry. Can you repeat?
> >
> > 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
-~--~~~~--~~--~--~---



[java ee programming] Re: HTTP Monitor

2009-02-23 Thread Artashes Hovasapyan
Do you mind if I ask yo to search for 'HTTP monitor' in the scope of this
mailing list. I'm pretty sure that you'll find the answer.

-- 
Regards,
Artashes Hovasapyan


On Sun, Feb 22, 2009 at 10:22 PM, Biljana Biljana wrote:

> Hi!
>
> I have a problem!
> In NetBean IDE menu,in Window menu I dont have HTTP Monitor, all I have it
> in Debugging as HTTP Server Monitor and HTTP Client Monitor. What should I
> do. I know that someone already asked same question, but I forgot. I am
> sorry. Can you repeat?
>
> 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
-~--~~~~--~~--~--~---



[java ee programming] Re: LAB 4003 add parameter question

2009-02-22 Thread Artashes Hovasapyan
Strange thing... I was just doing the homework myself and strangely enough I
can't find the *middle.jsp* file. Moreover the *hello1* example is including
the *response.jsp*. This means that we are not forwarding, but we are
including the *response.jsp* which means that we'll have the same servlet
handling the request, not two servlets. Maybe Sang can clear this out and
explain to us what exactly needs to be done?

-- 
Regards,
Artashes Hovasapyan


On Tue, Feb 17, 2009 at 9:54 AM, Artashes Hovasapyan <
artashes.hovasap...@gmail.com> wrote:

> Don't mix up parameter with an attribute. What you should do is to use
>  and add a nested  to transmit your additional
> parameter.
>
> --
> Regards,
> Artashes Hovasapyan
>
>   On Tue, Feb 17, 2009 at 12:10 AM, Priyanka Bhardwaj <
> priyankab...@gmail.com> wrote:
>
>> Hi everyone,
>>
>> The homework tells us to add parameter to the request object in index.jsp
>> before forwarding to middle.jsp. I added the parameter using the
>> request.setAttribute() function and got the desired result. Is this okay? Or
>> do I have to use jsp:param to add the parameter? But then jsp:param can be
>> used only while forwarding and not before forwarding which the homework
>> asks. Any suggestions would be appreciated.
>>
>> Thanks,
>> Priya
>>
>> >>
>>
>
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Next session add request

2009-02-18 Thread Artashes Hovasapyan
The current, 15th session had started on February 1st. To check about
details of joining read http://www.javapassion.com/j2ee/ and
http://www.javapassion.com/coursefaq.html.
-- 
Regards,
Artashes Hovasapyan


On Wed, Feb 18, 2009 at 1:22 AM, Raydelto Hernandez wrote:

>
> Greetings, i want to know when is going to start the next session of
> this class. I want to join that group.
>
> 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
-~--~~~~--~~--~--~---



[java ee programming] Re: JSP Basics - "param"

2009-02-18 Thread Artashes Hovasapyan
I had the same question. The form ${param.hobby} means request parameter
named hobby. I think this is from from custom tags or JSTL - I'm not sure
which one. I think the lab should be corrected in following way (as far as
custom tags and JSTL are not covered yet). One should add following line of
code to index.jsp, just before including the response.jsp:
String username = request.getParameter("username");

And in response.jsp we should have something like this:

Hello, <%= username %>!
Your hobby is <%= hobby %>!

What do you think? Maybe Sang will advice on this?

-- 
Regards,
Artashes Hovasapyan


On Tue, Feb 17, 2009 at 8:46 PM, Extremely  wrote:

>
> Hi All,
>
> The JSP Basics lab tells us to modify the hello1 project and add:
>
> Your hobby is ${param.hobby}!
>
> The question is, what is this "param"? does it hold all request
> parameters? If so, I presume that the name coming after param (in this
> example: "hobby") is the name of the parameter that its value is
> required. What about parameters containing spaces or other weird
> characters?
>
> Thanks,
>
> Barry
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Java EE Overview Reading Resource s (¿Old?)

2009-02-17 Thread Artashes Hovasapyan
I think as far as you absorbed material from Java EE 5 Introduction it
should be OK. ;)

-- 
Regards,
Artashes Hovasapyan


On Tue, Feb 17, 2009 at 9:57 PM, Alexander Zuluaga <
alexander0zulu...@yahoo.com.ar> wrote:

> Hi everyone.
>
> I just began the course this week, so I'm reading the Java EE Overview
> (first week) documents. I'm wondering if is still necessary read J2EE
> introductory chapters (chapter 1 & 2) of J2EE 
> blueprint<http://java.sun.com/blueprints/guidelines/designing_enterprise_applications_2e/DEA2eTOC.html>even
>  when it talks about J2EE 1.3. I'm not lazy :-), I've read pdf slides
> and chapter 1 of JEE 5 tutorial, what I'm afraid is that content of old
> documentation makes me misundertand what about JEE really is.
>
> ¿Any suggestions? ¿Must I read it anyway?
>
> Thanks in andvance, what a great course!.
>
> Carlos Zuluaga.
>
> --
>
> Yahoo! Cocina
> Recetas prácticas y comida saludable
> Visitá http://ar.mujer.yahoo.com/cocina/
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: LAB 4003 add parameter question

2009-02-17 Thread Artashes Hovasapyan
Don't mix up parameter with an attribute. What you should do is to use
 and add a nested  to transmit your additional
parameter.

-- 
Regards,
Artashes Hovasapyan

On Tue, Feb 17, 2009 at 12:10 AM, Priyanka Bhardwaj
wrote:

> Hi everyone,
>
> The homework tells us to add parameter to the request object in index.jsp
> before forwarding to middle.jsp. I added the parameter using the
> request.setAttribute() function and got the desired result. Is this okay? Or
> do I have to use jsp:param to add the parameter? But then jsp:param can be
> used only while forwarding and not before forwarding which the homework
> asks. Any suggestions would be appreciated.
>
> Thanks,
> Priya
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Suggestions for the Group

2009-02-12 Thread Artashes Hovasapyan
Well it could be done. But if there are people who are so lazy that they are
asking the question straight away without doing even a 1 minute research on
the Internet (thanks God we have something like Google), then I hardly
believe that they are able to learn anything at all. The one who really
wants to learn should catch the information and should fight for the
knowledge, but not sit there and wait when the knowledge will come itself
(surrounded with colored balloons and big pink bow).If you cannot find out
the ways how this course is delivered (in fact you just need to read
carefully what is written on the course home page and in the FAQ) the I
guess you don't have the most important thing for learning - the passion!
And if you don't have passion about something then it makes sense to sit and
think - maybe you have choose the wrong way? Or maybe you should reconsider
your approach to things you are doing?
Please, please, please! Don't waist your time on things that you're not
passionate about!!! That way you're positioning yourself as a permanent
average which is the worst thing ever! And if after reading all these you
will still fill that you really want to learn Java EE then try to do
anything to learn as much as possible and appreciate the others who choose
to do so!

-- 
Regards,
Artashes Hovasapyan


On Thu, Feb 12, 2009 at 2:09 PM,  wrote:

>
> Dear Group Users,
>
> - Kindly avoid asking vague questions like "please tell me how to program
> in Java" without having read the JavaTM EE (J2EE) Programming with Passion
> course notes.
>
> - In case you don't know, the complete JavaTM EE (J2EE) Programming with
> Passion course is available here http://www.javapassion.com/j2ee/ - for
> you to read and implement on your own, at your own 
> pace.<http://www.javapassion.com/j2ee/>
>
> - Please be polite to others, but also keep to the course topics to avoid
> annoying others.
>
> - May I suggest the following useful format for emails?
>
>Use the subject line to refer exactly to the JavaTM EE (J2EE)
> Programming with Passion course topic you wish to address
>e.g. <http://www.javapassion.com/j2ee/#2>
>2. Web Core Technologies: Servlets and JSP > Servlet Basics
>
>Your email content can then address the problem you are having, and
> everyone knows what it refers to.
>
>Please use specific examples of code snippets, error messages etc.
> to clearly explain your problem.
>
>More general issues could have General in the Subject line, as long
> as they are specific to the the JavaTM EE (J2EE) Programming with Passion
> course, of course!
>
> - Please feel free to improve on this format.
>
> If anyone thinks this is useful, we could perhaps ask Sang 
> Shin<http://www.javapassion.com/SangShinSchedule.html#Bio>  for
> something like the above to be sent to all on joining, or appended to the
> bottom of every email to explain to newbies?
>
> Thanks for your time,
> Alan
>
> This e-mail and any files transmitted with it are intended solely for the 
> individual or entity to whom they are addressed.
> This communication may contain material that is privileged, confidential and 
> protected from disclosure under the law.
> If you are not the intended recipient, any disclosure, distribution, copying, 
> or use of this information is strictly prohibited and may be unlawful.
>
>
> If you have received this e-mail in error, please reply immediately to the 
> sender and delete it.
>
>
> Registered Address:
> DeCare Systems Ireland Ltd,
> Building 1,
> University Technology Centre,
> Curraheen Road,
> Cork,
> Ireland.
> Company Registration Number:  278462
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Support or Developement

2009-02-12 Thread Artashes Hovasapyan
I do!!! :-D

On Wed, Feb 11, 2009 at 11:34 PM, Evans '  wrote:

>
> Wow, don't you just love this list?
>
>
> --
> Evans
> http://www.javawug.org
>
> --
> From: anouss...@hotmail.com
> To: java-ee-j2ee-programming-with-passion@googlegroups.com
> Subject: [java ee programming] Support or Developement
> Date: Wed, 11 Feb 2009 20:56:38 +
>
> Hi Guys,
>
> What do you thing whitch job i better J2ee developement or J2ee Support?
> Where you can learn more and more?
>
>
> Best Regards
>
> Anass
>
> --
> Vous voulez savoir ce que vous pouvez faire avec le nouveau Windows Live ? 
> Lancez-vous
> ! <http://www.microsoft.com/windows/windowslive/default.aspx>
>
>
> --
> Share your photos with Windows Live Photos – Free Find out 
> more!<http://clk.atdmt.com/UKM/go/132630768/direct/01/>
> >
>


-- 
Regards,
Artashes Hovasapyan

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Please dont send me any more message

2009-02-11 Thread Artashes Hovasapyan
Dear Zeynel Kandil,

Try opening the last link you found at the bottom part of this email and
change your membership options there. You can set email option to none and
you'll not receive any more emails.

-- 
Regards,
Artashes Hovasapyan

2009/2/11 zeynel kandil 

> Hi. A few time ago i become a member of this group, but from the time i
> have registered, i got lots of mails from you. For every topic i get an
> email. And it is getting irritating day by day. Please delete my membership
> or please do not send me e-mails any more.
>
> I would have deleted my acount but i could not. Please delete my membership
> or help me to delete my membership
>
> --
> Diğer Windows Live™ özelliklerine göz atın. Sadece e-posta iletilerinden
> daha fazlası <http://www.microsoft.com/windows/windowslive/>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: SCJP Certification

2009-02-11 Thread Artashes Hovasapyan
And, please, if you have a questions on the ways how this course is
delivered and how to deal with homeworks' submission read the FAQ first - it
might be the case that your question is already answered. And also, if you
want to unsubscribe from the group mailing list use the links provided on
the bottom part of each email or go to group page (also provided at the
bottom of each email) and modify your subscription options there. Try to
keep the mail flow as much informative as it possible and don't flood it
with "unsubscribe me" emails.

Thanks for your understanding and consideration!

-- 
Regards,
Artashes Hovasapyan


On Wed, Feb 11, 2009 at 12:09 PM, Evans  wrote:

>
> Hello people,
>
> I'd suggest we try using Google or any other search engines for most of the
> trivial questions asked here. A quick Google search could have answered
> your
> question. I'm sure most people are beginning to find it irritating seeing
> these questions asked here.
>
> If you can't do your own search, then you've chosen a wrong career path,
> I'm
> afraid!
> Please..please. people, do your own searches and if and only if you can't
> find any answer then ask here. Remember this list is for answering
> questions
> you encounter while attempting any of the material on the Java EE course,
> and not for finding out which book to buy or which job pays more.
>
> --
> Evans
> http://www.javawug.org
>
>
> - Original Message -
> From: "Jamal B. Faisal" 
> To: ; "Java EE (J2EE) Programming with Passion!"
> 
> Sent: Wednesday, February 11, 2009 8:00 AM
> Subject: [java ee programming] SCJP Certification
>
>
>
>
>
>
>
>  Gentlemn,
> Is there any specific syllubaus for SCJP Cert.
>
>
> This message may contain TASNEE's confidential information and is
> intended only for the individual named. If you are not the named
> addressee you should not disseminate, distribute or copy this e-
> mail.
> Please notify the sender immediately by e-mail if you have
> received this e-mail by mistake and delete this e-mail from your
> system.The information transmitted in electronic mail does not
> necessarily represent the views of TASNEE.
> E-mail transmission cannot be guaranteed to be secured or error-
> free as information could be intercepted, corrupted, lost,
> destroyed, received late or incomplete,or could contain viruses.
> The sender therefore does not accept liability for any error or
> omission in the contents of this message, which arises as a
> result of e-mail transmission.
> No representation is made that this email or any attachments are
> free of viruses. Virus scanning is recommended and is the
> responsibility of the recipient.
>
>
>
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: SERVLET and JP

2009-02-11 Thread Artashes Hovasapyan
Absolutely right. I forgot to mention that. :-)

-- 
Regards,
Artashes Hovasapyan


On Wed, Feb 11, 2009 at 6:01 AM, Pravin Sinha  wrote:

> Adding to what Artashes already told. This translation, compilation and
> instantiation of the servlet is done by the container itself.
>
> -Pravin
>
> --- On *Tue, 10/2/09, Artashes Hovasapyan 
> *wrote:
>
> From: Artashes Hovasapyan 
> Subject: [java ee programming] Re: SERVLET and JP
> To: arbi.na...@gmail.com
> Cc: java-ee-j2ee-programming-with-passion@googlegroups.com
> Date: Tuesday, 10 February, 2009, 4:46 PM
>
>
> When your JSP page is about to serve the request it is first translated
> into Servlet code, then compiled and finally run. So you'll always have one
> Servlet per JSP page.
>
> --
> Regards,
> Artashes Hovasapyan
>
> On Tue, Feb 10, 2009 at 8:04 PM, arbi nabil 
> 
> > wrote:
>
>> Hi all
>> Hope u're doing well...
>> I just want to know if in a J2EE application, is it necessary to create a
>> jsp for each servlet on the web server... ?
>> i was reading *"The Java EETutorial For Sun Java System Application
>> Server 9.1"* and i found that for each servlet they created a jsp file...
>>
>> Thanks any way...
>> Regards
>> Nabil
>>
>>
>>
>
>
> >
>
> --
> Get an email ID as yourn...@ymail.com or yourn...@rocketmail.com. Click
> here.<http://in.rd.yahoo.com/tagline_dbid_4/*http://in.promos.yahoo.com/address>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: SERVLET and JP

2009-02-10 Thread Artashes Hovasapyan
When your JSP page is about to serve the request it is first translated into
Servlet code, then compiled and finally run. So you'll always have one
Servlet per JSP page.

-- 
Regards,
Artashes Hovasapyan

On Tue, Feb 10, 2009 at 8:04 PM, arbi nabil  wrote:

> Hi all
> Hope u're doing well...
> I just want to know if in a J2EE application, is it necessary to create a
> jsp for each servlet on the web server... ?
> i was reading *"The Java EETutorial For Sun Java System Application Server
> 9.1"* and i found that for each servlet they created a jsp file...
> Thanks any way...
> Regards
> Nabil
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: getAttribute method

2009-02-10 Thread Artashes Hovasapyan
Well, this entirely depends on you. You can, say, create database connection
object of type java.sql.Connection via event listeners mechanism and set it
on servlet context via setAttribute() method and name it "myDbConnection".
Then in your servlet you can get it from servlet context and cast it to
java.sql.Connection:

 

java.sql.Connection myConn = (java.sql.Connection)
getServletContext().getAttribute("myDbConnection");

 

--

Regards,

Artashes Hovasapyan

 

From: java-ee-j2ee-programming-with-passion@googlegroups.com
[mailto:java-ee-j2ee-programming-with-pass...@googlegroups.com] On Behalf Of
sospeter oluoch
Sent: 09 February 2009 13:30
To: java-ee-j2ee-programming-with-passion@googlegroups.com
Subject: [java ee programming] getAttribute method

 


When I use the getAttribute method in servlets, what should i pass as my
string parameter and how exactly do i know that the object being called has
the parameter specified?





--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Difference b/w installing and deploying

2009-02-09 Thread Artashes Hovasapyan
I guess it is for the case when you need to place the webapp on server, but
not start it.

-- 
Regards,
Artashes Hovasapyan


On Mon, Feb 9, 2009 at 10:32 AM, wrote:

>
> Hi,
> in what cases you need to INSTALL a web-app? Is there any special
> task you may want to perform only the 1st time the application is
> deployed?
>
> Thanks,
>
> On 8 Feb, 22:06, Artashes Hovasapyan 
> wrote:
> > If we are talking about Tomcat then there is distinct difference between
> > installation and deployment. Installation is temporary procedure - after
> > restart your application is not started again. In case of deployment your
> > application is permanently deployed and will be available after
> application
> > server restart.
> > I'm not sure if this same works for GlassFish or JBoss.
> >
> > --
> > Regards,
> > Artashes Hovasapyan
> >
> > On Sun, Feb 8, 2009 at 1:50 PM, Irfan Rashid  wrote:
> > > Hello All,
> >
> > > What is the difference between installing an
> application
> > > and deploying an application on an application server? I can't figure
> it
> > > out. Any help please.
> >
> > > --
> > > Irfan Rashid
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Difference b/w installing and deploying

2009-02-08 Thread Artashes Hovasapyan
If we are talking about Tomcat then there is distinct difference between
installation and deployment. Installation is temporary procedure - after
restart your application is not started again. In case of deployment your
application is permanently deployed and will be available after application
server restart.
I'm not sure if this same works for GlassFish or JBoss.

-- 
Regards,
Artashes Hovasapyan


On Sun, Feb 8, 2009 at 1:50 PM, Irfan Rashid  wrote:

> Hello All,
>
> What is the difference between installing an application
> and deploying an application on an application server? I can't figure it
> out. Any help please.
>
> --
> Irfan Rashid
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: J2EE

2009-02-08 Thread Artashes Hovasapyan
Look here: http://www.javapassion.com/coursefaq.html.

-- 
Regards,
Artashes Hovasapyan


On Sun, Feb 8, 2009 at 2:51 PM, rajesh reddy wrote:

> HI,
> i want to know how to register for j2ee programming?
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Servlet long processing cancelation when browser closes.

2009-02-06 Thread Artashes Hovasapyan
For timeout configuring, in case of Tomcat, you should look for Connector
configuration. There are connectionTimeout and keepAliveTimeout attributes.
In regards to notifications... I'm not sure there is a straightforward
solution. Maybe it worth lookinag at event listeners?
-- 
Regards,
Artashes Hovasapyan


On Fri, Feb 6, 2009 at 2:41 PM, Mikhail Gerdov  wrote:

> I used threads only to simulate delay in servlet preocessing. Other
> than that it all happens in one thread inside the request.How do I
> specify the timeout server close on disconnected requests, can I get
> some notification in the code to break the loop in request? Would the
> timeout affect connections while browser still waiting fro response
> but no data is being sent?
>
> Thanks,
> Mike
>
>
> On Fri, Feb 6, 2009 at 9:18 AM, Artashes Hovasapyan
>  wrote:
> > If client terminates the connection the server will close it after the
> > timeout (should be specified in server configuration). Another thing is
> that
> > IMHO it is not a good idea to manage threads manually inside of any
> > component - you should leave it for container, it is container's job to
> > control threading for you.
> >
> > --
> > Regards,
> > Artashes Hovasapyan
> >
> >
> > On Fri, Feb 6, 2009 at 1:31 PM, Mikhail Gerdov  wrote:
> >>
> >> Hi,
> >>
> >> I have a servlet which processes a request for a long time. It suppose
> >> to keep doing stuff in the loop inside doPost and send data through
> >> response's out writer. Effectively that continuously appends data in
> >> the clients browser .
> >> But the problems accures when client just closes the browser. Inspite
> >> of the broken connection the response's writer stream in the servlet
> >> never gets closed, thus servlet is unaware of the brocen connection,
> >> and keep dumping data into the writer without any errors. How is that
> >> posssible? And how do I detect and cancel long request processing in
> >> case of browser disconnect?
> >>
> >>
> >> This is the servlet code which never stops:
> >>protected void processRequest(HttpServletRequest request,
> >> HttpServletResponse response)
> >>throws ServletException, IOException
> >>{
> >>HttpSession session = request.getSession();
> >>System.out.println("Session " + session.getId() + " started");
> >>
> >>response.setContentType("text/html;charset=UTF-8");
> >>
> >>PrintWriter out = response.getWriter();
> >>try
> >>{
> >>while (!out.checkError())
> >>{
> >>try
> >>{
> >>Thread.sleep(1000);
> >>} catch (InterruptedException ex)
> >>{
> >>ex.printStackTrace();
> >>}
> >>
> >>Date date = new Date();
> >>
> >>// TODO append output to the client browser here
> >>out.println(".");
> >>
> >>System.out.println("Session " + session.getId() + "
> >> data sent at: " + date);
> >>
> >>out.flush();
> >>//break;  // _TEST
> >>}
> >>} finally
> >>{
> >>System.out.println("Session " + session.getId() + "
> finished");
> >>out.close();
> >>}
> >>}
> >>
> >>
> >> Thanks,
> >> Mike
> >>
> >>
> >> --
> >> Best regards,
> >> Mikhail Gerdov mailto:
> ger...@gmail.com
> >>
> >> > >>
> >
> >
> >
> >
>
>
>
> --
> Best regards,
> Mikhail Gerdov mailto:ger...@gmail.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
-~--~~~~--~~--~--~---



[java ee programming] Re: Servlet long processing cancelation when browser closes.

2009-02-06 Thread Artashes Hovasapyan
If client terminates the connection the server will close it after the
timeout (should be specified in server configuration). Another thing is that
IMHO it is not a good idea to manage threads manually inside of any
component - you should leave it for container, it is container's job to
control threading for you.

-- 
Regards,
Artashes Hovasapyan


On Fri, Feb 6, 2009 at 1:31 PM, Mikhail Gerdov  wrote:

>
> Hi,
>
> I have a servlet which processes a request for a long time. It suppose
> to keep doing stuff in the loop inside doPost and send data through
> response's out writer. Effectively that continuously appends data in
> the clients browser .
> But the problems accures when client just closes the browser. Inspite
> of the broken connection the response's writer stream in the servlet
> never gets closed, thus servlet is unaware of the brocen connection,
> and keep dumping data into the writer without any errors. How is that
> posssible? And how do I detect and cancel long request processing in
> case of browser disconnect?
>
>
> This is the servlet code which never stops:
>protected void processRequest(HttpServletRequest request,
> HttpServletResponse response)
>throws ServletException, IOException
>{
>HttpSession session = request.getSession();
>System.out.println("Session " + session.getId() + " started");
>
>response.setContentType("text/html;charset=UTF-8");
>
>PrintWriter out = response.getWriter();
>try
>{
>while (!out.checkError())
>{
>try
>{
>Thread.sleep(1000);
>} catch (InterruptedException ex)
>{
>ex.printStackTrace();
>}
>
>Date date = new Date();
>
>// TODO append output to the client browser here
>out.println(".");
>
>System.out.println("Session " + session.getId() + "
> data sent at: " + date);
>
>out.flush();
>//break;  // _TEST
>}
>} finally
>{
>System.out.println("Session " + session.getId() + " finished");
>out.close();
>}
>}
>
>
> Thanks,
> Mike
>
>
> --
> Best regards,
> Mikhail Gerdov mailto:ger...@gmail.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
-~--~~~~--~~--~--~---



[java ee programming] Re: Ideas on how to share authentication across different applications

2009-02-05 Thread Artashes Hovasapyan
In regards to the first question I think you should integrate your
applications via web services and use WS-Security (and related
specifications).
-- 
Regards,
Artashes Hovasapyan


On Thu, Feb 5, 2009 at 12:46 AM, aswin.widj...@gmail.com <
aswin.widj...@gmail.com> wrote:

>
> Hi,
>
> I have a question regarding sharing authentication between different
> applications (java & non-java).
> I'm familiar with JAAS, but it only works if both applications are
> J2EE application.
> I guess this would be geared towards something like a single sign-on
> functionality. Any elegant solutions out there?
>
> Additionally, according to J2EE spec, is it true that session could be
> shared between different web applications (WAR) in the same enterprise
> application only (EAR)? Or is this application server specific
> implementation, and J2EE spec does not allow sharing of session
> between different web apps? I've googled this and I got conflicting
> answers.
>
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: About Homeworks

2009-02-04 Thread Artashes Hovasapyan
I don't really think so. They will be sorted at the end of the course so
that you'll get the certificate and your name will be included in students
list on the class website. Though I believe that it is not the main goal,
the main goal is to lean and share the knowledge. ;)

-- 
Regards,
Artashes Hovasapyan

On Wed, Feb 4, 2009 at 9:48 PM, Adrian Lezcano wrote:

>  Hello Friends: when I send the homerwork, do I need to send with my
> personal details or only the homework? I'll wait for yours answers.
>
>
> Adrian Lezcano.
> Corrientes(Argentina).
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Question for MyFirstWebApp in LAB-4001

2009-02-04 Thread Artashes Hovasapyan
Your applications are deployed in
/domains//applications. For example your
MyFirstWebApp will be deployed
under C:\Sun\AppServer\domains\domain1\applications\j2ee-modules under
Windows (provided that you are using domain1 which is default and you've
used default installation path).

-- 
Regards,
Artashes Hovasapyan


On Wed, Feb 4, 2009 at 6:43 AM, Mark Shen  wrote:

> Hi,
>
> I follow the LAB-4001 and all test work fine.
>
> But I can not find the deployed files for the LAB when I check the
> glassfish v2 folder at C:\Program Files\glassfish-v2ur2,
>
> Would you told me the web site folder for deployed files?
>
> Thanks
>
>
> Mark
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: basic working of GreetingServlet in Hello2 project of ServletBasics lab

2009-02-04 Thread Artashes Hovasapyan
Request object's scope is single request, i.e. it is visible to all
components that take part in processing of the request.

-- 
Regards,
Artashes Hovasapyan


On Wed, Feb 4, 2009 at 1:15 AM, supriya.kh...@gmail.com <
supriya.kh...@gmail.com> wrote:

>
> I have query about GreetingServlet of hello2 project. It seems like
> that code in doGet() method is rendering the form for input, as well
> as it is validating it and forwarding it to ResponseServlet(). Whether
> the code for form rendering as well as validation get executed in one
> request or it is two requests, I am bit confused!
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Hi

2009-01-26 Thread Artashes Hovasapyan
Please see course FAQ - http://www.javapassion.com/coursefaq.html

-- 
Regards,
Artashes Hovasapyan


On Thu, Jan 22, 2009 at 2:13 AM, zaghman  wrote:

>
> Hi All,
>   Anybody know where i get register for this course?
>
> >
>


-- 
Regards,
Artashes Hovasapyan

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: J2EE -> legacy system

2009-01-26 Thread Artashes Hovasapyan
Hi,

Try using Mule ESB or Java CAPS.

-- 
Regards,
Artashes Hovasapyan


On Fri, Jan 23, 2009 at 7:58 PM, Mike Jamer
wrote:

>  Hey Guys,
>
> I guess this is a question mostly out of general interest.
>
>
>
> I have a desire to attempt to interact with a legacy system (TN5250, VT100)
> using J2EE/glassfish.
>
>
>
> What are my options?  In the .NET world, I might use a product like Zephyr
> Passport HIO, or TTWin.
>
>
>
> Ideally, working with something offered free would be preferred.
>
>
>
> Any opinions?
>
>
>
> Thanks,
>
>
>
> Mike
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Hi Everyone

2009-01-07 Thread Artashes Hovasapyan
You're absolutely right. But keep in mind that all students here are always
encouraged to read something more than the course materials.
On a separate note I'd like to mention (once again) that many of
the questions posted on class mailing might be already answered on class FAQ
section on http://www.javapassion.com/coursefaq.html.

-- 
Regards,
Artashes Hovasapyan

On Mon, Jan 5, 2009 at 1:00 AM, Stephen Nixon wrote:

>
> Hello all,
> Just a quick message to say hello to everyone.
> I've just a quick question about the course structure. We have some
> dates for the new session, but some sections do not have dates. Is
> this because these sections will be skipped in this session?
>
> Cheers
> Stephen
>
> >
>

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[java ee programming] Re: Volatile and Transient keywords

2009-01-07 Thread Artashes Hovasapyan
Hi,

Volatile keyword specifies that the variable might be asynchronously
modified by concurrently running threads. This warns compiler to fetch them
every time the variable is accessed instead of caching them in registers. It
also inhibits certain optimizations that are based on assumption that the
variable is changed only by a single thread.

Transient keyword specifies that the variable (field of the class) should
not be included in instance serialization. These variables are neither saved
nor restored by serialization. You should take care of the restoring of
those yourself.

-- 
Regards,
Artashes Hovasapyan

On Tue, Jan 6, 2009 at 1:27 PM, KK  wrote:

>
> Hi ,
>
>  I would like to know the purpose of the keywords Volatile and
> Transient. If possible with an example. I have tried to understand
> them, but somehow not clear with 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
-~--~~~~--~~--~--~---