Thursday, December 9, 2021

Blood pressure

 Here is how to check it blood-pressure-hypotension

 Conditions that can cause low blood pressure

Medical conditions that can cause low blood pressure include:

  • Pregnancy. Because the circulatory system expands rapidly during pregnancy, blood pressure is likely to drop. This is normal, and blood pressure usually returns to your pre-pregnancy level after you've given birth.
  • Heart problems. Some heart conditions that can lead to low blood pressure include extremely low heart rate (bradycardia), heart valve problems, heart attack and heart failure.
  • Endocrine problems. Parathyroid disease, adrenal insufficiency (Addison's disease), low blood sugar (hypoglycemia) and, in some cases, diabetes can trigger low blood pressure.
  • Dehydration. When your body loses more water than it takes in, it can cause weakness, dizziness and fatigue. Fever, vomiting, severe diarrhea, overuse of diuretics and strenuous exercise can lead to dehydration.
  • Blood loss. Losing a lot of blood, such as from a major injury or internal bleeding, reduces the amount of blood in your body, leading to a severe drop in blood pressure.
  • Severe infection (septicemia). When an infection in the body enters the bloodstream, it can lead to a life-threatening drop in blood pressure called septic shock.
  • Severe allergic reaction (anaphylaxis). Common triggers of this severe and potentially life-threatening reaction include foods, certain medications, insect venoms and latex. Anaphylaxis can cause breathing problems, hives, itching, a swollen throat and a dangerous drop in blood pressure.
  • Lack of nutrients in your diet. A lack of the vitamin B-12, folate and iron can keep your body from producing enough red blood cells (anemia), causing low blood pressure.

Friday, December 3, 2021

Do You Have an Inner Voice? Not Everyone Does

 Do you tell yourself, "Don't forget the milk" before you leave home and then when you get home without it at the end of the day, you say to yourself, "How could I've been so stupid?" Is there a constant "talking to self" throughout the day?

A lot of people use language-based chatter to organize and focus their thoughts. However, it turns out that some people don't have this kind of inner monologue at all. Instead, they may rely more on visualization (for instancing "seeing themselves" buying the milk at the store). Others employ a combination of these techniques.

People on both sides of this "inner monologue" divide have a hard time imagining another way of being – to the point that it sort of freaked everyone out during an online debate that went viral in February.

Russell Hurlburt is a psychology professor at the University of Nevada, Las Vegas. For decades, he's been doing experiments on people's inner experiences, their thoughts, feelings and sensations. Regarding the viral kerfuffle over the inner speech haves and have nots, he chuckles a bit and says he frequently hears people claim that they have an ever-present inner monologue – but his experiments show that this is not always true.

But rather than argue with them, he says, "Well, let's find out."

His tests began long ago. As a graduate student in the early '70s, he began wondering how scientists could investigate subjects' pristine inner experiences, experiences that are in your present consciousness, before your brain has tried to make sense of them or assigned them some sort of interpretation.

"The object of my research is not to explore inner speech or inner monologue or whatever you want to call it, but to explore your experience as it actually is," says Hurlburt.

He thought beepers of some kind might work, but back then, there were no cell phones or pagers. So, Hurlburt, who has an engineering background, designed and patented a device that beeped at irregular intervals. Each time the beeper went off, he asked subjects to make notes about their experiences in that moment.

As students went about their days, the beepers would go off at random times. They were instructed to try and clarify what was happening in their minds at that instant.

The beepers went off only a few times. This was intentional, so that the research subjects would forget that they had them (and thus, not contaminate their thinking processes with thoughts about the experiment).

Later, researchers asked the students questions to better understand how the students were thinking when the beepers sounded. Were they visualizing something? Experiencing a tactile sensation? Feeling an emotion? This line of inquiry is called Descriptive Experience Sampling (DES).

Learn TensorFlow: A powerful Python machine learning tool

 link How-to-use-tensorflow-for-computer-vision

Learn NoSQL Database

 link learn-nosql-in-3-hours

The most loved programming language: Rust

 link Rust-in-replit

If you know how to use Microsoft Excel, you already have one of the most powerful data analysis tools at your disposal.

Pair Excel with Python to build pivot tables, Jupyter Notebooks, and other data analysis artifacts. 

link data-analysis-with-python-for-excel-users-course/

Thursday, December 2, 2021

FinTech

 Become a CFA:  The CFA program

ERH (Earn From Home) with Yaari

 Here is how yaari.com

Web developer Guide

  1. Web developer guidance.com 
  2. Best-languages-for-web-development

Succeed Online

Here is how in.godaddy.com 

Top courses at Coursera

Certificate courses:
  1. Build-a-full-website-using-wordpress - good 
  2. Create-a-website-using-wordpress-free-hosting-subdomain - good
  3. web design
  4. django
  5. What does a web-developer do?
  6. What does a software-engineer do?
  7. Computer-science-jobs-for-the-future
  8. Computer-science-vs-information-technology
  9. Moving to cloud-computing-adoption - good
  10. Front-end development with reactjs - good
  11. Full-stack development with reactjs - good
  12. Full-stack-mobile-app-development
  13. Software-testing-automation
  14. Javascript-jquery-json
  15. Responsive website-development - good
  16. Professional-certificates/ibm-full-stack-cloud-developer - good
  17. Interactive-dashboards-streamlit-python 
  18. web-development-with-java-spring-framework 
  19. data-analysis-python
  20. single-page-web-apps-with-angularjs - good
  21. blockchain-basics

Online Degree courses:

Bachelor Degree

Tuesday, November 2, 2021

Monday, October 25, 2021

My sector allocation

 


Beauty with brains: A piece of writing by Lauren Jauregui

"

 #Prelude is really going to be in your hands on November 5th. I’ve been living with these songs and trying to make them as perfect as they could be..I’m so grateful to each of my collaborators..sonically and visually. So grateful to finally release this once and for all. The presave is available now wherever you listen to music. This cover art..you’ve been living with her for a moment. It was shot by Amanda Charchian and the way that the shoot came together was so beautifully organic, raw and aligned. Amanda’s eye is special, her attention to intention behind a photo. This photo captured it. When I was scrolling through..the way that I’m holding my own face, the reflection of self in the water, the delicate and vulnerable nature of the body language...I knew that she embodied what this music was doing sonically. I wanted you to live with her because she is as much a depiction of the sound as she is a stand alone image. The lack of eye contact alludes to guard, alludes to a not yet, alludes to a yet to come. Prelude, I hope you find whoever needs you. I hope that you open the doors and windows and ceilings for my path, I hope you comfort, I hope you heal, I hope you accompany people in special moments and that you live on through generations of music sharing because you made them feel something. Soon in your hands, always in my heart, and this is the beginning

🦋

Friday, October 22, 2021

Who is Shiva?

 https://www.bbc.co.uk/religion/religions/hinduism/deities/shiva.shtml

keyboard shortcuts to apply superscript or subscript in MS Word

 1. Select the text or number that you want.

 2. For superscript, press Ctrl, Shift, and the Plus sign (+) at the same time. For subscript, press Ctrl and the Equal sign (=) at the same time. (Do not press Shift.)

My exclusive clique of scattered Indian stocks

 

My exclusive clique of scattered Indian stocks

  1. Infy - buy above 1740 sl 1740
  2. TCS - buy near 3400 sl 3400
  3. Wipro - buy near 600 sl 570
  4. Persistent - buy near 3900 sl 3800
  5. Mindtree - buy above 4800 sl 4600
  6. LTI - buy near 6400 sl 6400
  7. LTTS - buy near 5000 sl 4900
  8. Tata Elxsi - buy above 5300 sl 5300
  9. Mphasis - buy above 3250 sl 3200
  10. KPIT Tech - buy near 420 sl 400
  11. Newgen software - buy above 550 sl 550
  12. Birlasoft - buy above 440 sl 440
  13. Latent View Analytics - buy near 500 sl 460
  14. Happiest minds - buy above 1200 sl 1200 ———————
  15. Maruti - buy above 7700 (sl 7700) or near 6600 (sl 6400)
  16. Tata motors - buy above 500 sl 460 ————————-
  17. Bajaj finance - buy near 7000 sl 6800
  18. Icici bank buy near 740 sl 720 ———————————-
  19. ACC - buy near 2450 sl 2450
  20. Ultra - buy near 7400 sl 7400 ————————————
  21. GCP - buy near 800 = sl 800
  22. TCP - buy near 770 = sl 770
  23. HUL - buy near 2350 sl 2300
  24. Dmart - buy near 4700 sl 4700 ————————————-
  25. Tata powers - buy near 210 sl 200
  26. JSW Energy - buy near 280 sl 260 ——————————
  27. Tata communications - buy near 1200 sl 1200
  28. Reliance - buy near 2300 sl 2270
  29. Titan - buy near 2300 sl 2200
  30. Century ply - buy near 600 sl 550
  31. Triveni - buy above 210, sl 200
  32. Tata steel - buy near 1100 sl 1050
  33. Nykaa ( FSN Ecom) - buy near 2100 sl 2000
  34. Zomato - buy near 130 sl 120
  35. Info Edge (Naukri) - buy above 6000 sl 5800
  36. PolicyBazaar (PB Fintech) - buy near 1200 sl 1150
  37. Paytm (One 97 comm) - buy near 1400 sl 1350

Monday, October 4, 2021

Meaning of Ashutosh

 

Ashutosh (Ashu meaning rapid/easy and tosh meaning gratification) is a male given name and one of the names given to Shiva. The word Ashutosh refers to someone who can be easily gratified and someone who fulfils wishes instantly. In Hindi, à¤†à¤¶ुतोष means शीघ्र प्रसन्न होने वाले. Ashutosh is one of the thousand names (Sahasra naam) of Mahadeva. - Wikipedia

Ashutosh is the most happy man from inside in this world - Urban Dictionary






Tuesday, August 31, 2021

What are Algorithms and Data Structures

 Both are the building blocks of any Software(a collection of programs).

Program = Algorithms(processing/logic) + Data Structures (temporary memory)

Data Structures are tools for storing more than one data items at a time using a single name. They work as our short-term memory while we do mental calculations.

Algorithms are like the mental calculations/thinking that we do while solving a problem or performing some task.

Both together make a small replica of human brain. 

Data structures should be learnt first because algorithms use them.

Thursday, July 1, 2021

Best stock filters for stock hunting

 Stock filters:

1. Top FNO gainers

2. New 52 week high

3. Positive breakout today

4. Oversold stocks with RSI < 30

5. Stocks crossing over 50 dma

6. Undervalued IPOs on listing

7.  Hourly gainers

8. Top gainers of the day (All NSE)

Wednesday, June 23, 2021

Champion stocks

 Auto 1

  1. Hero
  2. M&M
  3. Tata Motors
  4. Maruti
  5. TVS
  6. Eicher motors
  7. Bajaj Auto

  8. Banks 2
  9. Axisbank
  10. Bajaj Finance
  11. IndusInd
  12. Sbi
  13. Construction 3
  14. Ambuja cement
  15. ACC
  16. jk cement
  17. jk lakshmi cement
  18. L&T
  19. Ultra Tech
  20. Grasim

  21. IT 4
  22. Happiest Minds
  23. Info Edge India
  24. LTI
  25. Mindtree
  26. Persistent
  27. Tata Elxsi
  28. TCS
  29. HCL Tech
  30. Infosys
  31. Mastek 
  32. Aptech 
  33. Birlasoft 
  34. Cyient 
  35. Firstsource solutions 
  36. InfoBean 
  37. Inspirisys
  38. Intense Technologies
  39. Mphasis 
  40. Onward Technology 
  41. OFSS 
  42. QuickHeal 
  43. Subex 
  44. Trigyn 
  45. LTTS

  46. Metals 5
  47. Hindalco
  48. Tata Steel
  49. Jindal Power & Steel
  50. JSW steel
  51. NMDC
  52. SAIL

  53. Pharma 6
  54. Apollo Hospitals
  55. Divi;s lab
  56. Dr Reddy's lab
  57. Dr Lal Pathlab
  58. Laurus Lab
  59. Thyrocare Technologies
  60. Amrutanjan Healthcare
  61. Rossari Biotech
  62. Anupam Rasayan
  63. India pesticide
  64. Clean Science

  65. FMCG 7
  66. Tata consumer
  67. Tata Coffee
  68. Godrej consumer
  69. HUL
  70. Colgate

  71. Power/Energy 8
  72. Tata power
  73. JSW Energy
  74. Coal India

  75. Tyre 9
  76. JK Tyre

  77. Chemicals 10
  78. Deepak Nitrite

  79. Diversified
  80. RIL
  81. Dixon 
  82. Voltas
  83. Tata communications
  84. Route
  85. Indiamart
  86. Avenue Supermart (Dmart)
  87. Polycab
  88. Affle (India)
  89. Astral polytech
  90. Prince pipes
  91. Finolex Industries
  92. Avas Financers
  93. Nilkamal
  94. Motherson sumi
  95. V-mart
  96. Nureca 
  97. Craftsman Automation
  98. Barbeque Nation
  99. Easy Trip planners
  100. KIMS
  101. Philips carbon

Wednesday, June 16, 2021

Best FNO stocks

1.SBI                   1500

2.AXIS                1200

3.BAJAJFIN        125

4.ICICI                1375

5.INDUS             900

6.MARUTI          100

7.M&M               700

8.HERO               300

9.INFY                600

10.MINDTREE    400

11.TISCO            850

12.RIL                   250

13.TECH MAH    600  
 
14.ULTRA TEC   100

15.WIPRO            1600

Thursday, June 10, 2021

Best growth stocks for trading

  1. Mastek 
  2. Mphasis
  3. Mindtree
  4. Happiest Minds
  5. Firstsource solutions
  6. Persistent systems
  7. Tata consumer
  8. Tata power
  9. JSW energy
  10. Dixon Technologies
  11. Polycab
  12. Deepak Nitrite
  13. Motherson sumi
Blue chip Growth stocks i.e. stocks whose product demand is increasing and supposed to do so for next 1-2 years are the best stocks for trading.

Out of trend (down trending i.e. negative cycle stocks) should be avoided. They may be considered once they are back in up/positive trend/cycle.

Sunday, June 6, 2021

Stock Trading

As a trader; what best I can do is; trade the probabilities, and accept the outcome. 

Am I always accurate? No, I am not; neither do I need to be, nor that is possible. Do I fail? Yes I do, and I make sure to learn from it. 

 Top trading stocks

Auto 1

1. Hero

2. M&M

3. Tata Motors

4. Maruti

5. TVS

Banks 2

6. Axisbank

7. Bajaj Finance

8. IndusInd

9. Sbi

Construction 3

10. Ambuja cement

11. jk cement

12. jk lakshmi cement

13. L&T

IT 4

14. Happiest Minds

15. Info Edge India

16. LTI

17. Mindtree

18. Persistent

19. Tata Elxi

20. TCS

21. HCL Tech

22. Infosys

Metals 5

23. Hindalco

24. Tata Steel

25. RIL

Pharma 6

26. Divi;s lab

27. Dr Reddy's lab

28. Ipca lab

29. Dr Lal Pathlab

30. Laurus Lab

FMCG 7

31. Tata consumer

32. Tata Coffee

33. Godrej consumer

34. HUL


Saturday, March 13, 2021

Simple Servlet program to query books details and update a book's availability status by taking book ID as input

 //The HTML index page

<!DOCTYPE html>

<!--

To change this license header, choose License Headers in Project Properties.

To change this template file, choose Tools | Templates

and open the template in the editor.

-->

<html>

    <head>

        <title></title>

        <meta charset="UTF-8">

        <meta name="viewport" content="width=device-width, initial-scale=1.0">

    </head>

    <body>

        

    <center>

        <h1>Welcome to the IGNOU RC Varanasi website</h1>

        <h3>Here you can have all information about counselling classes and library books</h3>

        

        <!-- books.java is the Servlet file which should get executed/invoked once below link is clicked, -->

        

        <div>For books availability in the library <a href="books">click here</a></div>

        

        <!-- modifyBooks.java is the Servlet file which should get executed/invoked once below link is clicked, -->

        <br><br>

        <div>For modifying a book's availability status in the library

            

            <form method="POST" action="modifyBooks">

                <br><br>

            enter book id <input type = "text" id ="bookId" name ="bookId"> 

            <br><br>

            enter new availability status (Yes/No) <input type = "text" id ="status"  name ="status">

            <br><br>

                <button type="submit"> Update </button>

            </form>

        </div>

        

        

    </center>

    </body>

</html>

-----------------------------------------------------------------------------------------------------------

//The 'books.java' servlet

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Library;

import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
/**
 *
 * @author ashu
 */
public class books extends HttpServlet {

    /**
     * Processes requests for both HTTP <code>GET</code> and <code>POST</code>
     * methods.
     *
     * @param request servlet request
     * @param response servlet response
     * @throws ServletException if a servlet-specific error occurs
     * @throws IOException if an I/O error occurs
     */
    protected void processRequest(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        response.setContentType("text/html;charset=UTF-8");
        PrintWriter out = response.getWriter();
    try{
        out.println("<html>");
        out.println("<head><title>Servlet JDBC</title></head>");
        out.println("<body>");
        // connecting to database
        Class.forName("com.mysql.jdbc.Driver");
        Connection con =DriverManager.getConnection ("jdbc:mysql://localhost/dbmsbooks","root","ashutosh");
        Statement stmt = con.createStatement();
        ResultSet rs = stmt.executeQuery("SELECT * FROM dbbooks");
        // displaying records
        out.println("<center>");
        out.println("<h1>IGNOU RC Varanasi website</h1>");
        out.println("<h2>"+"Following is the details of the books available in library related to DBMS: "+"</h2>");
        out.println("<table border=1>");
        out.println("<tr><th>BookID</th><th>Title</th><th>Authors</th><th>Publication</th><th>Availability</th></tr>");
        while(rs.next()){
            out.println("<tr>");
            out.println("<td>"+rs.getInt(1)+"</td>"+
                        "<td>"+rs.getString(2)+"</td>"+
                        "<td>"+rs.getString(3)+"</td>"+
                        "<td>"+rs.getString(4)+"</td>"+
                        "<td>"+rs.getString(5)+"</td>");
            out.println("</tr>");
        }
        out.println("</center></body></html>");  
  } catch (SQLException e) {
 throw new ServletException("Servlet Could not display records.", e);
  } catch (ClassNotFoundException e) {
  throw new ServletException("JDBC Driver not found.", e);
  } 
  out.close();
  }
        


    // <editor-fold defaultstate="collapsed" desc="HttpServlet methods. Click on the + sign on the left to edit the code.">
    /**
     * Handles the HTTP <code>GET</code> method.
     *
     * @param request servlet request
     * @param response servlet response
     * @throws ServletException if a servlet-specific error occurs
     * @throws IOException if an I/O error occurs
     */
    @Override
    protected void doGet(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        processRequest(request, response);
    }

    /**
     * Handles the HTTP <code>POST</code> method.
     *
     * @param request servlet request
     * @param response servlet response
     * @throws ServletException if a servlet-specific error occurs
     * @throws IOException if an I/O error occurs
     */
    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response)
            throws ServletException, IOException {
        processRequest(request, response);
    }

    /**
     * Returns a short description of the servlet.
     *
     * @return a String containing servlet description
     */
    @Override
    public String getServletInfo() {
        return "Short description";
    }// </editor-fold>

}
-----------------------------------------------------------------------------------------------------

//The 'modifyBooks.java' servlet

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Library;

import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 *
 * @author ashu
 */
@WebServlet(name = "modifyBooks", urlPatterns = {"/modifyBooks"})

public class modifyBooks extends HttpServlet { 

    /**
     *
     * @param request
     * @param response
     * @throws ServletException
     * @throws IOException
     */
    @Override
    protected void doPost(HttpServletRequest request, HttpServletResponse response)

            throws ServletException, IOException 

    {   
        response.setContentType("text/html;charset=UTF-8");
        
    try(PrintWriter out = response.getWriter()) {
        try{
            out.println("<html>");
            out.println("<head><title>Servlet JDBC</title></head>");
            out.println("<body>");
            // connecting to database
            Class.forName("com.mysql.jdbc.Driver");
            Connection con =DriverManager.getConnection ("jdbc:mysql://localhost/dbmsbooks","root","ashutosh");
            Statement stmt = con.createStatement();
            
            String bookId = request.getParameter("bookId");
            String status = request.getParameter("status");
            //out.println(bookId);
            //out.println(status);
            
            stmt.executeUpdate("UPDATE dbbooks SET available = '" + status + " 'WHERE bookID = "+bookId+";");
            
            out.println("Book status updated successfuly!");
            out.println("</body></html>");
        } catch (SQLException e) {
            throw new ServletException("Servlet Could not display records.", e);
        } catch (ClassNotFoundException e) {
            throw new ServletException("JDBC Driver not found.", e);
        }
  }    }
------------------------------------------------------------------------------------------------------------
Output:
Home page:



Books details

BookID 1 status change from 'yes' to 'no' request made


Change done successfuly


Verify the change by seeing books details once again






Thursday, March 11, 2021

Java JAR file

a video tutorial  https://www.youtube.com/watch?v=QB19Wqimkq4

Core Java by Ratan

 Excellent video tutorials on core Java by the ' Java Ratan ' of DurgaSoft https://www.youtube.com/watch?v=gKqBPq3i62c&list=PLhChZSBQLZWGrORbbkpPuELxTTAFRoXYP

JDBC by Ratan https://www.youtube.com/watch?v=0X2gu-uD-NQ&list=PLd3UqWTnYXOlupbXFZhwjWhorMwscm0Hj

Web server Vs Application server

 There you go https://www.youtube.com/watch?v=BcmUOmvl1N8

Then what is Apache Tomcat? web server or application server? Tomcat

https://www.quora.com/Is-Tomcat-a-web-server-or-an-application-server

Tomcat is a web server (handles HTTP requests/responses) and web container (implements Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies) if we don't consider that we have all the add-ons and plug-ins made available through open source or commercially with Tomcat. Tomcat doesn't implement the complete Java EE API and doesn't have EJB container. Although we could run some applications in tomcat(one could easily argue that it is an application server) it will not be considered as fullfledged applcation server as it lacks some features of application server.

Apache is a web server, which can ideally handle static pages like HTML. 

To handle dynamic pages like php, we may need to load php module in apache configuration file.

Apache Tomcat is a combination of both web and application server, generally called as application server, can handle both static and dynamic pages. 

Of course, it needs java runtime environment as a prerequisite to run dynamic pages like servlets and jsps .



Wednesday, March 10, 2021

What is a web server?

 The term web server can refer to hardware or software, or both of them working together.

  1. On the hardware side, a web server is a computer that stores web server software and a website's component files. (for example, HTML documents, images, CSS stylesheets, and JavaScript files) A web server connects to the Internet and supports physical data interchange with other devices connected to the web.
  2. On the software side, a web server includes several parts that control how web users access hosted files. At a minimum, this is an HTTP server. An HTTP server is software that understands URLs (web addresses) and HTTP (the protocol your browser uses to view webpages). An HTTP server can be accessed through the domain names of the websites it stores, and it delivers the content of these hosted websites to the end user's device.

At the most basic level, whenever a browser needs a file that is hosted on a web server, the browser requests the file via HTTP. When the request reaches the correct (hardware) web server, the (software) HTTP server accepts the request, finds the requested document, and sends it back to the browser, also through HTTP. (If the server doesn't find the requested document, it returns a 404 response instead.)

Basic representation of a client/server connection through HTTP

To publish a website, you need either a static or a dynamic web server.

static web server, or stack, consists of a computer (hardware) with an HTTP server (software). We call it "static" because the server sends its hosted files as-is to your browser.

dynamic web server consists of a static web server plus extra software, most commonly an application server and a database. We call it "dynamic" because the application server updates the hosted files before sending content to your browser via the HTTP server.

For example, to produce the final webpages you see in the browser, the application server might fill an HTML template with content from a database. 

Sites like MDN or Wikipedia have thousands of webpages. Typically, these kinds of sites are composed of only a few HTML templates and a giant database, rather than thousands of static HTML documents. This setup makes it easier to maintain and deliver the content.


web server is server software, or a system of one or more computers dedicated to running this software, that can satisfy client HTTP requests on the public World Wide Web or also on private LANs and WANs.[1]

A web server can manage client HTTP requests for Web Resources related to one or more of its configured / served websites.

A web server usually receives incoming network HTTP requests and sends outgoing HTTP responses (one for each processed request), along with web contents, through transparent and / or encrypted TCP/IP connections (See also: HTTPS) which are started by client user agents before sending their HTTP request(s). Web servers may soon be able to handle other types of transport protocols for HTTP requests.

The purpose of a web server is to store and deliver web contents and / or web resources. Examples of web contents may be HTML filesXHTML filesimage files, style sheetsscripts, other types of generic files that may be downloaded by clients, etc.

Multiple web servers may be used for a high traffic website; here, Dell servers are installed together being used for the Wikimedia Foundation.

user agent, commonly a web browser or web crawler, initiates communication by making a request for a specific resource using HTTP and the server responds with the content of that resource or an error message if unable to do so. The resource is typically a real file on the server's secondary storage, but this is not necessarily the case and depends on how the web server and the website are implemented.

While the major function is to serve content, a full implementation of HTTP also includes ways of receiving content from clients. This feature is used for submitting web forms, including uploading of files.


computing, a server is a piece of computer hardware or software (computer program) that provides functionality for other programs or devices, called "clients". 

This architecture is called the client–server model. Servers can provide various functionalities, often called "services", such as sharing data or resources among multiple clients, or performing computation for a client. A single server can serve multiple clients, and a single client can use multiple servers. A client process may run on the same device or may connect over a network to a server on a different device.[1] Typical servers are database serversfile serversmail serversprint serversweb serversgame servers, and application servers.[2]

Client–server systems are today most frequently implemented by (and often identified with) the request–response model: a client sends a request to the server, which performs some action and sends a response back to the client, typically with a result or acknowledgment. Designating a computer as "server-class hardware" implies that it is specialized for running servers on it. This often implies that it is more powerful and reliable than standard personal computers, but alternatively, large computing clusters may be composed of many relatively simple, replaceable server components.

APPLICATION SERVER

An application server is a server that hosts applications.[1]

Application server frameworks are software frameworks for building application servers. An application server framework provides both facilities to create web applications and a server environment to run them.

An application server framework contains a comprehensive service layer model. It includes a set of components accessible to the software developer through a standard API defined for the platform itself. For Web applications, these components usually run in the same environment as their web server(s), and their main job is to support the construction of dynamic pages. However, many application servers do more than generate web pages: they implement services such as clustering, fail-over, and load-balancing, so developers can focus on implementing the business logic.[2]

In the case of Java application servers, the server behaves like an extended virtual machine for running applications, transparently handling connections to the database on one side, and, often, connections to the Web client on the other.[citation needed]


Java application servers[edit]

Java Platform, Enterprise Edition or Java EE (was J2EE) defines the core set of API and features of Java Application Servers.

The Java EE infrastructure is partitioned into logical containers.

Some Java Application Servers leave off many Java EE features like EJB and Java Message Service (JMS). Their focus is more on Java Servlets and JavaServer Pages.

There are many open source Java application servers that support Java EE.

Commercial Java application servers have been dominated by WebLogic Application Server by OracleWebSphere Application Server from IBM and the open source JBoss Enterprise Application Platform (JBoss EAP) by Red Hat.

A Java Server Page (JSP) executes in a web container. JSPs provide a way to create HTML pages by embedding references to the server logic within the page. HTML coders and Java programmers can work side by side by referencing each other's code from within their own.

The application servers mentioned above mainly serve web applications, and services via RMI, EJB, JMS and SOAP. Some application servers target networks other than web-based ones: Session Initiation Protocol servers, for instance, target telephony networks.

.NET Framework[edit]

Microsoft[edit]

Microsoft positions their middle-tier applications and services infrastructure in the Windows Server operating system and the .NET Framework technologies in the role of an application server.[4] The Windows Application Server role includes Internet Information Services (IIS) to provide web server support, the .NET Framework to provide application support, ASP.NET to provide server side scripting, COM+ for application component communication, Message Queuing for multithreaded processing, and the Windows Communication Foundation (WCF) for application communication.[5]

Third-party[edit]

  • Mono (a cross platform open-source implementation of .NET supporting nearly all its features, with the exception of Windows OS-specific features), sponsored by Microsoft and released under the MIT License

PHP application servers[edit]

PHP application servers are used for running and managing PHP applications.

Zend Server, built by Zend Technologies, provides application server functionality for the PHP-based applications.

appserver.io, built by TechDivision GmbH is a multithreaded application server for PHP written in PHP.

RoadRunner, built by Spiral Scout is a high-performance PHP application server, load-balancer, and process manager written in Golang.

Mobile application servers[edit]

A mobile app server is mobile middleware that makes back-end systems accessible to mobile application to support Mobile application development. Much like a web server that stores, processes, and delivers web pages to clients, a mobile app server bridges the gap from existing infrastructure to mobile devices.


Mobile application servers vs. application servers vs. web servers[edit]

Mobile application servers, Application servers, and web servers serve similar purposes: they are pieces of middleware that connect back-end systems to the users that need to access them, but the technology in each of the three differs. Application servers—developed before the ubiquity of web-based applications—expose back-end business logic through various protocols, sometimes including HTTP, and manage security, transaction processing, resource pooling, and messaging.[8] When web-based applications grew in popularity, application servers did not meet the needs of developers, and the webserver was created to fill the gap.[citation needed]

Web servers provide the caching and scaling functionality demanded by web access and not provided by application servers. They convert requests to static content and serve only HTTP content.[9] Over time, application servers and web servers have morphed from two previously distinct categories, blended features, and arguably have merged.[citation needed]

Mobile application servers are on a similar path.[citation needed] The emergence of mobile devices presents the need for functionality not anticipated by the developers of traditional application server developers, and mobile application servers fill this gap. They take care of the security, data management and off-line requirements not met by existing infrastructure, and present content exclusively in REST.

Over time, these three categories may fully merge and be available in a single product, but the root functions differ.


Source: Wikipedia

How can I run a C++ program directly from Windows?

How-can-I-run-a-C-program-directly-from-Windows