Cacık Sever 2015 yılında “Yazılacak Şeyler Var” sloganı ile yola çıkmış bir teknoloji blogudur.
Blogun hedefi; yurt içi ve yurt dışındaki teknoloji, girişim, yatırım, sosyal medya, etkinlik konularında en güncel haberleri takipçilerine duyurmaktır.
Cacık Sever yazar ekibi; teknoloji haberlerini tarafsız bir şekilde paylaşmaya dikkat etmektedir.
Haberlerin sunumunda her gruptan ziyaretçiye ulaşmak için anlaşılır bir dil kullanılmasına özen gösterilir. Amaç teknoloji severlere güncel teknoloji haberlerini duyururken teknolojiye uzak takipçileri de bilgilendirmektir.
Aynı zamanda “Yazılımcı Salısı” etkinliği altında sektörde çalışan deneyimli yazılımcılarla röportaj yaparak takipçilerine yazılım dünyası hakkında samimi bilgiler sunar.
Cacık Sever takipçileriyle paylaşmak için, yeni girişimlerinizi, düzenlediğiniz etkinlikleri, teknoloji ile ilgili bulduğunuz ilgi çekici konuları paylaşmak için bilgi at caciksever.com adresinden ekibe ulaşabilirsiniz.
Cacık Sever ekibinin bir parçası olarak ben de güncel teknoloji haberlerini en hızlı ve tarafsız bir şekilde caciksever.com' da yayınlamaya devam ediyorum.
Cüneyt Yeşilkaya | Java
Java4U
Friday, January 8, 2016
Saturday, August 2, 2014
Monday, November 26, 2012
How to Open (View) a DWG file
The DWG file extension is a vector image format created by 2D or 3D AutoCAD drawing programs.
if you don't have the AutoCAD program;
- Open your Web browser and type http://www.sharecad.org in the URL field. Press "Enter."
- Click "Browse." Double-click the .dwg file you want to open.
- Click "Open," "Upload." You will now be able to open and view your .dwg file.
Hope to be useful.
Monday, January 30, 2012
Difference between GET and POST method in Form Submission
In HTML, we can specify two different submission methods for a form. The method is specified inside a form element, by using the "method" attribute.
Simple Usage:
< form id="myForm" name="myForm" action="myAction" method="GET" >...< /form >
< form id="myForm" name="myForm" action="myAction" method="POST" >...< /form >
References:
1. http://www.w3schools.com/html/
2. http://en.wikipedia.org/wiki/POST_(HTTP)
3. http://wiki.answers.com/Q/What_is_the_difference_between_get_and_post_method_in_HTTP
4. http://www.wereyouwondering.com/what-is-the-difference-between-get-and-post/
GET and POST methods of a form is used to send data to the data processing page. Both methods are used in form data handling where each one has some difference on the way they work.
GET - POST methods comparision table:
GET Method Properties:
|
POST Method Properties:
|
1. All the name value pairs are
submitted as a query string in URL.
|
1. All the name value pairs are
submitted in the Message Body of the request.
|
2. Amount of data submitted is
restricted.
|
2. Amount of data submitted is not
restricted.
|
3. This is the default method used in
the form tag.
|
3. Should be explicitly specified.
|
4. Get method is not secured
(information appear in browser).
|
4. Post method is secured (information
does not appear in the browser).
|
5. "GET" is basically for
retrieving data.
|
5. "POST" is basically for
sending data.
|
6. Data transmission is faster.
|
6. Data transmission is comparatively
slow.
|
Simple Usage:
< form id="myForm" name="myForm" action="myAction" method="GET" >...< /form >
< form id="myForm" name="myForm" action="myAction" method="POST" >...< /form >
References:
1. http://www.w3schools.com/html/
2. http://en.wikipedia.org/wiki/POST_(HTTP)
3. http://wiki.answers.com/Q/What_is_the_difference_between_get_and_post_method_in_HTTP
4. http://www.wereyouwondering.com/what-is-the-difference-between-get-and-post/
Saturday, January 28, 2012
Web Crawler Tools
What are the best java based web crawler tools?
Crawler4j
Crawler4j is an open source Java crawler which provides a simple interface for crawling the Web.
Heritrix
Heritrix is the Internet Archive's open-source, extensible, web-scale, archival-quality web crawler project. Heritrix is designed to respect the robots.txt exclusion directives and META robots tags .
WebSPHINX
WebSPHINX ( Website-Specific Processors for HTML INformation eXtraction) is a Java class library and interactive development environment for web crawlers. A web crawler (also called a robot or spider) is a program that browses and processes Web pages automatically. WebSPHINX consists of two parts: the Crawler Workbench and the WebSPHINX class library.
Nutch
Apache Nutch is an open source web-search software project. Stemming from Apache Lucene, it now builds on Apache Solr adding web-specifics, such as a crawler, a link-graph database and parsing support handled by Apache Tika for HTML and and array other document formats.
WebLech
WebLech is a fully featured web site download/mirror tool in Java, which supports many features required to download websites and emulate standard web-browser behaviour as much as possible. WebLech is multithreaded and will feature a GUI console.
Arale
While many bots around are focused on page indexing, Arale is primarly designed for personal use. It fits the needs of advanced web surfers and web developers.
HyperSpider
HyperSpider (Java app) collects the link structure of a website. Data import/export from/to database and CSV-files. Export to Graphviz DOT, Resource Description Framework (RDF/DC), XML Topic Maps (XTM), Prolog, HTML. Visualization as hierarchy and map.
Arachnid
Arachnid is a Java-based web spider framework. It includes a simple HTML parser object that parses an input stream containing HTML content. Simple Web spiders can be created by sub-classing Arachnid and adding a few lines of code called after each page of a Web site is parsed.
Spindle
Spindle is a web indexing/search tool built on top of the Lucene toolkit. It includes a HTTP spider that is used to build the index, and a search class that is used to search the index. In addition, support is provided for the Bitmechanic listlib JSP TagLib, so that a search can be added to a JSP based site without writing any Java classes.
Spider
Spider is a complete standalone Java application designed to easily integrate varied data sources. XML driven framework for data retrieval from network accessible sources, scheduled pulling, highly extensible, provides hooks for custom post-processing and configuration and implemented as a Avalon/Keel framework data feed service.
LARM
LARM is a 100% Java search solution for end-users of the Jakarta Lucene search engine framework. It contains methods for indexing files, database tables, and a crawler for indexing web sites. Well, it will be. At the moment we only have some specifications. It's up to you to turn this into a working program. Its predecessor was an experimental crawler called larm-web crawler available from the Jakarta project.
Metis
Metis is a tool to collect information from the content of web sites. This was written for the Ideahamster Group for finding the competitive intelligence weight of a web server and assists in satisfying the CI Scouting portion of the Open Source Security Testing Methodology Manual (OSSTMM).
Aperture
Aperture crawls information systems such as file systems, websites, mail boxes and mail servers. It can extract full-text and metadata from many common file formats. Aperture has a flexible architecture that can be extended with custom file formats, data sources, etc., with support for deployment on OSGI platforms.
Smart and Simple Web Crawler
A framework that is crawl a web site with integrated Lucene support. Support two crawling modes, Max Iterations and Max Depth. Provides a filter interface to limit the links to be crawled. Filters can be combined with AND, OR and NOT.
Web Harvest
Web-Harvest collects Web pages and extracts useful data from them. It leverages technologies for text/xml manipulation such as XSLT, XQuery and Regular Expressions. Web-Harvest mainly focuses on HTML/XML based web sites. However it can be extended by custom Java libraries to augment its extraction capabilities.
Criterions for Selecting a Tool
- Multi-Threaded Structure.
- Control for Depth.
- Control for Redundant Links.
- "Max Page Size - to be crawled", "Max Page Number- to be crawled", "Time to Work" should be used as parameter to manage crawler.
- Documentation.
I use crawler4j for crawling whole web.
You can setup a multi-threaded web crawler in 5 minutes!Tuesday, July 26, 2011
UPGRADING ATLASSIAN JIRA
This post describes the standard, recommended procedure for upgrading to JIRA 4.3.x from JIRA version 4.0.0 or later.
Atlassian's own web site describe the standards to upgrade Jira. The link given below shows how to upgrade Jira.
Link: http://confluence.atlassian.com/display/JIRA043/Upgrading+JIRA
Upgrading operation consists of a few basic steps. The steps are;
1. Backing Up
- Back up your database:
- Backup your external database and verify that your backup was created correctly.
- Back up your JIRA Home directory:
- In the WEB-INF/classes directory of your Jira installation directory, there is a jira-application.properties file, in the file, the location of home directory is available.
- Back up your attachments directory if located outside your JIRA Home directory:
- If your attachments directory is located outside of Jira home directory, it should be backed up.
- Back up your JIRA Installation directory:
- It is the directory that the Jira application files and libraries were extracted when Jira was installed.
2. Performing the Upgrade
- Install the new version of JIRA:
Download Jira to install with the version that you want. And install Jira. Be aware of that install the new Jira version to a new location. Do not overwrite your existing Jira installation.
- Migrate your existing JIRA configurations over to your new JIRA installation:
- For each file that you have modified in your existing Jira installation, you need manually edit each equivalent in your new Jira version installation and re-apply your modification.
- Connect your new JIRA to your existing database:
- You should configure your new Jira version installation to connect your existing data base. Manually you can edit server.xml (in your new Jira version installation directory) to connect database. Also you can use Jira Configuration tool to configure your new Jira installation to connect your existing database.
- Point your new JIRA to your existing JIRA Home directory:
- Edit jira-application.properties (in new Jira installation directory) file. Find jira-home property and update the property to the path of your existing Jira home directory that you backed up in the steps above.
- Start your new version of JIRA:
- Shut down old Jira installation.
- Start up new version of Jira.
- Visit Jira in your web browser, log in by using user name and password from your old Jira installation. Without seeing the setup wizard, you should be able to log in.
To see detailed information for each step, visit the atlassian page that given on the top of the first page.
I hope to be useful.
Saturday, July 23, 2011
Java Send e-mail
In this post, by using JavaMail API, I will write a java program that sends an e-mail to the given e-mail address.
The JavaMail API provides a platform-independent and protocol-independent framework to build mail and messaging application.
Download the library and add it to your class path. Then start your development environment and use this code to send e-mail.
final String sender = “sender@gmail.com”;
final String password = “yourpassword”;
final String receiver = “receiver@gmail.com”;
Properties props = new Properties();
props.put("mail.smtp.host", "smtp.gmail.com");
props.put("mail.smtp.socketFactory.port", "465");
props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.port", "465");
props.put("mail.debug", "true");
Session session = Session.getDefaultInstance(props,
new javax.mail.Authenticator() {
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(sender, password);
}
});
try {
Message message = new MimeMessage(session);
message.setFrom(new InternetAddress(sender));
message.setRecipients(Message.RecipientType.TO, InternetAddress.parse(receiver));
message.setSubject(subject);
message.setText(body);
Transport.send(message);
System.out.println("Email was Sent!!");
} catch (MessagingException e) {
throw new RuntimeException(e);
}
Change the values according to your accounts. For example change sender and receiver values.
I wish to be useful.
The JavaMail API provides a platform-independent and protocol-independent framework to build mail and messaging application.
Download the library and add it to your class path. Then start your development environment and use this code to send e-mail.
final String sender = “sender@gmail.com”;
final String password = “yourpassword”;
final String receiver = “receiver@gmail.com”;
Properties props = new Properties();
props.put("mail.smtp.host", "smtp.gmail.com");
props.put("mail.smtp.socketFactory.port", "465");
props.put("mail.smtp.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.port", "465");
props.put("mail.debug", "true");
Session session = Session.getDefaultInstance(props,
new javax.mail.Authenticator() {
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(sender, password);
}
});
try {
Message message = new MimeMessage(session);
message.setFrom(new InternetAddress(sender));
message.setRecipients(Message.RecipientType.TO, InternetAddress.parse(receiver));
message.setSubject(subject);
message.setText(body);
Transport.send(message);
System.out.println("Email was Sent!!");
} catch (MessagingException e) {
throw new RuntimeException(e);
}
Change the values according to your accounts. For example change sender and receiver values.
I wish to be useful.
Subscribe to:
Posts (Atom)