Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

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

User Guide
  - Korean
  - Chinese

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

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
Main
TextFormattingRules
WhatIsWiki




JSPWiki v2.2.33

[RSS]


Hide Menu

SandBox


Difference between version 318 and version 198:

At line 1 changed 1 line.
wiki test: [http://www.in-quito.com]
[this mailing list thread|http://nagoya.apache.org/eyebrowse/[email protected]&msgNo=451].
At line 3 changed 8 lines.
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
classpath*:/applicationContext-*.xml
/WEB-INF/action-servlet.xml
</param-value>
</context-param>
}]
[What is this SandBox?|WhatIsThisSandBox]
At line 5 added 1 line.
[{Java2HtmlPlugin
At line 13 changed 1 line.
How does this thing work? test: [http://www.gambit3.com]
import javax.naming.Context;
import javax.naming.InitialContext;
At line 10 added 1 line.
import junit.framework.TestCase;
At line 16 changed 1 line.
[1|http://www.pantandsocks.co.uk][2|http://www.cheapest-phone.co.uk][3|http://www.laser-eye-centre.co.uk][3|http://www.reuterbrook.co.uk][4|http://www.longcrossgroup.co.uk][5|http://www.buzz-hotels.co.uk][6|http://www.fuelcellmarketplace.co.uk][7|http://www.laser-eye-correction.co.uk][8|http://www.bodet-clocks.co.uk][9|http://www.execsoft-software.co.uk][10|http://www.cragrats-catering.co.uk][11|http://www.jgc-network.co.uk][12|http://www.owaceilings.co.uk][13|http://www.laser-eye.co.uk][14|http://www.lasikclinic.co.uk][15|http://www.eye-laser.co.uk][16|http://www.beaumont-bar.co.uk][17|http://www.parkersexecutivecar.co.uk][18|http://www.tcom-control.co.uk][19|http://www.parkersexecutivecar.co.uk][20|http://www.executive-chauffeur-hire.co.uk][21|http://www.cragrats-education.co.uk][22|http://www.cragrats-inspiring.co.uk][23|http://www.sec-battery.co.uk][24|http://www.cragrats-react.co.uk][25|http://www.cragratstraining.co.uk][26|http://www.cornishholidaysuk.com][27|http://www.allwoodoxford.com] [28|http://www.uvinewine.co.uk] [29|http://www.telematicsone.com] [30|http://www.reuterbrooks.com][31|http://telematiksone.co.uk][32|http://www.real-worldinternational.co.uk][33|http://www.find-a-mortgage.co.uk]
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 changed 1 line.
/**
* Parent TestCase class for testing EJBs using MockEJB
*
* @author mraible
*
*/
public abstract class MockEJBTestCase extends TestCase {
At line 20 changed 12 lines.
<Writing Transalation Services|http://www.writing-translation.isourceindia.com>
<Software Testing Services|http://www.software-testing.isourceindia.com>
<Transcription Services|http://www.transcription-services.isourceindia.com>
<Medical Transcription|http://www.medical-transcription.isourceindia.com>
<Media Transcription|http://www.media-transcription.isourceindia.com>
<Buisness Transcription|http://www.media-transcription.isourceindia.com/buisness-transcription.html>
<Legal Transcription|http://www.legal-transcription.isourceindia.com>
<Technical Transcription|http://www.media-transcription.isourceindia.com/technical-transcription.html>
<Epublishing|http://www.epublishing.isourceindia.com>
<Data conversion|http://www.data-conversion.isourceindia.com>
<Accounting financial services|http://www.accounting-financial.isourceindia.com>
<Multimedia Design Services|http://www.multimedia-design.isourceindia.com>
/**
* 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 {
MockContextFactory.setAsInitial();
At line 35 added 11 lines.
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();
mc.deploy(dd);
onSetUp();
}
At line 47 added 3 lines.
protected String[] getConfigLocations() {
return new String[] { "classpath:/applicationContext.xml" };
}
At line 51 added 1 line.
protected void onSetUp() throws Exception {}
At line 53 added 2 lines.
protected abstract SessionBeanDescriptor getDeploymentDescriptor();
}
At line 56 added 1 line.
}]
At line 58 added 2 lines.
[CreateDAO_zh]
[CreateDAO_sp]
At line 61 added 1 line.
[CreateManager_es]
At line 40 changed 11 lines.
<a href="http://www.writing-translation.isourceindia.com">Writing Transalation Services</a>
<a href="http://www.software-testing.isourceindia.com">Software Testing Services</a>
<a href="http://www.medical-transcription.isourceindia.com">Medical Transcription</a>
<a href="http://www.media-transcription.isourceindia.com">Media Transcription</a>
<a href="http://www.media-transcription.isourceindia.com/buisness-transcription.html">Buisness Transcription</a>
<a href="http://www.legal-transcription.isourceindia.com">Legal Transcription</a>
<a href="http://www.media-transcription.isourceindia.com/technical-transcription.html">Technical Transcription</a>
<a href="http://www.epublishing.isourceindia.com">Epublishing</a>
<a href="http://www.data-conversion.isourceindia.com">Data conversion</a>
<a href="http://www.accounting-financial.isourceindia.com">Accounting financial services</a>
<a href="http://www.multimedia-design.isourceindia.com">Multimedia Design Services</a>
[QuickStart Guide_es]
At line 65 added 1 line.
[SpringControllerUnitTest]
At line 54 changed 94 lines.
[[http://www.writing-translation.isourceindia.com Writing Transalation Services]]
[[http://www.software-testing.isourceindia.com Software Testing Services]]
[[http://www.medical-transcription.isourceindia.com Medical Transcription]]
[[http://www.media-transcription.isourceindia.com Media Transcription]]
[[http://www.media-transcription.isourceindia.com/buisness-transcription.html Buisness Transcription]]
[[http://www.legal-transcription.isourceindia.com Legal Transcription]]
[[http://www.media-transcription.isourceindia.com/technical-transcription.html Technical Transcription]]
[[http://www.epublishing.isourceindia.com Epublishing]]
[[http://www.data-conversion.isourceindia.com Data conversion]]
[[http://www.accounting-financial.isourceindia.com Accounting financial services]]
[[http://www.multimedia-design.isourceindia.com Multimedia Design Services]]
*[http://www.writing-translation.isourceindia.com Writing Transalation Services]
*[http://www.software-testing.isourceindia.com Software Testing Services]
*[http://www.medical-transcription.isourceindia.com Medical Transcription]
*[http://www.media-transcription.isourceindia.com Media Transcription]
*[http://www.media-transcription.isourceindia.com/buisness-transcription.html Buisness Transcription]
*[http://www.legal-transcription.isourceindia.com Legal Transcription]
*[http://www.media-transcription.isourceindia.com/technical-transcription.html Technical Transcription]
*[http://www.epublishing.isourceindia.com Epublishing]
*[http://www.data-conversion.isourceindia.com Data conversion]
*[http://www.accounting-financial.isourceindia.com Accounting financial services]
*[http://www.multimedia-design.isourceindia.com Multimedia Design Services]
[http://www.writing-translation.isourceindia.com Writing Transalation Services]
[http://www.software-testing.isourceindia.com Software Testing Services]
[http://www.medical-transcription.isourceindia.com Medical Transcription]
[http://www.media-transcription.isourceindia.com Media Transcription]
[http://www.media-transcription.isourceindia.com/buisness-transcription.html Buisness Transcription]
[http://www.legal-transcription.isourceindia.com Legal Transcription]
[http://www.media-transcription.isourceindia.com/technical-transcription.html Technical Transcription]
[http://www.epublishing.isourceindia.com Epublishing]
[http://www.data-conversion.isourceindia.com Data conversion]
[http://www.accounting-financial.isourceindia.com Accounting financial services]
[http://www.multimedia-design.isourceindia.com Multimedia Design Services]
[Writing Transalation Services|http://www.writing-translation.isourceindia.com]
[Software Testing Services|http://www.software-testing.isourceindia.com]
[Transcription Services|http://www.transcription-services.isourceindia.com]
[Medical Transcription|http://www.medical-transcription.isourceindia.com]
[Media Transcription|http://www.media-transcription.isourceindia.com]
[Buisness Transcription|http://www.media-transcription.isourceindia.com/buisness-transcription.html]
[Legal Transcription|http://www.legal-transcription.isourceindia.com]
[Technical Transcription|http://www.media-transcription.isourceindia.com/technical-transcription.html]
[Epublishing|http://www.epublishing.isourceindia.com]
[Data conversion|http://www.data-conversion.isourceindia.com]
[Accounting financial services|http://www.accounting-financial.isourceindia.com]
[Multimedia Design Services|http://www.multimedia-design.isourceindia.com]
[δΈ­ζ–‡ζŒ‡ε—|Articles_zh]

Back to SandBox, or to the Page History.