[java ee programming] API vs HTML bots

2010-05-12 Thread mrkzea
Hey. There are lots of social network aggregators nowadays. I was
wondering if such services are based on HTML bots which are
implementable in Java for example or maybe it is possible to use
service's (like for example facebook) API for such things.. or.. ?
Thanks in advance for your opinion.

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?hl=en


[java ee programming] Lab 4016 bookstore1 - couldn't get database

2010-05-12 Thread Redmond
I'm trying to build, and run bookstore1 sample application, I get an
error

May 12, 2010 2:52:11 PM org.apache.catalina.core.StandardWrapperValve
invoke
INFO: Servlet BookStoreServlet is currently unavailable
May 12, 2010 2:54:40 PM org.apache.catalina.core.ApplicationContext
log
INFO: Marking servlet BookStoreServlet as unavailable
May 12, 2010 2:54:40 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Allocate exception for servlet BookStoreServlet
javax.servlet.UnavailableException: Couldn't get database.
at servlets.BookStoreServlet.init(BookStoreServlet.java:51)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1173)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:
809)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
849)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)
May 12, 2010 2:56:24 PM org.apache.catalina.core.StandardWrapperValve
invoke
INFO: Servlet BookStoreServlet is currently unavailable
May 12, 2010 3:18:01 PM org.apache.catalina.core.ApplicationContext
log
INFO: Marking servlet BookStoreServlet as unavailable
May 12, 2010 3:18:01 PM org.apache.catalina.core.StandardWrapperValve
invoke
SEVERE: Allocate exception for servlet BookStoreServlet
javax.servlet.UnavailableException: Couldn't get database.
at servlets.BookStoreServlet.init(BookStoreServlet.java:51)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:
1173)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:
809)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:
129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:
191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:
128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:
102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
293)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:
849)
at org.apache.coyote.http11.Http11Protocol
$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint
$Worker.run(JIoEndpoint.java:454)
at java.lang.Thread.run(Thread.java:619)

The lab docs suggest that this is because the database is not started,
I've confirmed that it is running by checking Services.  I'm able to
see all the data in the books database by

select * from APP.BOOKS

Not sure why I'm not able to connect to the db - any suggestions?

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