[java ee programming] java communications api
Hi Team Can someone please help me. I have been trying to download java commmunications api from oracle website but with no success. Can someone pls help me Regards Nicholas -- 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 Web Service?
or even simpler : http://download.oracle.com/javaee/6/tutorial/doc/bnayn.html package helloservice.endpoint; import javax.jws.WebService; import javax.jws.webMethod; @WebService public class Hello { private String message = new String(Hello, ); public void Hello() { } @WebMethod public String sayHello(String name) { return message + name + .; } } On Mon, Jul 25, 2011 at 8:44 PM, Icon Web Solutions din...@gmail.comwrote: http://www.javaissues.com/2011/04/apache-axis-14-hello-world-example-jws.html follow the steps on the link above. On Mon, Jul 25, 2011 at 11:53 AM, Evgeniy Pol. yone...@gmail.comwrote: Hi Everyone! I want implement *java web service.* I'm new in this. someone can give me some advise somethink for begin with this implementation? which server is better? Which protocol? SOAP or somethink else? 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 -- - Dinesh Chanchalani ~USA~ 718-408-4482 ~India~ 99696-13412 www.IconWebSolutions.info www.IconTraining.info www.JavaIssues.com www.DotnetIssues.com http://www.DotnetIssues.comwww.RentProjector.in The fundamental principle of economic activity is that no man you transact with will lose; then you shall not - Chanakya in Arthashastra “Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don’t quit” - Conrad Hilton कदम निरंतर बढ़ते जिनके, श्रम जिनका अविराम है, विजय सुनिश्चित होती उनकी, घोषित यह परिणाम है | -- 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 -- Sebastian E. Ovide -- 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] Java Web Service?
Hi Everyone! I want implement *java web service.* I'm new in this. someone can give me some advise somethink for begin with this implementation? which server is better? Which protocol? SOAP or somethink else? 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
Re: [java ee programming] Java Web Service?
http://www.javaissues.com/2011/04/apache-axis-14-hello-world-example-jws.html follow the steps on the link above. On Mon, Jul 25, 2011 at 11:53 AM, Evgeniy Pol. yone...@gmail.comwrote: Hi Everyone! I want implement *java web service.* I'm new in this. someone can give me some advise somethink for begin with this implementation? which server is better? Which protocol? SOAP or somethink else? 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 -- - Dinesh Chanchalani ~USA~ 718-408-4482 ~India~ 99696-13412 www.IconWebSolutions.info www.IconTraining.info www.JavaIssues.com www.DotnetIssues.com http://www.DotnetIssues.comwww.RentProjector.in The fundamental principle of economic activity is that no man you transact with will lose; then you shall not - Chanakya in Arthashastra “Success seems to be connected with action. Successful people keep moving. They make mistakes, but they don’t quit” - Conrad Hilton कदम निरंतर बढ़ते जिनके, श्रम जिनका अविराम है, विजय सुनिश्चित होती उनकी, घोषित यह परिणाम है | -- 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] Java Developer
Java Developer send resumes to jer...@jjcpl.net se...@jjcpl.net Only Telephonic interview Location – Newbury Park CA Rate: $40/hr c2c all inc Duration – 6+ months Strong Object Oriented concepts Strong in Java 1.5 foundations Hands on experience with– HTML, JSP, JQUERY Strong Spring Concepts and Development experience. - Spring IOC Container - Spring Annotations - Spring JDBC - Transaction management - Spring MVC - Spring Batch framework - Spring AOP Development Experience in Web Services - JAXB 2.x - Good XML/XSL /XSDs understanding - SOAP - XML Beans Experience on Dozer. Knowledge on Maven Worked on IDE’s – RSA 7.5, RAD 7.5 Experience on Version Control Tool - ClearCase, SVN Experience with Struts2.0 Testing – - Automated testing Using JUnit - Code Coverage tool – Cobertura Experience with Code Review tools – Check Style, PMD, Find Bugs. Experience with Application servers – WAS 7.0, Tomcat 7.0, Experience with Data base design and stored procedure development- SQL 8.0 Good experience with Performance tuning, scalability improvement of application. Comfortable of working in a UNIX/Linux Good UML experience (Design Patterns) and ability to clearly document design details and Approaches Good design and problem solving capabilities Able to act as technical lead and work independently with minimum support and drive and coordinate different efforts at the same time Able to do development of modules with minimum review and cordination. Good communication and fast learner to understand new products and perform Proof Of Concept's Health Domain experience a plus -- 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] Java EE programming course is renamed into Web programming
In case you have not noticed on the website, the Java EE programming course has been morphed into the following two courses -Web programming basics -Struts 1 programming We are going to use the same email alias (this email alias) for Web programming basics. Thanks. -Sang -- --- Sang Shin, sangshinpass...@gmail.com Founder and Chief Instructor of JavaPassion.com http://javapassion.com/portal/instructors/sang-shin-schedule (Bio) http://www.linkedin.com/in/javapassion (Linkedin) http://twitter.com/javapassion (Tweeter) Life is worth living... with Passion! Spring 3 Hibernate/JPA 5-day Webinar Codecamp (June 13th-17th,2011) For registration, go to http://www.javapassion.com/codecamps -- -- 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] Java EE 6 Reloaded!
This month's Java Tech Journal is now available on-line for FREE download! Download it at http://jaxenter.com/java-tech-journal In last month's Java EE 6-centric issue of Java Tech Journal, we looked at in-container testing for Java EE, with the Arquillian test framework; building RESTful Web Services in Java using JAX-RS; and were introduced to Java EE 6 compatible web profile servers, such as Siwpas. But, Java EE 6 marked a big step forward for the platform and there's still plenty of new technologies to cover in this second JTJ issue dedicated to all things Java EE 6! When Java EE 6 Final was released in 2009, it introduced a subset of the Java EE platform containing only those technologies that were deemed essential for the majority of web application developers. This Web Profile was designed to counter on-going criticism that the Enterprise Java platform was too large and complex, particularly for smaller organizations. Java EE 6 also brought in the concept of the managed bean Java class, and Contexts and Dependency Injection (CDI) was a part of the Java EE 6 stack. In this follow-up issue we deep dive into all these technologies: Web Profile, CDI and managed beans, to get you up-to- date on the current release of the Enterprise Java platform. The big news in the Java EE 6 ecosystem is, of course, the release of GlassFish 3.1, which is both the first major update to the platform since the debut of the 3.0 series and the first major release of GlassFish under Oracle. How does GlassFish 3.1 compare to the community roadmap presented by Oracle in March, 2010? Check out our 'GlassFish 3.1: What's New and Hot' article to find out! A number of Java EE 7 JSRs may have officially started after a successful EC vote in March, but there's still plenty of innovation happening in Java EE 6. Last month's issue examined the emerging relationship between Enterprise Java and cloud computing, and in this issue we once again take you to the cutting-edge of development with a case study that looks at merging Scala and CDI, using SBT. If our two Java EE 6 issues have left you wanting more info on Enterprise Java, be sure to come along to JAX San Jose in June, where Oracle's Arun Gupta will moderate TWO days dedicated to the Java EE platform (www.jaxconf.com). Hope you enjoy the issue! Thanks, Jenni -- 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] Java EE 6: EJB vs Backingbeans
Hi All, we started a new application a couple of months ago with Java EE 6. We started using @ManagedBean then we moved @Named as in this way we could use CDI and JSF together then we started using Seam JSF which overwrites @ManagedBean to @Named... a recently we are using @Stateless we are kind of confused and we are not sure what should we use Do you see any problem in using only EJBs ? why should we use @Named ? 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] Java abilities
Hi, I have a general question. I have worked as Junior Java Developer for 1 year. I see any progress but I'm not sure if it is this I would like. Maybe you share with your opinion what should be standard level of skills etc. after 1 year. Thanks for all sensible opinions. 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] Java Collections List : Converting from List 'Column String1, String2' to 'List String1'
I have a function that returns a list like this:- List Column String1, String2 Next I want to pass this list to a 2nd function, but 2nd function just needs a list which contains only 1st part (string1) of the Column(s) of the above list. So I want pass just this list to 2nd function:- List String1 What would be the best way to do this ?? ** [my use case: Both the functions are from a library that I use to access database(Cassandra) for a web application. 1st function gives me a list of all columns which has two parts name(String1) and value(String2). So 1st function gives me a list of all columns(each of which has two strings) then I just need to use the list of column names to supply it to 2nd function that'll query the DB for those columns.] -- 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 Collections List : Converting from List'Column String1, String2' to 'List String1'
Thanks... Yes, this way I know but is it advisable to use this, when you need to do this job mutiple no of times when you're generating a single page on a website for a single user ? Aren't there any libraries that accomplish this in a much better way. I guess I require something that is superfast reasonably efficient as well. My use case is a website and this job needs to be done multiple no of times and for several pages, on the website. On Sun, Feb 20, 2011 at 2:13 AM, gaiji...@gmail.com wrote: It would be best if you can code the 2nd function yourself. That way you can receive what 1st function returns. Internally you could use: void foo(ListColumnString, String list) { for(ColumnString, String column : list) { String columnName = column.getName(); // I assume there is a getter for this field // more code } } If that is not an option, then you can do exactly the same but in the more code part, add the String to a List and after the loop, return it. The first option is better because you accomplish you goal in time proportional to the size of the list, while in the second it is proportional to the square of the size. If you have a lot of entries that may be significant. Enviado desde BlackBerry® de COMCEL S.A. From: Raj rajkumar@gmail.com Sender: java-ee-j2ee-programming-with-passion@googlegroups.com Date: Sat, 19 Feb 2011 04:02:05 -0800 (PST) To: java-ee-j2ee-programming-with-passion@googlegroups.com ReplyTo: rajkumar@gmail.com Subject: [java ee programming] Java Collections List : Converting from List 'Column String1, String2' to 'List String1' I have a function that returns a list like this:- List Column String1, String2 Next I want to pass this list to a 2nd function, but 2nd function just needs a list which contains only 1st part (string1) of the Column(s) of the above list. So I want pass just this list to 2nd function:- List String1 What would be the best way to do this ?? [my use case: Both the functions are from a library that I use to access database(Cassandra) for a web application. 1st function gives me a list of all columns which has two parts name(String1) and value(String2). So 1st function gives me a list of all columns(each of which has two strings) then I just need to use the list of column names to supply it to 2nd function that'll query the DB for those columns.] -- 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] Java Deployment
Hi What you mean? ‘that is not open” Thanks Kind Regards, 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 ü From: Narender Kumar Rajput [mailto:narender.n...@gmail.com] Sent: Friday, October 08, 2010 12:39 PM To: nelson.rodr...@loadstarlk.com Subject: Re: [java ee programming] Java Deployment that is not open On Fri, Oct 8, 2010 at 9:08 AM, Nelson Rodrigo - LHQ nelson.rodr...@loadstarlk.com wrote: Dear Friends I think I have almost done my java web Application Its working properly from my pc and others can connect it well Now I want it to pass our common Server I mean my local pc IP 10.142.33.101:8080/Bills/Login.html Common server pc ip is 10.142.33.202:8090 I want to deploy my application to this server finally it address looks like http://10.142.33.202:8090/Bills/Login.html So friend I want your help to do that Please give steps by steps I am using Eclips as IDE. Don’t laugh J me, I am very new to java applications. Thanks Kind Regards, 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 mailto:java-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 -- Winning doesn't always mean being first, Winning means you are doing better than you have done before -- Bonnie Blair. Thank You Warm Regards Narender kumar +91 9810401081 +91 9839720550 -- 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] Java Deployment
Dear Friends I think I have almost done my java web Application Its working properly from my pc and others can connect it well Now I want it to pass our common Server I mean my local pc IP 10.142.33.101:8080/Bills/Login.html Common server pc ip is 10.142.33.202:8090 I want to deploy my application to this server finally it address looks like http://10.142.33.202:8090/Bills/Login.html So friend I want your help to do that Please give steps by steps I am using Eclips as IDE. Don’t laugh J me, I am very new to java applications. Thanks Kind Regards, 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] Java Script Error
Dear Friends In here attached file I have problem. When I click on the submit button all fields are validated and if validations false messages came So when I close the validation messages window the button action (action=ChangePassword) also triggered What I want is … only all validations are true (that means messages are not came) then only triggered the action Otherwise (validation false messages came) button action (action=ChangePassword) does not triggered. Please don’t suggest so many new validation codes, give some help to solve this and conceder I am very new to java J. Thanks Kind Regards, 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=enTitle: Dialog Call Details Finder - New Registration New Registration Please full fill following all fields and press Submit button to confirm. Please check your eMail for the user name & password. For any clarification please contact nelson.rodr...@loadstarlk.com. First Name Last Name SAP No eMail ID
RE: [java ee programming] Java Script Error
Hi Lu Please specify the problem Thanks Kind Regards, 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 ü From: Mary Lu [mailto:gbmary...@hotmail.com] Sent: Tuesday, September 14, 2010 7:11 AM To: nelson.rodr...@loadstarlk.com Subject: RE: [java ee programming] Java Script Error double check the setting on return _ From: nelson.rodr...@loadstarlk.com To: java-ee-j2ee-programming-with-passion@googlegroups.com CC: ramesha...@gmail.com; perera.harsh...@gmail.com Subject: [java ee programming] Java Script Error Date: Mon, 13 Sep 2010 17:15:49 +0530 Dear Friends In here attached file I have problem. When I click on the submit button all fields are validated and if validations false messages came So when I close the validation messages window the button action (action=ChangePassword) also triggered What I want is … only all validations are true (that means messages are not came) then only triggered the action Otherwise (validation false messages came) button action (action=ChangePassword) does not triggered. Please don’t suggest so many new validation codes, give some help to solve this and conceder I am very new to java J. Thanks Kind Regards, 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?h l=en --Forwarded Message Attachment-- New Registration http://Images/NewUser.png Please full fill following all fields and press Submit button to confirm. Please check your eMail for the user name password. For any clarification please contact nelson.rodr...@loadstarlk.com. First Name [ ] Last Name [ ] SAP No [ ] eMail ID [ ] [Submit] [Reset] -- 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] [Java EE (J2EE) Programming with Passion!]
please help me. how to create applications with J2EE. I'm eager to create simple applications with it is there that have tutorials. please help me. -- 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 EE (J2EE) Programming with Passion!]
goto eclipse or netbeans and download the IDE for the jdk that you want to use..Again, i assume you have downloaded the Java package from java.sun.com... follow the java tutorial for details.. regards, jd On Sun, Jun 27, 2010 at 5:02 PM, agungx2 agungsukari...@gmail.com wrote: please help me. how to create applications with J2EE. I'm eager to create simple applications with it is there that have tutorials. please help me. -- 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] java struts2
hello, where i can find a guide to install the struts2 plugin in eclipse? thanks chris -- 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 struts2
You try it http://www.roseindia.net/struts/struts2/struts-2-eclipse-plugin.shtml On Fri, Jun 25, 2010 at 11:46 PM, Christian christian.per...@gmail.comwrote: hello, where i can find a guide to install the struts2 plugin in eclipse? thanks chris -- 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 -- Thanks, best regard! == Nguyen Duc Khoi Portal Team eXo Platform South East Asia (http://www.exoplatform.com) T: http://twitter.com/ndkhoiits F: http://facebook.com/ndkhoiits -- 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 reporting tools
jasper reports?! On 21 June 2010 10:54, kasert kasims...@gmail.com wrote: Hello all, I am searching a java-based reporting tool, which may take parameter in word file for instance.Can you suggest me such a tool or tell me what you use for reporting? Thanks in advance. -- 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] Java reporting tools
Hello all, I am searching a java-based reporting tool, which may take parameter in word file for instance.Can you suggest me such a tool or tell me what you use for reporting? Thanks in advance. -- 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 reporting tools
http://jasperforge.org/projects/jasperreports http://jasperforge.org/projects/jasperreports http://en.wikipedia.org/wiki/JasperReports On Mon, Jun 21, 2010 at 9:54 AM, kasert kasims...@gmail.com wrote: Hello all, I am searching a java-based reporting tool, which may take parameter in word file for instance.Can you suggest me such a tool or tell me what you use for reporting? Thanks in advance. -- 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] Java EE, Building Bookstore application ex. bookstore5, LAB 4016
Hi all, I am not able to run the bookstore5 sample application in Netbeans 6.8. It fails to make connection to the database. I have double checked driver, passwords, and database. Wondering if some one else had same problem. I am able to run bookstore1, bookstore2 and bookstore3 examples. I am finished sending all other assignements for this class. I am stuck at this one. If some one can suggest what could be going wrong. Thanks, Preet -- 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] Java EE, Building Bookstore application ex. bookstore5
Hi all, I am not able to run the bookstore5 sample application in Netbeans 6.8. It fails to make connection to the database. I have double checked driver, passwords, and database. Wondering if some one else had same problem. I am able to run bookstore1, bookstore2 and bookstore3 examples. Thanks, Preet -- 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 Learning path
Java is quite huge... too much... I will follow this: 1. Learn Core Java (Basics are the most important to crack any interview if reading from job perspective). 2. Learn Web (Just JSP no good but still learn Servlet\JSP and some framework like Struts). 3. Learn EJB (Its a middleware and you are safe as most of the new project use EJB 3.0 and above but EJB2.x is still not gone). 4. Learn some framework like Spring (If you know EJB3.0 JPA then you are kind of in path with other ORM like Hibernate). 5. Some info on WebServices is always an added advantage. And for almost all of these are here at javapassion :) Cheers, Prabhat vladakg85 wrote: Ok I lost my .NET job and with whole body I wan't to learn Java :) (no I have time) I have 2 years experience in building desktop applications. I learned Java as a language (syntax etc.) now I have a little doubt. I primarily wan't to learn how to build Web applications. I learned to use Maven for start. Now I don't know which way is better: 1) To learn JSP first Spring second or Spring JSP? Which way is smarter? 2) Is EJB in J2EE same thing as Spring? -- 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] JAVA Bar code Reader with USB Barcode Scanner
Anand, Chek out Java POS. regards, Moses Kiche On Tue, Mar 23, 2010 at 12:19 PM, Anand anand@gmail.com wrote: On Tue, Mar 23, 2010 at 1:08 PM, lanre afod lanre.a...@gmail.com wrote: once you point the barcode scanner to an object that has a barcode, the reader would transfer the unique value into a jtextfield object. (assuming you are using j2se). you can now compare the values retrived with that stored in a database that contains all barcode values to get the product details On 23 March 2010 07:26, Anand anand@gmail.com wrote: hi, Can anybody suggest me how to work on Java Bar Code Reader project.what are the requirements and compatability with scanner. Is thr any readymade api for it. Ebook reference will also help for same.. -- Regards, @n...@nd, Software Engineer, . -- 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 To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- Regards, @n...@nd, Software Engineer, ZEDO AdServing . -- 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 To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject. -- 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 To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
[java ee programming] JAVA Bar code Reader with USB Barcode Scanner
hi, Can anybody suggest me how to work on Java Bar Code Reader project.what are the requirements and compatability with scanner. Is thr any readymade api for it. Ebook reference will also help for same.. -- Regards, @n...@nd, Software Engineer, . -- 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 To unsubscribe from this group, send email to java-ee-j2ee-programming-with-passion+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: [java ee programming] java in future
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
[java ee programming] java in future
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
[java ee programming] Java EE 6 1-day Online Codecamp (on Jan. 12th, 2010)
(My apology if you receive this multiple times.) Java EE 6 1-day Online Codecamp (on Jan. 12th, 2010) == Alexis, Antonio, and myself (Sang Shin) would like invite each one of you to the free Java EE 6 1-day (24 hour duration) online codecamp, which is scheduled to occur on Jan. 12th (Tuesday) 2010. What is online codecamp? Well, you write lots of code in this 24-hour period. For more detailed information on What is it like to attend the online codecamp?, please see the codecamp website below. http://www.javapassion.com/courses/javaee6codecamp.html For registration, all you have to do is to send a blank email to subscription email address below. (You might have to have a Google account before registration.) javaee6-codecamp+subscr...@googlegroups.com All future announcements on this codecamp will be made through the codecamp website and the codecamp email alias. Please feel free to forward this email to anyone who might be interested. Thank you very much. We are looking forward to seeing you (virtually) all. -Alexis Moussine-Pouchkine, Antonio Goncalves, Sang Shin -- --- Sang Shin, sangshinpass...@gmail.com, sang.s...@sun.com http://www.javapassion.com/SangShinSchedule.html (Life is worth living... with Passion!) --- Groovy/Grails Programming course starts from Jan. 30th, 2010 http://www.javapassion.com/groovyandgrails/ Ajax and Web 2.0 Programming course started from Sep. 7th, 2009 http://www.javapassion.com/ajaxcodecamp/ Advanced Java EE Programming course started from Oct. 1st, 2009 http://www.javapassion.com/javaee_advanced/ --- -- 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] Java courses in Oslo/Norway
Hi Colleagues, Do you know maybe about interesting courses of Java in Oslo /Norway? The course may be payable as the company where I'm employed is willing to refund the costs. Just I need to take decision very quickly. Best regards, Rafal Laczek Wygraj nagrody za kupowanie prezentów - zobacz: http://klik.wp.pl/?adr=http%3A%2F%2Fcorto.www.wp.pl%2Fas%2Ftaniokonkurs.htmlsid=935 -- 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 Programming Question, Please help its urgent.?
Try this. Create a file Test.java and put this class, compile and run. class Test { public static void (String[] args) { MyRobot robot = new MyRobot(); robot.displayWords(); } } - Experience is what you get when you didn't get what you wanted. Don't bail; the best gold is at the bottom of barrels of crap. -- Randy Pausch A diamond is a chunk of coal that is made good under pressure. --anonymous --- On Sat, 12/5/09, uTkArsh utkarsh60...@gmail.com wrote: From: uTkArsh utkarsh60...@gmail.com Subject: [java ee programming] Java Programming Question, Please help its urgent.? To: Java EE (J2EE) Programming with Passion! java-ee-j2ee-programming-with-passion@googlegroups.com Date: Saturday, December 5, 2009, 6:54 PM I have this code for a program which do not have a main method. now i wanted to make another file or class which uses this code to get the output whatever it is. so can someone please help me by letting me know th coding by which i can get an output. The coding i have is as under. Thanks public class MyRobot { protected String model = Asimo; protected String make = Mitsubishi; protected String[] words = { hello, good, excellent, awesome, bad }; protected String[] lessWords; protected String[] newWords; //get methods public String getModel() { return model; } public String getMake() { return make; } public String[] getWords() { return words; } //set methods public void setModel(String myModel) { model = myModel; } public void setMake(String myMake) { make = myMake; } public void setWords(String[] myWords) { words = myWords; } //default constructor public MyRobot() { System.out.println(This is a default MyRobot() Constructor!); } //overloaded constructor public MyRobot(String model, String make) { this.model = model; this.make = make; System.out.println(This is overloaded MyRobot(String model, String make) Constructor); } //method learnWord public String learnWord(String newWord) { boolean isNewWord = false; for (int i = 0; i words.length; i++) { if (words[i].equalsIgnoreCase(newWord)) { System.out.println(Word Exists); return (This is a Valid Word); } else { isNewWord = true; } } String[] newWords = new String[words.length + 1]; if(isNewWord) { for (int i = 0; i newWords.length -1; i++) { newWords[i] = words[i]; } newWords[newWords.length -1] = newWord; words = newWords; } return Valid; } //method forgetWord public String forgetWord(String word){ if(words.length 0) { boolean wordExists = false; int indexfound = -1; for(int i = 0; i words.length; i ++) { if(words[i].equalsIgnoreCase(word)) { wordExists = true; indexfound = i; } } if(wordExists) { String[] lessWords = new String[words.length -1]; for (int i = 0; i words.length; i++) { if(i indexfound) { lessWords[i] = words[i]; } if(i indexfound) { lessWords[i - 1] = words[i]; } } words = lessWords; } else { System.out.println(Word does not Exist); } } return Valid; } //method displayWords public void displayWords() { System.out.println(The Model is + getModel()); System.out.println(The Make is + getMake()); if(words != null) { for (int i = 0; i words.length; i++) { System.out.println(The Words Array are + words[i]); } } if(lessWords != null) { for(int i = 0; i lessWords.length; i++) { System.out.println(The lessWords Array are + lessWords[i]); } } if(newWords != null) { for(int i = 0; i newWords.length; i++) { System.out.println(The newWords Array are + newWords[i]); } } } } -- 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] Java CAPS
Hi All, Does anyone have material for Java Caps and ICAN? Please let me know where I can find information about the same Thanks Archana -- 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] Java Calendar cannot handle DST in a correct way
Hi I am trying to get to grips with Java Calendar class (and the TimeZone class). I have noted some very weird behaviour though: Try the following: 1) Bring up the Date and Time Properties window in Windows XP and select the timezone (GMT -03:00) Montevideo. Leave the DST box unchecked, click Apply. Now run the application code seen at the bottom of this post. Note in Java output how Java identifies the timezone as GMT-03:00 and also outputs the time as being the same as the Windows OS time. Correct behaviour according to me! 2) Click to check the DST box and then click Apply. Now run the application code seen at the bottom of this post again. Note in Java output that Java identifies the timezone as GMT and also outputs the time as being 3 hours more than it was when using DST. Java's time is now not correlated with Windows time. WHAT IS GOING ON HERE??? Montevideo has got +1 hour DST time, not 3 hours. And how can Java identify it as GMT when it really should be GMT-3. Montevideo is not the only timezone that is identified as GMT when DST is enabled. For example also (GMT+04:00) Baku and (GMT+02:00) Beirut are also identified as GMT when DST is enabled. I am confused by Java time management to say the least. If anyone has any idea of what is going on here I would really appreciate some help. public class TimeTestMain { public static void main(String[] args) { test(); } private static void test(){ Calendar cal = Calendar.getInstance(); TimeZone tz = cal.getTimeZone(); System.out.println(TimeZone info: + tz); System.out.println(time in + tz.getDisplayName() + is: + cal.getTime().toString()); } --~--~-~--~~~---~--~~ 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] Java Error:- XML Parsing Error: XML or text declaration not at start of entity
Hi friends, I am getting this error on doing a post(using the code below) to this url- http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=pubmedterm=cancerreldate=10 I have written this code in .jsp file. Later I will change it into servlet. Error:- XML Parsing Error: XML or text declaration not at start of entity Location: http://localhost:8080/ProteomDb/ImportFromPubmed2.jsp?txtDbName=pubmedtxtTerm=cancertxtreldate=10comSDay=01comSMonth=01txtSYear=comEDay=01comEMonth=01txtEYear=txtURLString=http%3A%2F%2Feutils.ncbi.nlm.nih.gov%2Fentrez%2Feutils%2Fesearch.fcgi%3Fdb%3Dpubmed%26term%3Dcancer%26reldate%3D10txtsubmit=Fetch+Data+From+NCBI Line Number 11, Column 1:?xml version=1.0 ?!DOCTYPE eSearchResult PUBLIC -//NLM//DTD eSearchResult, 11 May 2002//EN http://www.ncbi.nlm.nih.gov/entrez/query/DTD/eSearch_020511.dtd;eSearchResultCount2034/CountRetMax20/RetMaxRetStart0/RetStartIdList Id19877350/IdId19877304/IdId19877297/Id Id19877284/IdId19877271/IdId19877265/Id Id19877250/IdId19877245/IdId19877226/Id Id19877210/IdId19877179/IdId19877175/Id Id19877161/IdId19877159/IdId19877158/Id Id19877123/IdId19877122/IdId19877120/Id Id19877119/IdId19877118/Id /IdListTranslationSetTranslation Fromcancer/From Toneoplasms[MeSH Terms] OR neoplasms[All Fields] OR cancer[All Fields]/To/Translation/TranslationSetTranslationStack TermSetTermneoplasms[MeSH Terms]/TermFieldMeSH Terms/FieldCount2082133/CountExplodeY/Explode /TermSet TermSetTermneoplasms[All Fields]/TermFieldAll Fields/FieldCount1634731/CountExplodeY/Explode /TermSet OPOR/OP TermSetTermcancer[All Fields]/Term FieldAll Fields/FieldCount902537/CountExplodeY/Explode /TermSet OPOR/OP OPGROUP/OP TermSet Term2009/10/22[EDAT]/TermFieldEDAT/FieldCount0/Count ExplodeY/Explode /TermSet TermSet Term2009/11/01[EDAT]/TermFieldEDAT/FieldCount0/Count ExplodeY/Explode /TermSet OPRANGE/OP OPAND/OP /TranslationStackQueryTranslation(neoplasms[MeSH Terms] OR neoplasms[All Fields] OR cancer[All Fields]) AND 2009/10/22[EDAT] : 2009/11/01[EDAT]/QueryTranslation/eSearchResult ^ As you can see, the XML output is coming fine but the above error does not go..The output via this program should be just like hitting manually the above URL in the browser.. The browser is Mozilla Firefox. Code:- %@ page language = java % %@ page import = java.sql.* % %@ page import = java.util.* % %@ page import = java.io.* % %@ page import=java.lang.* % %@ page import=java.net.* % %@ page import=java.nio.* % %@ page contentType=text/xml; charset=utf-8 pageEncoding=UTF-8 % % try { //String str = ?xml version='1.0' ?; //out.println(?xml version='1.0' encoding='utf-8' ?); Properties systemSettings = System.getProperties(); systemSettings.put(http.proxyHost, ); systemSettings.put(http.proxyPort, **); systemSettings.put(sun.net.client.defaultConnectTimeout, 1); systemSettings.put(sun.net.client.defaultReadTimeout, 1); //out.println(Properties Set); Authenticator.setDefault(new Authenticator() { protected PasswordAuthentication getPasswordAuthentication() { return new PasswordAuthentication(**, **.toCharArray()); // specify ur user name password of iitb login } }); System.setProperties(systemSettings); //out.println(After Authentication Properties Settings); //create xml file. //the input to google api //String textAreaContent = request.getParameter(text); String textAreaContent = This si a tst; String str = ?xml version='1.0' encoding='utf-8' ?; //xml file generation ends here.. //FetchDataFromNCBI_URLString.jsp String URLString = request.getParameter(txtURLString).trim(); //URL url = new URL( http://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=proteinterm=BAA20519 ); URL url = new URL(URLString); //url string taken from user input. HttpURLConnection connection = null; connection = (HttpURLConnection) url.openConnection(); System.out.println(After open connection); connection.setRequestMethod(POST); connection.setDoInput(true); connection.setDoOutput(true); connection.setUseCaches(false); connection.setAllowUserInteraction(false); //connection.setFollowRedirects(true); //connection.setInstanceFollowRedirects(true); //System.out.println(Before---); connection.setRequestProperty (Content-Type,text/xml; charset=\utf-8\); //System.out.println(After---); //System.out.println(+ connection.getOutputStream()); //System.out.println(After dataoutputstream..Line No-65); //System.out.println(Response Code=+ connection.getResponseCode); OutputStreamWriter dosout = new
[java ee programming] java
I am getting this error what should i do? [r...@localhost bin]# ./startup.sh Neither the JAVA_HOME nor the JRE_HOME environment variable is defined. At least one of these environment variable is needed to run this program. ThanksRegards Anuj Kumar --~--~-~--~~~---~--~~ 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] java socket question
Hello, I'm writing a c++ server and a java client that connects to it. The client connects to the server (TCP), sends a message and gets a echo reply every time, so the two can speak freely. But i'm puzzeled because I want the server to send data to the client when an event happens (I push a button on the server). When te event occurs the server sends the string, but the client does't receive it until it does a send/receive reply when it receives both the event string and the echo string. I implemented socket read into a separeted thread: public class Cititor implements Runnable{ private Socket skt ; private BufferedReader in; private PrintWriter out ; private Boolean connected ; private javax.swing.JTextArea afis; public Cititor(Socket skt, BufferedReader in, PrintWriter out, Boolean connected, JTextArea afis) { this.skt = skt; this.in = in; this.out = out; this.connected = connected; this.afis = afis; } public void run(){ System.out.println(să citim mesajele + connected); String inputLine = new String(), outputLine; do { try { Thread.sleep(100); if (connected) { try { //out.print( ); out.flush(); inputLine = in.readLine(); if (!inputLine.equals( )) afis.append(inputLine + \n); System.out.println(inputLine); } catch (IOException e) { System.err.println(Excepție citire din socket!); } } } catch (InterruptedException ex) { Logger.getLogger(Chat.class.getName()).log (Level.SEVERE, null, ex); } }while (inputLine.equals(pa!) == false) ; } In the main class init method I have this: myCititor = new Cititor(skt,in,out,connected,afisare); Thread t = new Thread ( myCititor); t.start(); And to send messages to the server I push a button: private void trimiteActionPerformed(java.awt.event.ActionEvent evt) { if (connected) out.println(textTrimite.getText()); else System.out.println(No connection); } The server uses a switch statement with FD_READ,FD_ACCEPT and FD_CLOSE (processing WSAGETSELECT event - WsAsync), and sends when a button is pushed (I'm using windows events button clicked). The trying to make the server capable of informing the client when an event occurs. The server is used for monitoring certain activities. But the client does't receive unless it sends and waits for a reply. What am I doing wrong? Regards, -- stan ioan-eugen --~--~-~--~~~---~--~~ 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] Java tutorial
I am reading the required reading for the Servlet Basics chapter and I am running into a problem. When I try to run the ant create-tables command like it tells you to do in the tutorial I get the following error message; BUILD FAILED file:C:/Downloads/Java/J2EE Class/TutorialExamples/javaee-5-doc- tutorial-1.0_05/javaeetutorial5/examples/web/books/build.xml:40: Unexpected element macrodef can anybody help me with this? --~--~-~--~~~---~--~~ 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] Java Sockets HTTP
So I am making a filtering proxy server, but when I try to read the data from the server I'm getting garbage. public void run() { Socket remoteSocket = null; try { BufferedReader clientIn = new BufferedReader(new InputStreamReader (clientSocket.getInputStream())); PrintWriter clientOut = new PrintWriter(clientSocket.getOutputStream (), true); MapString, String clientHeader = getHeader(clientIn); remoteSocket = new Socket(clientHeader.get(host), 80); BufferedReader remoteIn = new BufferedReader(new InputStreamReader (remoteSocket.getInputStream())); PrintWriter remoteOut = new PrintWriter(remoteSocket.getOutputStream (), true); MapString, String remoteHeader; sendHeaders(remoteOut, clientHeader); remoteHeader = getHeader(remoteIn); sendHeaders(clientOut, remoteHeader); sendContent(clientOut, remoteIn); } catch ( IOException e ) { e.printStackTrace(); } finally { try { clientSocket.close(); } catch ( Exception e ) {} try { remoteSocket.close(); } catch ( Exception e ) {} } setChanged(); notifyObservers(); } private void sendContent(PrintWriter out, BufferedReader in) throws IOException { char []buffer = new char[bufferSize]; int size = in.read(buffer); out.print(String.valueOf(buffer, 0, size)); out.flush(); } When I read the headers it works completely fine. Let me know what you think it wrong here. 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] Java Web Application Integration with WCMS
Hi, Our company is currently evaluating Content Management and Web Content Management solutions, in order to enable our clients to manage specific areas of web contents we deliver on their behalf. For example, on a web page (shared by all clients), we have have a footer, message block, terms conditions, etc.. Which we currently change for them, based on a request to our IT Staff, for a web page change. We'd like to give them an administrative URL (through a WCMS), and allow them to manage their own content. I'm an extreme newbie to the world of CMS's, and just can't seem to wrap my head around how you would integrate a J2EE web based application (using JSP, Servlets, or a framework like Struts), with a Content Management System??? How do the two coexist and play together??? I'm merely looking for someone to point me in the direction of some resources, for me to read on my own. I'm not even sure where to start! Thanks so much, for any suggestions! Best Regards, Todd --~--~-~--~~~---~--~~ 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] Java EE newbie question on @Remote annotation
Hello, I'm completely new to the Java EE platform, I've worked as a .NET developer for the past couple years and am currently looking to transition. Just recently I've purchased the book Enterprise JavaBeans 3.0 and am working my way through the examples in the book. One of the problems I've run into is that i cannot create a Remote Interface using the @Remote annotation. One of the examples appears as the following: import javax.ejb.Remote; import com.titan.domain.Cabin; @Remote public interface TravelAgentRemote { public void createCabin(Cabin cabin); public void findCabin(int id); } However when I try to compile this code I get an error message saying the that the class Remote could not be found. I know that the jar containing the javax.ejb.Remote class needs to be included in my classpath, but I've been unable to find any jar with this class. I've looked through virtually every jar under the JBoss installation directory. In that directory I find classes that are within the javax.ejb package but I cannot find the Remote class anywhere. I was hoping someone could point me in the right direction. I'm using JBoss 4.0.5 and JDK 1.5. Thanks in advance for any 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] Java Servlet for Loging Details
Dear Friends, this is related to J2EE I have Login html page, when i successfully (User Name and PW veryfied by Servlet)loging Home page will apper. so my problem is when Home page comming we want to display login user name also in the Home page how can i write a Servlet to achive my target. Additionaly if you have any Idea reagrging colect Working computer informations like IP Address, Computer Nameact. Thakns in Advance Nelson Rodrigo Staff Officer - 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 -~--~~~~--~~--~--~---
[java ee programming] Java Unit Test Tool
Hello everyone, I am trying to find my team a Java unit test tool and thought this would be the best place to start. If any of you have recommendations, with respective pros and cons, please let me know. We are looking for something which is NOT open source and plays nicely with NetBeans. Thanks, Maal --~--~-~--~~~---~--~~ 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] java heartbeat
Hi guys, I am working on this application where we need to detect if client is still working or not. If not then log him out before the timeout. I am thinking on the lines to send a heartbeat to the server and when it stops log him out. I have looked into AJAX heartbeat pattern but what I don't want is to start another thread from within the container (webLogic or OC4J). Hope I make sense. I need some suggestions please. Which framework to use? what should be the approach? If anyone has worked on this or has any code available? Thanks, Hardeesh --~--~-~--~~~---~--~~ 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] Java EE Overview Reading Resourc es (¿Old?)
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 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 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] Java Certification
Hi all, Could anyone please recommend books to read in order to get java certification for Java EE? Any help would be apreciated. Pedro Guevara --~--~-~--~~~---~--~~ 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] java 8086 emulator
Hi! I am Java newbie and am planning to write an 8086 emulator in java. Kindly give in any suggestions on how to do it in the best possible way. Also let me know the features one would like in it. Thanks, Sid --~--~-~--~~~---~--~~ 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] Java Tutor needed
HI I live in concord, california.. i want to take the java certification and need a tutor on weekends. If interested email at mahaku...@gmail.com about rate and timings --~--~-~--~~~---~--~~ 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] Java Leaders Forum
Congratulations all ! We have a new discussion forums. There may not be many posts yet, but hey--these forums are brand new, so what did you expect? So go ahead and start commenting about all java technologies and all other open sources application, and get the conversations started. Forum link: http://javaleaders.com/forum/index.php Aslo, our group on facebook: http://www.facebook.com/group.php?gid=5425349500 http://www.facebook.com/pages/Java-Leader/39118648323#/pages/Java-Leader/39118648323 waiting for your registration, if you need to be a modulator on forum just register and send one of forum admin a message containing your prefer section like (jsp, jsf,..). 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 -~--~~~~--~~--~--~---
[java ee programming] java all books
What is Byte Code? Or What gives java it’s “writ... http://freehrquestions.blogspot.com/2008/08/what-is-byte-code-or-what-gives-java.html Why oracle Type 4 driver is named as oracle thin d... http://freehrquestions.blogspot.com/2008/08/why-oracle-type-4-driver-is-named-as.html What is the difference between final, finally and ... http://freehrquestions.blogspot.com/2008/08/what-is-difference-between-final.html What is the Java API? http://freehrquestions.blogspot.com/2008/08/what-is-java-api.html Describe the principles of OOPS. http://freehrquestions.blogspot.com/2008/08/describe-principles-of-oops.html Is sizeof a keyword in java? http://freehrquestions.blogspot.com/2008/08/is-sizeof-keyword-in-java.html What is a native method? http://freehrquestions.blogspot.com/2008/08/what-is-native-method.html In System.out.println(), what is System, out and p.. http://freehrquestions.blogspot.com/2008/08/in-systemoutprintln-what-is-system-out.html --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en -~--~~~~--~~--~--~---