473,705 Members | 2,446 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how J2EE framework works?????

dmjpro
2,476 Top Contributor
plz send me a good link which can clearify me how the J2EE framework works

i want the details information .... plz help
thanx
Mar 12 '07 #1
3 6619
r035198x
13,262 MVP
plz send me a good link which can clearify me how the J2EE framework works

i want the details information .... plz help
thanx
Try the sun official tutorial here.
Mar 12 '07 #2
dmjpro
2,476 Top Contributor
thanx a lot
Mar 12 '07 #3
mehdi mousavi
2 New Member
J2EE and Service Oriented Programming


Authored by: AmirSam Bahador
Level:
Advanced
Contents:
Introduction
- The purpose of compilation this essay

Chapter 1: Basic concepts of J2EE
- Servlet and JSP
- MVC
- MVC or JWMS? That is the problem? Perhaps both!

Chapter 2: Basic concepts of Shine Framework
- What is "Shine Framework”?
- The components of Shine Framework
- Implimentation of an application by Shine Framework

Chapter 3: The objects of Shine Framework
- The types of objects in Shine Framework

Chapter 4: Engineering & Communication items
- The communication of Shine Framework with the other
existing Frameworks
- The major purpose of Shine Framework


Introduction
The purpose of compilation of the this paper
A few years ago, when I was the software architect of a big project with J2EE, I advised some of the modern tools of that time to the project manager. He acknowledged it. Therefore, we began deploying our Enterprise on Java platform. However, we encounterd with many problems, as we got ahead the project. Our tools were included Struts Framework, Spring Framework & Hibernate.

I convinced that MVC architecture is the best option to develop macro projects! However, I believe it now, as well. Couldn't it be more completed? In developed Enterprise projects, an advanced architecture is required to divide the project, technically. The project was successfully finished after one year, but my mind was busy with it for a long time!

Then, I began implementing an Application Framework and registered it in Sourceforge.net as an Open Source Framework. I developed some Enterprise projects & some other J2EE frameworks, as well. I achieved a good result! The velocity of implemention & developing projects increased up to 50%. Subsequently, by cooperation of my elected students who had worked with Application Framework, I established an organization, named J2SOS, to protect & develop this Application Framework.
Fortunately, my students were so skilled that each took a chief task in big J2EE projects.
Their experiences had a practical affect on development of Application Framework as well as the organization.
Therefore, it is required to write down my & my yesterday students (my today co-workers) experiences. This was the outset to write the present paper!



Chapter 1
The basic concepts of J2EE
Purposes
In this chapter, we do our best to introduce J2EE basic concepts.
Servlet & JSP
If you ahve ever worked with JSP & Servlet, you know that Servlet is so proper for processing functions but there are particular problems with it in displaying functions.

JSP is applied reverse to Servlet. Thus, what is the solution? To apply both JSP and Servlet together!

What is MVC?
MVC is an easy way to use JSP & Servlet together. In MVC architecture, the request will be processed by a Class (Servlet) and the appropriate response will be showen by JSP.

See Figure 1-1


Figure 1-1

In the above Servlet Class, the validation operation, etc will be done.

Nowadays, there are numerous Frameworks which will assist you to use MVC Framework architecture. Struts Framework is the most well-known one.
MVC or JWMS ? That is the problem! Perhaps both!

MVC is a powerful architecture, but it is required an advanced architecture to implement developed projects.
Today, web applications are well developed which complicatethe work for programmers & developers.
To clarify it, see Google site! Google Web Application enjoys numerous services, each have a special service for the users.
For Instance, Gmail service, E-Mail or by SearchEngine, the users can search for websites, pictures, etc.

These services have certaily close communication with each other.
If the services do not use a particular architecture, the Google will encounter with various problems.
In Service Oriented architecture, each part of the program is a service programme. For example, E-Mail service, SearchEngine service, etc.

Consider Electeronic-Goverment application. This application does numerous services; each can be regarded as a separate application.


Figure 1-2

However, there is a problem! These applications should have communication with each other, i.e., a communication which is not a simple messaging one! I propose JWMS architecture to solve this problem!
Java Web Model Service (JWMS) transforms each part of E-Government application to a service. For instance, E-Bank service, E-Ministry service, etc.

See Figure 1-3

Figure 1-3

As you see, the request of user is transfered to Model via Web, it is processed by the Model t and the user is directed to the proper Service.
Model means a Servlet which processes the Request of the user.
It is likely that, in the first outlook, this architecture looks like MVC. Wait! You are not familiar with its internal components, yet!
To understand it obviously, you should be familiar with a Framework.

J2EE Service Oriented Programming
In
shine
Framework

Chapter 2
Basic concepts of Shine Application Framework

Purposes

The purpose of this chapter is to introduce you Shine Application Framework.
What is Shine Application Framework?
Shine Application Framework is a Service Oriented Framework which assists you to implement applications in accordance with MVC & JWMS architedtures.
The components of Shine Framework
In applications which impliment by Shine, the request is first processed by the Model and the user is directed to the proper Service.

The Class that acts as Model is called Mapping. Mapping Class is similar to a servlet.

Each Mapping Class should extend “j2sos.shine.co ntroller.Mappin g” Class & implement “public void rater()” method.

Each service includes a JSP or a JSF page or … in which there are a succession of Shine’s rules and its exclusive tags.

See Figure 2-1:

Figure 2-1

Let’s review exclusively the components of the application which have been implemented by Shine.
See Figure 2-2:


Figure 2-2

The request is processed when it inserts the Mapping Class which spacifies the appropriate service for the user’s request and directs the user toward the service by web.xml file.
Implimentation of an application by Shine Framework
Make a web application as below:

Then apply “shine.jar” file to your library.
After adding the mentioned library, change “web.xml” file as follow:


<?xml version= '1.0' encoding='windo ws-1252'?>
<!DOCTYPE web-app PUBLIC "-//dun Microsystem,
INC.//DTD Web Application 2.3//EN" http://java.sun.com/dtd/web-app.dtd>
<web-app>
<description>Ap plication Name</description>
<servlet>
<servlet-name>MyMapping</servlet-name>
<servlet-class>view.MyMa pping</servlet-class>
<init-param>
<param-name>ServerCons oleStatuse</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>ContentTyp e</param-name>
<param-value>text/html; charset=utf-8</param-value>
</init-param>
<init-param>
<param-name>servicenam e1</param-name>
<param-value>http://127.0.0.1:8080/ApplicationName/service1.jsp</param-value>
</init-param>
<init-param>
<param-name>ServiceNam e2</param-name>
<param-value> http://127.0.0.1:8080/ApplicationName/service2.jsp </param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>MyMapping</servlet-name>
<url-pattern>MyMappi ng.exec</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>tx t</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<taglib>
<taglib-uri>/web-INF/shine.tld</taglib-uri>
<taglib-location>/web-INF/shine.tld</taglib-location>
</taglib>
</web-app>


Now, let’s analyze this file.
- “Description” tag indicates the name of application.
- “Servlet-name” & “servlet-class” tags show the name & address of “Mapping” class.

- “Init-param” tag and “ServerConsoleS tatus” property & its “true” value notify Shine that the descriptions of the request should be displayed in Server side

This property will help you to get information about the requests via text environment of ApplicationServ er. This property will certainly remind you of “showsql” in “Hibernate”.

- “Init-param” tag & its “Content-Type” property indicate the type of the contents of the response.
- "Init-param" tag & "servicenam e1", "servicenam e2" properties identify two services to Shine as well as specify the address of each service on the same server or the other one in Shine.
- "Servlet-mapping" tag indicates a name to attain "Mapping" class to the requests.
- The address of the library of Shine is identified to the ApplicationServ er by "Taglib" tag.

Getting to know setting of Shine's properties in "web.xml" file, you should put "shine.tld" file beside "web.xml" file.

At present, “ properties’ setting of “web.xml” file is finished & we should consider the “Mapping” classes.

All of “Mapping” classes should be extended “j2sos.shine.co ntroller.Mappin g” class and implement “public void rater()” method.

For instance, let’s impliment “view.MyMapping ” class.

Package view;
Import j2sos.shine.con troller.Mapping ;
Public class MyMapping extends Mapping
{
Public void rater()
{
Forward("servic ename2","tag1") ;
}
}


As you see, this class enjoyes a method named “rater”. When the request inserts the “MyMapping” class, It will automatically be called.

This method is responsible for the first processes on the requests.

It is obvious that another method has been called in this method.

“Forward” method lead the user to the proper service. In this example, the user will be directed to “servicename2” service.

The value of “tag1” will be further explained next.

It is noted that you can call “forward” method by the other methods.

Package view;
Import j2sos.shine.con troller.Mapping ;
Public class MyMapping extends Mapping
{
Public void rater()
{
m1();
}
public void m1()
{
forward("servic ename2","tag1") ;
}
}

As it is previously mentioned, “servicename1” & “servicename2” indicate the address of two JSP pages which perform as a service.

Let’s implement one of these services (JSP pages).

Since “servicename2” is utilized in the previous example, we implement “service2.jsp” now. First “web.xml’ should be reviewed.


<?xml version= '1.0' encoding='windo ws-1252'?>
<!DOCTYPE web-app PUBLIC "-//dun Microsystem,
INC.//DTD Web Application 2.3//EN" http://java.sun.com/dtd/web-app.dtd>
<web-app>
<description>Ap plication Name</description>
<servlet>
<servlet-name>MyMapping</servlet-name>
<servlet-class>view.MyMa pping</servlet-class>
<init-param>
<param-name>ServerCons oleStatuse</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>ContentTyp e</param-name>
<param-value>text/html; charset=utf-8</param-value>
</init-param>
<init-param>
<param-name>servicenam e1</param-name>
<param-value>http://127.0.0.1:8080/ApplicationName/service1.jsp</param-value>
</init-param>
<init-param>
<param-name>ServiceNam e2</param-name>
<param-value> http://127.0.0.1:8080/ApplicationName/service2.jsp </param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>MyMapping</servlet-name>
<url-pattern>MyMappi ng.exec</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</session-timeout>
</session-config>
<mime-mapping>
<extension>tx t</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<taglib>
<taglib-uri>/web-INF/shine.tld</taglib-uri>
<taglib-location>/web-INF/shine.tld</taglib-location>
</taglib>
</web-app>


Iimplement a JSP page initially named “service2” with the following contents:

<% taglib uri="/web-INF/shine.tld" prefix="shine"% >
<header>this is shine Application</header>
<tags>
<shine:tag name="tag1">
Hello.this is service 2 and tag 1
</shine:tag>
<shine:tag name="tag2">
Hello.this is sevice 2 and tag 2
</shine:tag>
</tags>
< footer>J2sos Organization </footer>


In the beginning of the above page, the library of ApplicationServ er is identified.

This page (Service) includes four principal tags.

“header” & “footer” tags act as the same as header & footer of text pages.

The values of “tag1” & “tag2” perform as two pages. When you call “forward” method in “MyMapping” class as below:

Forward (“servicename2” ,”tag1”);

The user will be directed to “service2.jsp” as well as “tag1” will be displayed alongwith header & footer.

This is Shine Application !
Hello , this is service 2 and tag 1
J2SOS Organization

Now, if you call “forward” method in “MyMapping” class as below:

Forward (“servicename2” ,”tag2”);

The user will be directed to “service2.jsp” and “tag2” will be displayed alongwith header & footer.

This is Shine Application !
Hello , this is service 2 and tag 2
J2SOS Organization

This type of coding in these pages lead to data sorting. In these pages, you can get values once via JSP and use it in all tags.


<% taglib uri="/web-INF/shine.tld" prefix="shine"% >
<header>this is shine Application</header>
<tags>
<%! String name;%>
<%name="ali"; %>
<shine:tag name="tag1">
Hello.<%=name;% > this is service 2 and tag 1
</shine:tag>
<shine:tag name="tag2">
Hello. <%=name;%> this is sevice 2 and tag 2
</shine:tag>
</tags>
< footer>J2sos Organization </footer>



In fact, in this architecture, JSP pages act as “Service” & tags are considered as your “pages”.

Now, let’s impliment “service1.jsp” page.
<% taglib uri="/web-INF/shine.tld" prefix="shine"% >
<header>this is shine Application</header>
<tags>
<%! String name;%>
<%name="ali"; %>
<shine:tag name="tag1">
Hello. this is service 1 and tag 1
</shine:tag>
<shine:tag name="tag2">
Hello. this is sevice 1 and tag 2
</shine:tag>
</tags>
< footer>J2sos Organization </footer>


To direct user to this service, it is merely required to call “forward” method as below:

Forward (“servicename1” ,”tag1”);

To get the address of JSP pages & setting them in “web.xml” file, each page is directly run directly, then its address is indicated in “web.xml” file.

<param-name>ServiceNam e2>/param-name>
<param-value> http://127.0.0.1:8080/ApplicationName/service2.jsp </param-value>

In these pages, reverse to Struts, you can use objects of request, response, etc in JSP since URL values are sent to JSP pages (Services) by “Mapping” classes send to.

Being acquainted with “Mapping” classes & “Service” pages, you should be able to send the request of user to “Mapping” class.

Therefore, It is required to set the value of the Action of HTML forms on your Mapping classes.

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows =1252">
<title>untitled </title>
</head>
<body>
<form action="MyMappi ng.exec" method="get" >
<p>
<input type="text" name="name" />
</p>
<p>
<input type="submit" value="submit" />
</p>
</form>
</body>
</html>

It is observed that this form bears a text field called “name” and the value of its action has been set on “MyMapping” class.
Now, let’s survey on sending request by Ajax! In this example, you should put “ajax.js” & “md5.js” files beside the request page.

<script src="javascript/ajax.js" type="text/javascript"></script>
<script src="javascript/md5.js" type="text/javascript"></script>
<form name="myform" method="get" action="MyMappi ng.exec">
<p><input type="text" name="T1" size="20" /></p>
<p><input type="text" name="T2" size="20" /></p>
<p><input type="button" name="mb" value="submit" onclick="ajaxSu bmit(myform,fal se);" /></p>
</form>
<script type="text/javascript" language="javas cript">
Function ajaxLoad()
{
}
Function ajaxResponse(co ntent)
{
Alert(content);
}
</script>

As you can see, this form have a name. its information is sent to “MyMapping” class via “ajaxSubmit” method.
The value of “flase” in “ajaxSubmit” method causes the user not to communication with the request page till receiving the response.

“AjaxLoad” method will automatically be called when the form is sent. While the response is received, “ajaxResponse” method will be called, as well.

The value of “content” value includes the response of “MyMapping” class.

You can use “ajaxMD5Submit” method instead of “ajaxSubmit” one to send the information of form in MD5 format to “MyMapping” class.

“ajaxEternalSen d” method acts similar “ajaxSubmit” method but it sends an URL and receives response, constantly. For instance:

ajaxEternalSend (“MyMapping.exe c?name=’’ali”,f alse,4);

In this method, the number “4” indicates a time scale to send URL to the “MyMapping.exec ” class again.

Some other methods are determined in “component.js” file to help you in communication with java.


Chapter 3

The objects of Shine Framework

Purposes
In this chapter, the objects of Shine framework will be discussed.

The types of objects of Shine framework
As you know we have not achieved a parameter in mapping classes yet, therefore, 3 methods are used in these classes as follows;
- getRequest() method acts similar to request object in JSP.
To get parameter from URL, it is required perform as bellows;
getRequest().ge tParameter(“Par ameterName”);

getConfig() and getResponse() method are applied the same as getRequest() too.

Import j2sos.shine.con troller.Mapping ;
Public class MyMapping extends Mapping
{
Public void rater()
{
getRequest().ge tParameter("Par amName");
. . . .


j2sos.shine.scr ipt.Server class help you work with server operating system API. If you intend to install a web based operating system, you can use this class.
The followings are the methods of this class:

publiv void write(object obj);
public void writeln(object obj);
public String getFileValue(St ring fileaddres,Stri ng filename);
public void writeFile(Strin g fileaddress,Str ing filename,String text);
public void creatFolder(Str ing folderaddress,S tring foldername);
public void deleteFolderAnd File(String folderaddress,S tring foldername);
public void executeCommand( String command);
public String getCurrentDate( );
public void shutdownApplica tion();

To work with each method, you should make an object from this class.
Herein, the above methods are described.

Write() and writln() methods create a text on textual consul of Application Server.

getFileValue() method receives a directory and afile name, then return the contents of textual file.

writeFile() method receives a directory, a file name as well as file contents and makes a file in server.

createFolder() method recieves a directory and a file name to create a folder in server.

deleteFolderAnd File() method deletes a file or folder in server.

getCurrentDate( ) method sends back server's local time .

shutDownApplica tion() method stops the executing application.

j2sos.shine.scr ipt.CompietionR equest class helps you to receive parameters from URL. The followings are the methods of this class:

public String getUserid();
public int getRequestConte r(int step);
public File getFileParam(St ring paramname,File nullval);
public object getObjParam(Str ing paramname,objec t nullval);
public boolean getBoolParam(St ring paramname,Boole an nullval);
public char[] getCharParam(st ring paramname, char[] nullval);
public double getDoubleParam( String paramname, double nullval);
public short getShortParam(S tring paramname, short nullval);
public byte getByteParam(St ring paramname,byte nullval);
public long getLongParam(St ring paramname,long nullval);
public float getFloatParam(S tring paramname,float nullval);
public int getIntParam(Str ing paramname,int nullval);
public String getStrParam(Str ing paramname,Strin g nullval);


getUserid() method sends back identify number of the user session.

getRequestCount er() method makes a general counter and recieves a value for indicating the step of counter.
The other methods of this class perform similar to request.getPara meter("ParamNam e") command, except they help you in casting and validation.
For instance, getStrParam("na me","it is null") method leads the value of name to be sent back from URL, if this value is not available in URL, "it is null" value is returned.
j2sos.shine.mon itor.ServerCons ole class bears a method named showSeverConsol e, which receives an object of request and displays the descriptions of request by application server console.
j2sos.shine.soc ket.ResponseSer vice class have a method named getTagText, which receives an URL and tag name, then returns the contents of tag.


Chapter 4
Engineering and communication items

Purposes

In this chapter, you are acquainted with engineering and communication items.

The communication of Shine Framework with other existing Frameworks

As you now, the communication of a framework with other frameworks is extremely important.
You can communicate with other frameworks in shine.
These frameworks include as follows:
Hibernate
Spring
Struts
Or even Jsf, I am sure you have idea in this regard.
I try my best to put some of frameworks beside shine.
You can have several methods in mapping classes, for instance:


package view;
import j2sos.shine.con troller.Mapping ;
import j2sos.shine.scr ipt.compietionR equest;

public class Mapping2 extends Mapping
{
Public void rater()
{
Try
{
compietionReque st cr=new compietionReque st(getRequest() );
String PAGE=cr.getStrP aram("pagename" ,"null");
If(PAGE.equals( "p1"));
{
P1Validation();
}
If(PAGE.equals( "p2"))
{
P2Validation();
}
If(PAGE.equals( "null"))
{
Forward("errors ervice","url");
}
Else
{
Forward("errors ervice","notexi sturl");
}
}
Catch(Exception e)
{
Forward("myserv ice","p1");
}
}

Public void p1Validation()
{
Forward("myserv ice","p1");
}
Public void p2Validation()
{
Forward("myserv ice","p2");
}
}


In this class, it is first received PageName value from URL.
Next, regarding PageName value, the service which should respond the request, will be identified.
If the insert value is p, p1Validation() method will be called.
If the input value is p2, p2Validation() method will be called.
If it is not input any P1 & P2 values, the user will be directed to errorservice and the value of notexisturl tag will be displayed.
If it is not input any P1 & P2 values, the user will be directed to errorservice and the contents of URL tag will be displayed.
If the developer makes an Exception, the user will be directed to errorservice and the contents of exp will be displayed.
Suppose we made an aspect file and programming it as before running each of methods(P1Valid ation, P2Validation), the other method is called.
Therefore, you will create a powerful management in mapping2 class.
Now, let's combine struts and shine together. It is required to use struts tags in your own service tags. For instance:


<%@ taglib uri="/web-INF/shine.tld" prefix="shine"% >
<%@ taglib uri="/web-INF/struts-html.tld" prefix="html"%>
<%@ page contentType="te xt/html;charset=wi ndows-1252" %>
<header></header>
<tags>
<shine:tag name="p1">
<DIV align="center">
<html:form action="/action.do">
<html:text property="famol "/>
<html:submit/>
<html:reset/>
</html>
</DIV>
</shine:tag>
</tags>
<footer></footer>


As you see, you can easily communicate with other existing frameworks in shine.
Ther have been published numerous papers about SHINE and JDBC , etc. See the following websites:
www.j2sos.org .

The major purpose of Shine framework

The main purpose of shine framework is implementing service oriented applications. In this framework, the developer is focused on implementing services.
This framework includes java web model service (JWMS) and MVC , which provides a particular system in implementing enormous applications.



J2SOS Organization Web Site: http://www.J2SOS.org
You can finde complete document in: http://www.j2sos.org/download/doc.rar
Feb 18 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

0
3288
by: Kevin Sagon | last post by:
I am running a J2EE Web App under Tomcat 4.1 with Apache 2.0 proxying requests. Everything is configured and working appropriately however I ran into a problem after configuring J2EE Form Authentication. I have a security constraint restricting access to the application so that when I attempt to access the app I am redirected to the login page. This works as expected both when accessing the application via the Apache proxy or hitting...
15
7691
by: Herman | last post by:
Hi everyone, I'm currently studying for my Master's in Computer Science, and I will be working on my thesis this summer. I've been thinking about constructing a web services application for my thesis, as I've been interested in this technology, and I haven't had a chance to work with it in my last job. The issue is what platform to use: ..NET or J2EE? Prior to starting my MSc course, I worked for a software developer for five years...
3
4930
by: Sig | last post by:
Hi there, Could you help me finding out whether Zope could be a serious technological framework for big corporation (compared to J2EE and ..Net) or not ? In the (quite very) big corporation I work in, the IT managers are wondering about the future of web technologies for our intranets. Currently, we run web applications in many technologies : heavy J2EE (EJB...), light J2EE (JSP), ASP.Net, ASP, PHP, ... Our big IT boss
0
1309
by: Max Ischenko | last post by:
Hi, all. I think many would agree that the community-agreed standards could boost the development of the applications in a defined areas. In particular, the lack of J2EE-like standards about servlets or transactions impedes development of web/enterpise applications. It shoudn't be overly complex and elaborate like J2EE but it could be much simple, like, say, DB-API. As it is now, when developing non-trivial Python application we have...
124
4945
by: 43 | last post by:
how come m$Office isn't written in .net? how come Open Office isn't written in j2ee? how come dbms systems aren't written in either? how come browsers aren't written in either? how come RealPlayer, MediaPlayer and all applications that need speed are written in c++ ? (except for
6
5165
by: Frank Rachel | last post by:
So I can focus on the correct areas of research, I was wondering if someone could give me the .NET equivelents for this J2EE architecture: JSP's make calls to local JavaBean Controls. The controls do a JNDI lookup to invoke methods on EJB's. The EJB's use local Java classes, and these classes use JDBC to do database work. Example: Login.jsp contains "import xxx.LoginControl", and invokes the "login"
13
1580
by: Jonathan Li | last post by:
Hi there, I posted a thread in another group. I could not get satisfactory feedback. I would like to try if anybody in this group can help me out. My plan was, to develop components at server side (something like EJBs). For data entry and operation application functions, I can use C#.Net. For reporting and enquiry functions, I can use ASP.Net. You may aware that these two packages have a lot in common. Under J2EE environment, I know...
5
1452
by: Thiago Campos Pereira | last post by:
I need a support of the staff of the Microsoft. Since the beginning of the year I am working in the CFLCL (Company of the sector of energy with more than 15000 employees). I am trying to convince the CFLCL to adopt the DotNet as tool of Web development, but for this, I have that to obtain the approval of the security staff. The problem is that the security staff is fanatic with Linux and want that
9
2820
dmjpro
by: dmjpro | last post by:
today i came to know a new framework .... say SPRING. can u give me good link on it??? kind regards, dmjpro.
0
9273
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9136
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9030
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7893
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6605
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4439
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4703
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2486
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.