Marcus Howarth

Ranch Hand
+ Follow
since Jan 04, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Marcus Howarth

Hi Radu & Matthew,

The books description
"Code snippets are written mostly in bash using curl, which makes them easily translatable to other languages."

Do you ever get into examples for the http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/search.html at all, I remember when building complex queries I ended up having to learn this mostly from examples on SOO, I thought better to use that API provided rather than work with JSON directly. Depends how complex your queries get, but something on this could have helped.

We found ES easy to set up and get everyone running with quickly, the online resources are pretty good.

cheers
Marcus
9 years ago
Thanks Dave,

Having now read up on your book I see this is one of the main points listed!!
* "Apply the best of agile development techniques and TDD techniques"


It also says its a beginners guide and you need no javascript or css. Could you say who your target audience is? How much of the book is covering Struts 2.1 specifics as opposed to "interspersed with detours into more advanced development topics"?

Looks really good, sorry also for answering wrong thread assuming it was you
15 years ago
Hi Nishan,

Firstly, thanks for above list, very comprehensive! (do I need the book now? )


Originally posted by Nishan Patel:


POJO-based actions that are easy to test

...

● Struts 2
� Any java class with execute() method can be
used as an Action class.
� Actions to be neutral to the underlying framework



do you go into the unit testing side of things in much depth in your book? I currently still use struts 1 and find the testing of actions gets so bogged down in mocks... well, its not so easy. Do you suggest using struts 2 means you could advocate TDD for action classes too?

thanks
15 years ago
Hi all,

has anyone seen this before? It's not just a case of adding text to the name of the Address as some email clients will show differently..

I've searched through JavaMail APIs but not seen a mention of it, is it something supported or am I just not seeing something

thanks in advance
17 years ago
Hi,

just quick idea - I'm not sure I understand the "pasting from word to textarea" part - but it does sound like a character set / special characters issue

In your oracle driver config, have you set the charset to use UTF8 ?? if not that might be part of your problem

HTH
17 years ago
Came back to it eventually - doesn't seem possible


Please note that the different options for configuring Cactus works both for Cactus client side (i.e. from where you start the JUnit Test Runner) and for the Cactus server side (i.e. from where you start your application server).


see http://jakarta.apache.org/cactus/integration/howto_config.html
never mind - onto plan B....
20 years ago
Howdy ranchers,
This is starting to do my head in - can anyone help me out please?
I am testing calls on an interface which can be called directly using a ****client.jar that we give out for use with this product.
This interface/jar however has limited functionality - so when it comes to doing some setUp() dataloading type stuff I go direct to the servers EJBs using cactus calls. So far so good.
However, I want to have this test my client jar aswell, so when I run my junit I don't want to include anything my classpath that the client shouldn't have (my core application for example)
So the suite is looking like

As the cactus tests are running in the container they will see the classpath on the AS surely, so what is junit complaining about ???

Any ideas or pointers appreciated - cheers
20 years ago
Oops - Jasmine you beat me too it - and there was me trying to be clever
20 years ago
A couple of questions to help you.
which .jar file contains HttpServlet?
where would tomcat keep those .jars?
when you compile, how are you letting the compiler know where to look for all the classes you reference? (hint: classpath)
HTH - let us know how you get on, (
I'm not giving you a straight answer because I reckon it's better to understand rather than get a quick fix)
20 years ago
Have you set up the DSN from Data Sources (ODBC) in "Control Panel / Admin Tools" (in win2000/XP)
You can then simplify your datasource URL
see the set up here
http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html
Also try the JDBC forum on this site..
20 years ago
JSP
just got mine working..
try deleting everything under \work\Standalone\localhost and re-start
21 years ago
Cheers Bert!
look forward to your mock questions and challenges - promise there's nothing up my selves
while I'm on... can I ask where have you installed Tomcat? what is your CATALINA_HOME ??
some people talk about putting it under /var/tomcat.x.x.x/ or /usr/local/tomcat..
I'd put mine under /usr/java/tomcat - but i think I'm asking for trouble using root accounts here and will now move it
thing is I'd like it to run all the time and have write access to the webapps and conf folders via samba, maybe it should go in /home/<myaccount>/tomcat ??
thanks in advance
21 years ago
couple of quick things
I think you want JDK 1.4.2 - I read somewhere recently that it's much better (how bad it was before I'm not sure) seehere
the other thing, obvious one - you mention copying stuff to the webapps directory, but have you made any changes to the contexts in server.xml?
21 years ago