Archive for November, 2012

Working with Date and Time in C#.Net

Working with Date and Time in C#.Net

C#.Net provides DateTime structure that offers many useful methods and properties for date and time calculations. The range of DateTime is between 01/01/0001 12:00:00 AM to 31/12/9999 11:59:59 PM. DateTime return various date/time elements: DateTime d1 = DateTime.Now; listBox1.Items.Add("Year\t\t: " + d1.Year); listBox1.Items.Add("Month\t\t: " + d1.Month); listBox1.Items.Add("Day\t\t: " + d1.Day); listBox1.Items.Add("DayOfWeek\t: " +...

Full Post

Vehicle Management System project in Java

Vehicle Management System project in Java

Vehicle Management System is developed and customized for commercial fleet owners and organizations. Its modules support most type of vehicles (passenger, Truck, construction and other commercial vehicles). It really reduces your vehicles cost while increasing performance and dependability. Track your tax-deductible business miles and travel expenses Eliminate costly unscheduled maintenance. Increase the resale value...

Full Post

How to upload mp3 songs using Apache commons File Upload?

How to upload mp3 songs using Apache commons File Upload?

In many java based web based applications developer need to implements file upload. Before Servlet 3.0 specification, servlet doesn’t support file upload and developer need to use third party library like apache common’s file upload. To know more about how to use servlet 3 for file upload, please visit my servlet 3 file upload...

Full Post

Declare Servlet 3.0 Initialization parameter using @WebInitParam

Declare Servlet 3.0 Initialization parameter using @WebInitParam

Servlet initialization parameters are used to process the data when servlet initializing. Before servlet 3, this data need to put on deployment descriptor and servlet will read the data in init() method using ServletConfig Object. For every servlet, the data is unique and not been shared in between of two servlets. Before Servlet 3...

Full Post

Servlet 3 File Uplaod example using Tomcat 7

Servlet 3 File Uplaod example using Tomcat 7

Many java web developer aware that for uploading files on server there was no api support in servlet specifications. We have to depend on third party library to upload files. Apache common’s file upload library is very popular for this task. Servlet 3 comes with default support of file upload. To make your servlet...

Full Post

Creating EJB 3.1 Stateless Session Bean using JBoss 6.1 Example

Creating EJB 3.1 Stateless Session Bean using JBoss 6.1 Example

Stateless session beans are stateless in nature, in other words it does not remember its previous invocations. A user will call the bean and the bean will return a result. A stateless bean is not good for maintaining the state of an interactive session such as required to maintain a list of purchases. However,...

Full Post

Copyright © 2019 http://www.techzoo.org. All rights reserved.
Proudly powered by WordPress. Developed by 7Tech Solutions