@@ -0,0 +1,1611 @@
+package org.epics.css.dal.demo;%0A%0Aimport org.epics.css.dal.DoubleProperty;%0Aimport org.epics.css.dal.epics.PlugUtilities;%0Aimport org.epics.css.dal.epics.test.DoubleChannelTest;%0Aimport org.epics.css.dal.impl.DefaultApplicationContext;%0Aimport org.epics.css.dal.spi.DefaultPropertyFactoryService;%0Aimport org.epics.css.dal.spi.LinkPolicy;%0Aimport org.epics.css.dal.spi.PropertyFactory;%0A%0Apublic class SimpleDemo %7B%0A%0A%09/**%0A%09 * @param args%0A%09 */%0A%09public static void main(String%5B%5D args) %7B%0A%09%09try %7B%0A%09%09%09%0A%09%09%09DefaultApplicationContext ctx= new DefaultApplicationContext(%22Simple Demo App%22);%0A%0A%09%09%09// This is the conveniente way, if we don't want to%0A%09%09%09// make any reference to EPICS DAL implementation, %0A%09%09%09// then go further%0A%09%09%09//PlugUtilities.configureEPICSPlug(ctx.getConfiguration());%0A%09%09%09%0A%09%09%09%0A%09%09%09// Manual waz to initiate EPICS DAL plugin with confuiguzration strings%0A%09%09%09%0A%09%09%09ctx.getConfiguration().put(%22dal.plugs%22, %22EPICS%22);%0A%09%09%09ctx.getConfiguration().put(%22dal.plugs.default%22, %22EPICS%22);%0A%09%09%09ctx.getConfiguration().put(%22dal.propertyfactory.EPICS%22, %22org.epics.css.dal.epics.PropertyFactoryImpl%22);%0A%0A%09%09%09// just to see the configuration in console we print%0A%09%09%09System.out.println(ctx.getConfiguration());%0A%09%09%09%0A%09%09%09// Now we make singel DAL property connected to EPICS channel%0A%09%09%09%0A%09%09%09PropertyFactory factory= DefaultPropertyFactoryService.getPropertyFactoryService().getPropertyFactory(ctx,LinkPolicy.SYNC_LINK_POLICY);%0A%09%09%09%0A%09%09%09DoubleProperty p= factory.getProperty(%22MY:EPICS:CHANNEL%22,DoubleProperty.class,null);%0A%09%09%09%0A%09%09%09System.out.println(p.getUniqueName()+%22: %22+p.getValue());%0A%09%09%09%0A%09%09%7D catch (Exception e) %7B%0A%09%09%09e.printStackTrace();%0A%09%09%7D%0A%09%7D%0A%0A%7D%0A

add small example from Igor in org.epics.css.dal.demo