Sunday, May 31, 2009

FusionCharts in Eclipse Part 2

There is another open source tool that allows you to create charts.

You should first download Fusioncharts.
You can open the index.html file in the download to see how you can integrate FusionCharts with your asp and jsp applications.

Under your Action2Project, create a folder called FusionCharts. FusionCharts creates the charts from an xml file. Open up the Charts folder from your FusionCharts directory. Copy all of those .swf files into the FusionCharts folder you created in your eclipse.

Now we will create our first chart.


In your FusionCharts directory, create a file called MonthlySales.xml and paste the following data into the xml file.

MonthlySales.xml


<graph caption='Monthly Unit Sales' xAxisName='Month' yAxisName='Units' showNames='1' decimalPrecision='0' formatNumberScale='0'>
<set name='Jan' value='462' color='AFD8F8' />
<set name='Feb' value='857' color='F6BD0F' />
<set name='Mar' value='671' color='8BBA00' />
<set name='Apr' value='494' color='FF8E46' />
<set name='May' value='761' color='008E8E' />
<set name='Jun' value='960' color='D64646' />
<set name='Jul' value='629' color='8E468E' />
<set name='Aug' value='622' color='588526' />
<set name='Sep' value='376' color='B3AA00' />
<set name='Oct' value='494' color='008ED6' />
<set name='Nov' value='761' color='9D080D' />
<set name='Dec' value='960' color='A186BE' />
</graph>


You will also need to create an html file. You should call this file Charts.html.
Paste the following code into the Charts.html file.

Charts.html

<html>
<head>
<title>My First FusionCharts</title>
</head>
<body bgcolor="#ffffff">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="600" height="500" id="Column3D" >
<param name="movie" value="FCF_Column3D.swf" />
<param name="FlashVars" value="&dataURL=MonthlySales.xml&chartWidth=600&chartHeight=500">
<param name="quality" value="high" />
<embed src="FCF_Column3D.swf" flashVars="&dataURL=MonthlySales.xml&chartWidth=600&chartHeight=500" quality="high" width="600" height="500" name="Column3D" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>


Save those files and open Charts.html in your browser. You should see the chart display.

To create a Funnel Chart, you should create a file in the same folder called Data.xml and an html file called Funnel.html. Paste the following code into those files.

Funnel.html

<html>
<head>
<title>My First FunnelCharts</title>
</head>
<body bgcolor="#ffffff">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="600" height="500" id="Column3D" >
<param name="movie" value="FCF_Funnel.swf" />
<param name="FlashVars" value="&dataURL=Data.xml&chartWidth=600&chartHeight=500">
<param name="quality" value="high" />
<embed src="FCF_Funnel.swf" flashVars="&dataURL=Data.xml&chartWidth=600&chartHeight=500" quality="high" width="600" height="500" name="Column3D" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>



Data.html

<chart showNames='1' showValues='1' numberPrefix='$' numberScaleValue='1000,1000' numberScaleUnit='K,M' decimalPrecision='1' isSliced='1' slicingDistance='5'>
<set name='Buchanan' value='20000' color='0099FF' />
<set name='Callahan' value='49000' color='66CC66' />
<set name='Davolio' value='63000' color='CD6AC0' />
<set name='Dodsworth' value='41000' color='FF5904' />
<set name='Fuller' value='74000' color='0099CC' />
<set name='King' value='49000' color='FF0000' />
<set name='Leverling' value='77000' color='006F00' />
<set name='Peacock' value='54000' color='0099FF' />
<set name='Suyama' value='14000' color='FF66CC' />
</chart>


When you open the Funnel.html in your browser, you should see the following chart.



Go To Part 3

Read more...

Saturday, May 30, 2009

Flash Tutorial with Eclipse 3.4 and Flex SDK 4 Part 1

I am going to begin another tutorial that deals with Flash. However, since I am a big advocate of open source, I am going to use a combination of flex_sdk, ActionScript, and Eclipse 3.4 Ganymede. LuminicBox is also suppose to work for logging, but currently I haven't got that to work yet with Eclipse 3.4. I am also using Windows Vista for this tutorial.

First, you need to download the needed software:

1) Download Flex 4-Beta 1.

2)Unzip the Flex 4 and place it in a good location.  Select the right mouse button on your MyComputer icon, and open the advanced system and environmental variables section. Add this to your Class Path or Path variable: C:\flex_4\bin. This path should point to the location where your bin directory is in of the flex sdk files you just unzipped.

3) You should create a new variable called FLEX_HOME and put this as the value C:\flex_4. That path should also be to the location to your flex sdk directory.

4) After you set these variables, press okay. If you want to compile from the command prompt, you can use this command. mxmlc Flex4App.mxml where Flex4App.mxml is the file you are compiling. After your swf file is created, you can view it by typing: Flash Player Flex4App.swf in your command prompt. You can also right click the file and open it with a browser. The browser might have a warning before allowing you to view the file, but if you press okay and you have flash installed in your browser, you should also see the output.

5)You also need to have eclipse 3.4 Ganymede installed. You can see my prior posts on installing eclipse.

6) After you have opened up eclipse, you should go to help->software updates and select the available software tab. Select Add Site and input this url: http://aseclipseplugin.sourceforge.net/updates/. Select the needed files and press install.

7) You should also download Luminicbox for logging.

8)To develop in the Action Script environment using Eclipse, you should open the Window Action Script window by selecting window->open perspective-> other in eclipse. Then select the ActionScript2 perspective and hit okay.

9) You should now create an ActionScript Project and you can do this by selecting File->new ActionScript Project. Call the project Action2Project and Click Next. To use the flex 4 sdk, you can select Add Linked Folder. You can browse to the lib directory of your flex_4 and add it as a linked folder. Click Finish when you are done.

10) Now you need to create your build.xml file.  Select on the Action2Project with the right mouse button and select New->Other.  Under the general folder, select file and then select next. Give the file the name of build.xml and click finish.

11) You need to tell this project to use the build file we just created. You can do this by right clicking on the Action2Project Name and select properties. Select the Builders section on the left and click new. From here, select Ant Build and then hit okay. In this window, give it a name like Action2Project builder. Now for the build file field in the main tab, simply browse the workspace and select the Action2Project. You'll see the build file that you just created show up in the right pane. Select that file and hit okay. The base directory needs to be setup similarly. Browse the workspace, select the Action2Project, and hit okay. Press Okay to finalize your changes.You'll now see that you have two builders specified. You can deselect the AS2 Builder and it will warn you that it could have bad side-effects but it won't so just hit OK. Then close the builders window by clicking OK. Eclipse may try to build the file but it will fail. The console output in the bottom will be your friend when reporting problems with compiling.

12) Now we need to create a class. Right click on the src directory and select File -> New ActionScript Class. Give it a name of TestActionScript and click finish. For ActionScript files, you have to wrap the code with package{ }. So your code should look like this:

package {
public class TestActionScript{

}
}


If you see a red line under package, you can ignore this. Apparently the plugin doesn't recognize this yet.

13) Create another file called test.mxml in the src file. I am going to show you how you can use your build.xml file to compile both of these type of files to convert them to swf files.

14) Paste the following code in your test.mxml file:

test.mxml


<?xml version="1.0" encoding="utf-8"?>
<fx:Application
xmlns="http://ns.adobe.com/mxml/2009"
xmlns:fx="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo">

<mx:VBox>
<fx:Button label="Gumbo Button"/>
<mx:Button label="Halo Button" />

<fx:ButtonBar id="orangeToggleBar" requiresSelection="true">
<fx:dataProvider>
<fx:ArrayCollection source="[Flash, Director, Catalyst,
ColdFusion]" />
</fx:dataProvider>
</fx:ButtonBar>
</mx:VBox>
</fx:Application>


15)Paste the following code in your TestActionScript.as class:

TestActionScript.as

package {
import com.luminicbox.log.*;
import flash.display.Sprite;
import flash.display.Graphics;
import flash.display.Shape;

public class TestActionScript extends Sprite{

public var log:Logger;

public function TestActionScript(){

log = new Logger("Tester");
log.addPublisher( new ConsolePublisher() );

var child:Shape = new Shape();
child.graphics.beginFill(0xccffff);
child.graphics.drawRoundRect(0, 0, 100, 100,20);
child.graphics.endFill();
this.addChild(child);

log.log( "Hello world log" );
log.debug( "Hello debug" );
log.info( "Hello info" );
log.warn( "Hello warn" );
log.error( "Hello error" );
log.fatal( "Hello fatal" );

log.log(["test","test2"]);
}
}
}


16) Paste the following code in your build.xml file:

build.xml

<project name="Action2Project" default="Compile Swf" basedir=".">
<property environment="env" />
<property name="mxmlc" location="${env.FLEX_HOME}\bin\mxmlc.exe"/>

<target name="Compile Swf" depends="Compile MXML">
<exec executable="${mxmlc}" dir="." failonerror="true">
<arg line="src/TestActionScript.as"/>
<arg line="-source-path C:\LuminicBox\LB.Log"/>
<arg line="-default-size 400 300"/>
<arg line="-output bin/Action2Project.swf"/>
</exec>
</target>

<target name="Compile MXML">
<exec executable="${mxmlc}" dir="." failonerror="true">
<arg line="src/test.mxml"/>
<arg line="-source-path C:\LuminicBox\LB.Log"/>
<arg line="-default-size 400 300"/>
<arg line="-output bin/test.swf"/>
</exec>
</target>

</project>



In your build.xml file, you have to make sure your source-path points to your LuminicBox directory.

17) To make ant aware of your build.xml file, Click on Window > Show View > Other.
Then expand the Ant folder and select Ant in it. Then click OK.
In the bottom, select the Ant tab and then drag the build.xml file from the left window in to the tab down to the Ant window. You'll see the items we specified show up in a nice tree view in that viewer.

18)Click on the build.xml file in the ant view and your code should compile.

19)In eclipse you can view your .swf file by opening the bin folder. You might have to refresh the directory first. You can refresh it by selecting the right mouse button and selecting refresh. You should see two swf files. Select them and you should see their output.

You are suppose to see your your logs in the LuminicBox, but that isn't working yet.

Go To Part 2

Read more...

Wednesday, May 27, 2009

Biggest German Golf Online Shop

Are you looking for a luxurious golf holiday? You should not look any further because Golfreisen is the perfect place for you. Most people love to play golf. Golfing is one of the famous sports in the world. Some people consider golf as their favorite past time. Do you love to golf? If you are into golfing you should check out Golfkurs.com and see all of the great information they have. This website discuss some of the advantages and disadvantages of group and individual courses. They have a golf academy which belongs to the largest and best free Golf shop in Germany. Maybe you need some good information on how to purchase golf clubs. This website has some good information to help you choose the right golf clubs. One important thing about golf clubs is that they need to be adjusted according to your body structure. Everybody has a different body structure. Where to buy golf clubs is also important. When you are looking for a good golf course, you have to realize that all golf courses aren't the same. The Platzreife website has some good information on tips and tricks of golfing. The Platzreife is actually a legal requirement to play golf in Germany, instituted over 40 years ago. Most golfers must possess a license called a Platzreife before they can get on the green. It also gives some good information on your short game. If you are looking for golf statistics, you can check this website out also. They even have scores and players profiles to get the latest on your favorite players. You can get items custom fitted as well. They have a great golf shop that contains all kinds of items for your great day of golfing. So what are you waiting for? Visit them today for more details.

BuyBlogReviews.com

Read more...

Monday, May 25, 2009

SweetDev Ajax Collapse Content Part 5


Sweetdev allows you to create fancy drop down menus. They also contain a manager that will allow only one drop down window to be opened.

SimpleCollapse.jsp


<%@ taglib prefix="ria" uri="http://sweetdev-ria.ideotechnologies.com" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>

<ria:resourcesImport importResources="true"/>

</head>
<body>
<br><br>

<ria:collapse header="Click to collapse">
Hello World !
</ria:collapse>

<ria:collapse id="collapse1" collapse="true" header="This is the collapse Header" >
<ria:collapseHeader>
<div align="center" style="display: inline; vertical-align: middle;"><b><i>This is a rich text</i></b></div>
</ria:collapseHeader>
This is the collapse content.
</ria:collapse>

<br/>

Collapsable Manager
<ria:collapseManager>
<ria:collapse id="collapse" collapse="true" header="First collapse">
This is the first collapse content.
</ria:collapse>


<br/><br/>

<ria:collapse id="collapse2" collapse="true" header="Second collapse">
This is the second collapse content.
</ria:collapse>



<ria:collapse id="collapse3" collapse="true" header="Last collapse">
This is the last collapse content.
</ria:collapse>
</ria:collapseManager>



</body>
</html>





The ria:collapseManager allows you to manage what drop downs are opened. You need to make sure that each ria:collapse has a seperate id associated with it.

Go To Part 6

Read more...

Tuesday, May 19, 2009

SweetDev Tutorial Part 4 Splinter Layout


Now I am going to explain the Splinter Layout used with SweetDev. A splinter allows you to resize columns which can greatly enhance a user interface. Below is the example code to create the current splinter layout. Make sure you have configured SweetDev from my prior posts.


SplinterLayout.jsp

<%@ taglib prefix="ria" uri="http://sweetdev-ria.ideotechnologies.com" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>Splitter Layout</title>
<ria:resourcesImport importResources="true"/>

</head>
<body>
<br><br>

<ria:spliterlayout style="border:1px solid black"
spliterStyle="background-color : black"
minWidth="200"
minHeight="30"
height="600px">
<ria:slcolumn width="43%">
<ria:slCell height="18%" style="background-color:#FFD24D">
Top left cell
</ria:slCell>
<ria:slCell height="19%" style="background-color:#C6B3FF">
Middle left cell
</ria:slCell>
<ria:slCell height="59%">
Bottom left cell
</ria:slCell>
</ria:slcolumn>
<ria:slcolumn style="background-color:#CCDAFF" width="29%">Middle column</ria:slcolumn>
<ria:slcolumn style="background-color:white" width="24%">Right column</ria:slcolumn>
</ria:spliterlayout>

</div>
</div>

<br/>

</body>
</html>





You can see that the spliterlayout will start with this tag: ria:spliterlayout. Each column is separated by this tag: ria:slcolumn
and each cell within the column is separated by this tag: ria:slCell.
Go To Part 5
 

Read more...

Monday, May 18, 2009

Men's cosmetic concealer stick

Adsc08299-sm
Are you a man that suffers from facial blemishes. I realize that it can be embarrassing to use makeup to cover up those unwanted acne scars, moles, rough spots, and other blemishes. Well, now they have come out with cosmetic makeup designed strictly for men. This  mens makeup product can increase your confidence, make you feel better about yourself, and hide those unwanted blemishes as you attend your prom and other important events. If you have that huge zit on your face that screams at people when they pass you, you should try using mens cosmetics to cover it up. This is the same type of product that male actors, models and businessmen use. This product is also sold exclusively online, and you will get free shipping worldwide. The Men Pen comes in 17 colors so you have plenty to choose from. You should visit their website to read the success stories and get the product details. They have a very user friendly website to make ordering these products very easy. So what are you waiting for? If you are looking for an easy way to cover up those blemishes, you should checkout the Men's Cosmetics website now. You should put in your order today.
Post?slot_id=38122&url=http%3a%2f%2fsocialspark

Read more...

SweetDev Tutorial Accordion Part 3

This is an example on implementing the accordion functionality using the SweetDev libraries.

You can see my prior posts on configuring SweetDev, and my other posts on setting up a Java application in eclipse. I will be referencing my UserBook tutorial application in my prior posts.

To implement the accordion functionality, you first need to add a couple of libraries that aren't included in the sweetdev core libraries. You can get these libraries from the SweetDev example war file that I had you download in my previous posts. If you open up the %Catalina_Home%\webapps\sweetdev-ria-gettingStarted-3.2-bugfixed\WEB-INF\lib, you will see velocity-1.5.jar and the velocity-tools-generic-1.2.jar files. Copy those over to your applications lib folder.

In the UserBook application, you can use the viewreport.jsp for your accordion example. Copy the following code for the accordion example.

viewreport.jsp


<%@ taglib prefix="ria" uri="http://sweetdev-ria.ideotechnologies.com" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
<title>Accordion Sample</title>
<ria:resourcesImport importResources="true"/>
<style type="text/css">
.ideo-acc-mycontent{
border : 1px dashed #CCDAFF;
}
</style>
</head>
<body>


<ria:accordion id="accordion" width="20%">
<ria:accordionItem id="accordion_item1" title="First Section" contentStyleClass="ideo-acc-mycontent">
First section content
</ria:accordionItem>
<ria:accordionItem id="accordion_item2" title="Second Section" contentStyleClass="ideo-acc-mycontent">
Second section content
</ria:accordionItem>
<ria:accordionItem id="accordion_item3" title="Last Section" openAtStartup="true" contentStyleClass="ideo-acc-mycontent">
Last section, opened at startup
</ria:accordionItem>
</ria:accordion>
<!-- CODE SOURCE END-->
</div>
</div>

<br/>

</body>
</html>




You will use ria:accordion tag to define your accordion area and ria:accordionItem which will be each section of your accordion.
Go To Part 4

Read more...

Saturday, May 16, 2009

Kids Frequently Ask Question

Have you been struggling to answer all of those tough questions your child has been asking you? It can get pretty difficult to find the proper words to help a child get the answers that he or she desires. Well, now is the chance to help you child understand life's tough questions. You child might ask why volcanoes have lava, or why the sky is blue. These questions are answered by Rodney and Mr. Example, and your child can get their questions answered. All they need to do to have their parent fill out the permission slip on their website, and send them a webcam video of them asking their question. If they use their video in the show “Kids FAQ”, they will get a $50 gift certificate to Toys R Us. The best thing is that a child in need at Saint Judes Children Hospital will also get a gift certificate. To get more information, you should visit the Kids FAQ website. The open casting call is for ages four to nine and will help kids get the answers they have been looking for. So what are you waiting for? If your child wants to get the answers they desire, and you want to help a child in need, you should visit the Kids FAQ website and submit the needed information for the open casting call.

Post?slot_id=37988&url=http%3a%2f%2fsocialspark

Read more...

Friday, May 15, 2009

SweetDev Tutorial Part 2

You should add the sweetdev-ria-core-3.2.jar file and the js-optimizer 2.1.4.jar file to your lib directory in your application. I am going to be referencing the Project UserBook I created in my J2EE Tutorial. After you have added the jar files, don't forget to add them to your eclipse build path as well.

You need to add some code to your web.xml file.

You need to add this filter:
<!-- JSO filter -->
<filter>
<filter-name>BrowserCacheFilter</filter-name>
<filter-class>com.ideo.jso.filter.BrowserCacheFilter</filter-class>
</filter>

Add these filter mappings:

<filter-mapping>
<filter-name>BrowserCacheFilter</filter-name>
<url-pattern>*.js</url-pattern>
</filter-mapping>

<filter-mapping>
<filter-name>BrowserCacheFilter</filter-name>
<url-pattern>*.css</url-pattern>
</filter-mapping>



<filter-mapping>
<filter-name>BrowserCacheFilter</filter-name>
<url-pattern>*.jpg</url-pattern>
</filter-mapping>



<filter-mapping>
<filter-name>BrowserCacheFilter</filter-name>
<url-pattern>*.gif</url-pattern>
</filter-mapping>



<filter-mapping>
<filter-name>BrowserCacheFilter</filter-name>
<url-pattern>*.png</url-pattern>
</filter-mapping>

Add this listener:

<!-- SweetDEV RIA listener -->
<listener>
<listener-class>com.ideo.sweetdevria.webapp.RiaLoaderListener</listener-class>
</listener>

Add these servlets:

<!-- SweetDEV RIA main servlet -->
<servlet>
<servlet-name>SweetDevRiaServlet</servlet-name>
<servlet-class>com.ideo.sweetdevria.servlet.SweetDevRiaServlet</servlet-class>
</servlet>



<!-- SweetDEV RIA resources provider servlet -->
<servlet>
<servlet-name>SweetDevRiaResourcesProvider</servlet-name>
<servlet-class>com.ideo.sweetdevria.servlet.SweetDevRiaResourcesProvider</servlet-class>
</servlet>



<!-- JSO servlet -->
<servlet>
<servlet-name>jso</servlet-name>
<servlet-class>com.ideo.jso.servlet.JsoServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>




<!-- SweetDEV RIA main servlet -->
<servlet>
<servlet-name>SweetDevRiaServlet</servlet-name>
<servlet-class>com.ideo.sweetdevria.servlet.SweetDevRiaServlet</servlet-class>
</servlet>



<!-- SweetDEV RIA resources provider servlet -->
<servlet>
<servlet-name>SweetDevRiaResourcesProvider</servlet-name>
<servlet-class>com.ideo.sweetdevria.servlet.SweetDevRiaResourcesProvider</servlet-class>
</servlet>



<!-- JSO servlet -->
<servlet>
<servlet-name>jso</servlet-name>
<servlet-class>com.ideo.jso.servlet.JsoServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>

Add these servlet mappings:

<servlet-mapping>
<servlet-name>SweetDevRiaServlet</servlet-name>
<url-pattern>/RiaController</url-pattern>
</servlet-mapping>



<servlet-mapping>
<servlet-name>SweetDevRiaResourcesProvider</servlet-name>
<url-pattern>/resources/*</url-pattern>
</servlet-mapping>

My web.xml file looks like this for my UserBook application:


<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">

<description>UserBook</description>
<!-- JSO filter -->
<filter>
<filter-name>BrowserCacheFilter</filter-name>
<filter-class>com.ideo.jso.filter.BrowserCacheFilter</filter-class>
</filter>

<filter-mapping>
<filter-name>BrowserCacheFilter</filter-name>
<url-pattern>*.js</url-pattern>
</filter-mapping>

<!-- Standard Action Servlet Configuration (with debugging) -->
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>application</param-name>
<param-value>ApplicationResources</param-value>
</init-param>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts.xml</param-value>
</init-param>
<init-param>
<param-name>chainConfig</param-name>
<param-value>org/apache/struts/tiles/chain-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>

<!-- SweetDEV RIA listener -->
<listener>
<listener-class>com.ideo.sweetdevria.webapp.RiaLoaderListener</listener-class>
</listener>

<!-- SweetDEV RIA main servlet -->
<servlet>
<servlet-name>SweetDevRiaServlet</servlet-name>
<servlet-class>com.ideo.sweetdevria.servlet.SweetDevRiaServlet</servlet-class>
</servlet>



<!-- SweetDEV RIA resources provider servlet -->
<servlet>
<servlet-name>SweetDevRiaResourcesProvider</servlet-name>
<servlet-class>com.ideo.sweetdevria.servlet.SweetDevRiaResourcesProvider</servlet-class>
</servlet>



<!-- JSO servlet -->
<servlet>
<servlet-name>jso</servlet-name>
<servlet-class>com.ideo.jso.servlet.JsoServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>





<servlet-mapping>
<servlet-name>SweetDevRiaServlet</servlet-name>
<url-pattern>/RiaController</url-pattern>
</servlet-mapping>



<servlet-mapping>
<servlet-name>SweetDevRiaResourcesProvider</servlet-name>
<url-pattern>/resources/*</url-pattern>
</servlet-mapping>



<servlet-mapping>
<servlet-name>jso</servlet-name>
<url-pattern>/jso/*</url-pattern>
</servlet-mapping>

<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>

<listener>
<listener-class>com.hibernate.init.UserHibernateListener</listener-class>
</listener>

<!-- Time Out -->
<session-config>
<session-timeout>60</session-timeout>
</session-config>

</web-app>






In your head tag, you want to add this import. You might want to put this in your classiclayout.jsp page like this:

<head>
<ria:resourcesImport />
</head>

You should compile your code and visit your localhost to make sure all your configuration is correct. I will show you how to implement some functionality in my next post.

http://localhost:8080/UserBook/

 


Go To Step 3

Read more...

Thursday, May 14, 2009

Certified Ethical Hacker

Are you looking to improve your skills in the IT field? The EC-Council has some great Internet classes that can improve your skills in many of the IT Security careers. These classes are online and led by an instructor. So instead of spending hours in a classroom, you can take a class online and still get the benefit of an instructor. It doesn't matter if you are working or extremely busy, they have a schedule for you. They have the one week courses if you are trying to get through the course quickly. They also offer the FlexClasses and if you don't know what class you want to take, you can take the first look classes. When you take the class, they will have a fully integrated VOIP conferencing that will help you communicate with people in the class. They also have a remote control application sharing feature, and a web based text chat platform. So they offer all of the things that you will need to take these professional Certified Ethical Hacker classes online. So what are you waiting for? If you are looking to take classes in Ethical Hacking, Security Fundamentals, Penetration Testing, or Computer Forensics, you need to visit the EC-Council's website and see how they can help.

Post?slot_id=37906&url=http%3a%2f%2fsocialspark

Read more...

Monday, May 4, 2009

Download File Extension QTL for FREE

If you have video or movie files with the File Extension QTL, you should be aware that it is the same file format as MOV files. You can change the QLT file format to the MOV format and the video will still be able to play. The benefit of this format is that you can play the video without having to download any software.

There is a disadvantage to this format, and that is the unwanted viruses you might receive. Streaming video using the File Extension QLT can be a security risk. You might receive a Trojan or malware. You also might have a performance issue when watching this type of video as well as a significant amount of wait time.

You should visit fileextensionqlt.com which will provide you useful information concerning this file type and information about detection software that can update all of your drivers on your computer. You can easily search the file extensions that you might need. Your computer might be slow because you have a virus, or it might be slow because your drivers are outdated. It is important to make sure all of your driver software is updated. So if you are looking for information on the File Extension QLT, you should visit the fileextensionqlt.com's website.

Read more...

SweetDev Tutorial Part 1



This is a tutorial to show you some of the functionality of using SweetDEV-RIA.  You can download the need jar file at http://sweetdev-ria.ideotechnologies.com/ (sweetdev-ria-core-3.2-bugfixed.jar is the version I downloaded).  You will have to fill out some information before you can get to the download page.  You can download the example war file from this site: http://sourceforge.net/project/showfiles.php?group_id=169852&package_id=194039.
The war file will show you some of the functionally you will get with these jar files.

You should download the example war file which shows you some of the features that you will get with this tool.  You can deploy the war file to your Tomcat and visit this URL to view the application.  http://localhost:8080/sweetdev-ria-gettingStarted-3.2-bugfixed/

This is not part of my Tutorial though.  

You will also need to download the js optimizer.  You can download it from this site: http://js-optimizer.sourceforge.net/.  I downloaded the version js-optimizer 2.1.4.jar.

After you have download all of the jar files, visit Part 2 for configuration and setup.

 

Go To Part 2

Read more...

Web Hosting Services Under $10 a Month

Are you wondering which company you should let host your website? It is very important to find a good company to host your personal or business website. You should visit the webhostinggeeks.com to get all of your web hosting information. This blog has ratings on web hosting companies so you are able to decide which company will bet suit your needs. They have a whole section on web hosting awards to see which company won which awards. They have awards such as the Best Budget Hosting award where they give all important information concerning this company such as the general impression, price/quality and connectivity. This website is a dedicated server, it even contains user comments so you know what other people says about the webhosting companies they are using. They even contain information on webhosting speeds which is important for any website. I have a great company hosting my blog, and you need to check out this webhosting blog so you can make sure you get a great company to host your website. If you are looking for green hosting, webhostinggeeks.com provides the top eco-friendly web hosts. So what are you waiting for? Before making a decision on who will host your website, you should checkout web hosting and see what other people says about the webhosting companies.

Read more...