hello world first java program

hello world first java program

Creating first Java project

  1.  first you need to install Eclipse IDE – can be downloaded from https://www.eclipse.org

Eclipse will look like below,

2) create a project using Eclipse IDE, and give name as “Hello world”

Java project

3) create a package as shown below

Java Package

4) create a class as below,

Java class

5) fill the package name and class name as below,

Class creation

6) now insert/write the following program , since by default package and class name appears int the code

public static void main (String [] args)
{

System.out.println(“Hellow world………………. “);
System.out.println(“this is my first progrm”);

}

now you see the package name and class name are matching with the left pan tree structure as per below email. Also notice when you execute the results are displayed below.

Java - Hello world

 

 

 

Trending as of Jan 21 2017

Trending as of Jan 16 2017

Trending as of Jan 21 2017. My most favorite hobby is market research based on what i read from various news media. I focus mainly on new brands of cars, mobile phones, Laptops, software, new deals on various sites etc.. However this information may not be accurate and this is just my views and what I understood. Others would have their on views.

Date: Jan 16-2017

Kansai international airport is in Japan which is surrounded by water. 4. Kilometers long and 1 Kilometers wide man made island is then developed as an airport. This is one of the biggest airport in the world.  The airport build in the year 1994 in Osaka Japan was also referred as world’s most dangerous airport.

Date: Jan 16-2017

1.Times of usa magazine mentions about Mohanlal  but this could be a spam. Lots of social media including whatsapp spreading news that  times of usa magazine selected as their top versatile actors mohanlal and Naseeruddin Shah as 8th and 15th places respectively. Check4spam.com mentioned this as a spam news on Jan 16 2017.

2. ATM withdrawal limit is increased to Rs10k.

3. Zaira wasim acted  movie Dangal as young version of wrestler Geeta phogat now grossed 370 crores as of Jan 16.

4.according to anonymous source Samsung had found the exact reason for Note 7 battery explosion. Their officials shall reveal it soon..

5. Raspberry Pi3 launched new version on Monday which a has compute module (CM3) capable of running industry related applications and this is most nnjandham powerful version.

Date: Jan 14-2017

Jio is planning to invest 30,000 cr more to expand its coverage. This additional investment is good news for entire users and will influence people decision to stick to the network.

Deepika’s xXx Return of Xander Cage is released in India. It is her debut Hollywood movie.Worldwide release is scheduled on Jan-20-2017.

Times of usa magazine mohanlal – this can be a spam. Lots of social media including whatsapp spreading news that  times of usa magazine selected as their top versatile actors mohanlal and Naseeruddin Shah as 8th and 15th places respectively.

Date: Jan 12-2017

N Chandrasekaran will be taking over as chairman of Tata Sons on February 21, 2017.

Amazon’s apology to Sushma Swaraj regarding the selling Indian flag designed doormats and Amazon removed the product from site.

Date: Jan 11-2017

  1. H1 and L1 Visa news about hiking the minimum wages to $100k is trending news in Indian medias on this week. This news is causing lots concerns on Indian IT professionals living in USA about their Job security as well as IT companies concerns about their margins. Some of the IT majors are already started to make changes to their business model to handle this issues proactovely.

expecting more updates..

2. WhatsApp beta v2.17.6 will be supporting GIF search. this is something i was eagerly looking for. GIF images are light weight files and easy to share and express any flow and is a nice replacement for video clips..:-)

Date: Jan 10-2017.

1. 2018 Odyssey minivan’s modern look is amazing and this fifth generation model would definitely hit market with good responses.. Some of the features I likes are..new safety features, design changes, interior seat flexibilty for second row seats,  better technology to avoid collision, cabin control, more power etc

2. Xiaomi Redmi Note 5

Xiaomi expected to release its Note 5 version in 2017 .. Expected to have resolution 1920×1080 pixels with 2.5d curved IPS and 5.5 inch size..

Rear camera expected to have 16MP with PDAF

Expected processor Snapdragon 652 it’s core

Appam and Egg Masala

Appam and Egg Masala

appam

Appam and Egg Masala
Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – boiled eggs.
– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes
Appam
Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – boiled eggs.
– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes

Note: for complete list of recipes – please click on recipes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Fish bake

Fish bake

fish

Ingredient 1 – chopped onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – cleaned whole Mackerel
– mix ‘Ingredient 1’ in the backing pan.
– add Mackeral to the backing pan.
– pre-heat oven in 350 Fahrenheit
– put the pan in Oven and bake it for 30-40 min.

Note: for complete list of recipes – please click on recipes

Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Egg Masala

Egg Masala

eggmasala
Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – boiled eggs.
– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– Cook it in low flame for 20 minutes

Note: for complete list of recipes – please click on recipes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Mahi mahi fish curry

Mahi mahi fish curry

mahi1

Ingredient 1 – mustard seeds, onion, ginger , garlic, curry leaves, red chilly powder, turmeric, salt
Ingredient 2 – black tamarind, asafoetida , fenugreek powder

– heat oil in sauce pan and put ‘Ingredient 1’ in the same order.
– pour little water after 5 minutes cooking and add Ingredient 2 .
– after the contents get boling,put the mahi mahi fish cubes in it and cook it in low flame for 20 minutes

Note: for complete list of recipes – please click on recipes

Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Lobster recipe

Lobster recipe

lobster

Grilled Lobster recipe

Ingredient 1 – Black pepper, red chilies, coriander powder, garam masala ,lemon juice, salt and olive oil. Make a paste.

– Pre-heat oven to 400 Fahrenheit.
– Boil whole lobster in turmeric water and salt for 5 min. Cool it. Then make a cut on lower side of Lobster to expose flesh as well as remove unwanted things.
– bush the ingredient 1 to exposed lobster flesh
– grill it for max 5 min.

Note: for complete list of recipes – please click on recipes

Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Stuffed Mussels

Stuffed Mussels

stuffedmussels

Yummy Keralian Fried Stuffed Mussels /arikadukka

Fried Stuffed Mussels /arikadukka is a South Indian – Kerala recipe, there could be other ways to prepare this.

ingredient 1 – Grind and mix the onions or shallots, grated coconut, curry leaves, fennel seeds, green / red chilies, ginger, and garlic
ingredient 2 – mix salt water to rice powder and make a paste mixture (add salt to taste)
ingredient 3 – mix olive oil and turmeric powder, corriander powder, red chilli powder, rice powder and salt and make a spicy mixture. You can add any other powders like garam masala, black pepper if you like

– Clean the Mussel Shells in water to remove any sand or mud and unwanted things.
– Boil the mussels in turmeric water with a pinch of salt. Make sure the shells partially opens.
– mix ingredient 1 & 2
– Stuff the mussels with the above mixed ingredient 1 & 2
– Steam cook the stuffed mussels for 20-25 minutes with low flame, keep aside to cool.
– Take the mussels out of their shells.
– Heat oil in pan and dip stuffed mussels in this above ingredient 3

Note: for complete list of recipes – please click on recipes
Disclaimer: Some people will be allergenic to certain food products mentioned above – please use your judgment and consult with health experts before you prepare and consume it. We shall not be responsible for the outcome of any recipe anyone try from this website.

Recording Jmeter scripts using Jmeter’s HTTP(S) Test Script recorder

How to create Jmeter scripts?

Recording Jmeter scripts using Jmeter’s HTTP(S) Test Script recorder. There are two ways

1)      Manually adding scripts ( Test plan >> Tread Group >> Add>> Sampler >> HTTP Request )

2)      Recording using Jmeter’s HTTP(S) Test Script recorder

How to record Jmeter scripts using HTTP(S) Test Script recorder?

Prior doing that we need to configure browser and learn about the Proxy setup

Jmeter to Application server communication need to be routed through a browser Proxy for this recording purpose. For that you may need to select the Browser (here we can use Firefox browser”

1)      Navigate to Firefox >> Tools >> options >> Advanced >> Network >> Settings

2)      Select Manual Proxy configuration >> HTTP Proxy = localhost & Port = 8080

ff-settings

3)      Once this configuration is made – create Recording controller

Path ==>  Test plan >> Tread Group >> Add>> Logic Controller >> Recording controller

recording-controller

Recording controller will look like as below:

recording-controller-1

4)      Now add the HTTP(S) Test Script recorder

script-recorder

HTTP(S) Test Script recorder will look like as below:

script-recorder-1

Also make sure the URL patterns to be included. I need only .html so added as below,

script-recorder-1

5)      Now click on Start button and type on the Firefox browser with input url name and subsequent actions that you want to consider for performance test recording.

start

Jmeter scripts Adding scripts manually

Jmeter scripts Adding scripts manually

Apache JMeter  is a Java based performance testing tool works well on web communication layer (HTTP).

How to create Jmeter scripts?

There are two ways

1)      Manually adding scripts ( Test plan >> Tread Group >> Add>> Sampler >> HTTP Request )

2)      Recording using Jmeter’s HTTP(S) Test Script recorder

How to manually add Jmeter scripts

1         Follow the path :  Test plan >> Tread Group >> Add>> Sampler >> HTTP Request as copied in the below screenshot

script-manual-add

Below the fields needs to be filled when you write a code,

1)      Name: you can give any logical name based on application (e.g Login, Home page etc)

2)      Server Name or IP : it’s nothing but the IP of your server or the url name (www.your test site.com or “your test site.com” as example or if you know the IP, provide the IP)

3)      Path :  is “/sso/auth” in this example screenshot below as the remaining contents in the url after “.com”  – if your original site is www.your test site.com/sso/auth

4)      Make sure the Method è POST and protocol can be HTTP or HTTPS – which ever protocol is used.

http-request