Web Dynpro is a great MVC framework to develop portal applications. The drag-drop wizards make it easy to develop fast, the UI elements are controlled automatically by the web dynpro framework once they are bound to the context nodes/attributes, etc…
Create an APC. For more details on this, refer SAP help
IResource cssResource = request.getResource(IResource.CSS,”css/demo_table.css”);
<%String mimeUrl = componentRequest.getWebResourcePath(); %>
Here is the final code, to invoke the plugin
Please refer http://datatables.net for more information.