Raible's Wiki

Raible Designs
Wiki Home
Recent Changes


  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in

Referenced by

JSPWiki v2.2.33


Hide Menu


Difference between version 318 and version 50:

At line 1 changed 1 line.
[this mailing list thread|http://nagoya.apache.org/eyebrowse/ReadMsg?listName=myfaces-user@incubator.apache.org&msgNo=451].
At line 3 changed 4 lines.
this is
a return line
[What is this SandBox?|WhatIsThisSandBox]
At line 8 changed 2 lines.
is a double line
At line 11 changed 1 line.
another test
import javax.naming.Context;
import javax.naming.InitialContext;
At line 13 changed 1 line.
The line should read:
import junit.framework.TestCase;
At line 15 changed 3 lines.
Foo f = (Foo) FooFactory.newInstance();
import org.mockejb.MockContainer;
import org.mockejb.SessionBeanDescriptor;
import org.mockejb.jndi.MockContextFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
At line 18 added 7 lines.
* Parent TestCase class for testing EJBs using MockEJB
* @author mraible
public abstract class MockEJBTestCase extends TestCase {
At line 26 added 8 lines.
* This method sets up a MockContainer and allows you to deploy an EJB to
* it. Override <code>onSetUp()</code> to add custom set-up behavior.
* @see #onSetUp()
protected final void setUp() throws Exception {
At line 21 changed 2 lines.
test of preview save
Context ctx = new InitialContext();
ApplicationContext appCtx =
new ClassPathXmlApplicationContext(getConfigLocations());
ctx.bind("java:comp/env/jdbc/appDS", appCtx.getBean("dataSource"));
MockContainer mc = new MockContainer(ctx);
SessionBeanDescriptor dd = getDeploymentDescriptor();
At line 24 changed 3 lines.
protected String[] getConfigLocations() {
return new String[] { "classpath:/applicationContext.xml" };
At line 28 changed 1 line.
protected void onSetUp() throws Exception {}
At line 30 changed 1 line.
private ApplicationContext ctx;
protected abstract SessionBeanDescriptor getDeploymentDescriptor();
At line 32 removed 4 lines.
public void setUp() throws Exception {
String[] paths = {"/applicationContext.xml", "/action-servlet.xml"};
ctx = new ClassPathXmlApplicationContext(paths);
At line 37 changed 3 lines.
I'm going to propose to my boyfriend, because I want to get engaged. With the help of a [marriage proposals|http://www.anhandrichard.com/wedding-proposals/marriage-proposals.html] resource and also a resouce on [ romantic date ideas|http://www.date-idea-dating-ideas.com/date-ideas/], I think I'll be very different - one of the many [marriage proposal ideas|http://www.anhandrichard.com/wedding-proposals/wedding-proposal-idea.html] I read is to propose in a golf course after the first whole. But I have a problem, as I don't even know what a [golf swing|http://www.swing-in-golf.com/] is and he plays very well golf. So, I'll have to find first a [golf swing trainer|http://www.swing-in-golf.com/golf-swing-trainer.html] in order to learn how to play [proper golf swing|http://www.swing-in-golf.com/proper-golf-swing.html]. I think this idea for my [marriage proposal|http://www.anhandrichard.com/wedding-proposals/marriage-proposals.html] will be great and very funny. Hope he loves it!
[QuickStart Guide_es]

Back to SandBox, or to the Page History.