Synapse techno contains information about new technology,tutorials of computer programming languages like JAVA,JSON,XML,VBA and Web Designing languages like HTML,HTML 5 ,CSS,Scripting languages JavaScript and its library like jquery,react js,node js etc.
Plain Old Java Obect (POJO)
Get link
Facebook
X
Pinterest
Email
Other Apps
Synapse Techno: Plain Old Java Obect (POJO): Plain Old Java Object is a Java Object not bound by any restriction other than those forced by the Java language specification. POJO is al...
Hi Everyone! Yesterday my friend Andrea from Italy asked me a question about secure Database connectivity in node.js with mysql i.e. he wants to a secure database connection in node.js for some secure keys like username,password,database name that we use during database connectivity.His problem is obviously right from security point of view as we know that JavaScript is client side scripting knowledge so it is compiled on client side so after inspecting page some one can be able to view these secure keys which I discussed previously. I surf internet and found there are various ways to solve this problem I am not discussing all of them here but also I discussing here two of them and after this discussion I think Andrea and other reader who are facing with same problem can be able to resolve their problem. I choose two ways to solve this problem. Connection code in app.js file Create a Json file Connection code in app.js file : Javascript is client side language and code i...
Class . forName ( "org.hsqldb.jdbcDriver" ); conn = DriverManager . getConnection ( "jdbc:hsqldb:file:Pokemondaten" , "sa" , "" ); getData = conn . createStatement (); ResultSet rs = getData . executeQuery ( "SELECT HP FROM PKMN WHERE ID = " + basicnumber ); int hpp = rs . getInt ( 1 ); System . out . println ( hpp ); all I get is java . sql . SQLException : Table not found in statement [ SELECT HP FROM PKMN ] at org . hsqldb . jdbc . Util . sqlException ( Unknown Source ) at org . hsqldb . jdbc . jdbcStatement . fetchResult ( Unknown Source ) at org . hsqldb . jdbc . jdbcStatement . executeQuery ( Unknown Source ) at pokeWpRechner . Main . main ( Main . java : 46 ) My Databased is called Pokemondaten and my table is called PKMN , also my table is inherited in the programm. So what did i do wrong? i dont get it. Hi Ekonion, You are facing above problem.You may...
What is web server ? Web servers can refer to hardware or software or both of them working together. Web servers are computers that are usually setup in facilities called Data Centers and operated by hosting companies.The files stored on web servers are read by browsers.Browsers communicates with web servers to bring you information from internet. Purpose of Web server Store website so that people can visit them on internet. It serves file as per request. It can send same or different file to one or more than one user at the same time. Today I am discussing a small node.js application probably you are familiar with this example but it is mandatory to create a base.During this example I will discuss about starting a web server using node js.In node js one thing is very interesting that you need not install any other setup like Apache Tomcat or any other for node js application.You can run your application with node js setup that you have already install during your first...
Comments
Post a Comment