I need your recommendations. which way is the best in terms of software engineering (Readability, Usability )

I have object **person**

```
public class Person {

    private String name;
    private String surname;

    public Person(String name, String surname) {
        super();
        this.name = name;
        this.surname = surname;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getSurname() {
        return surname;
    }
    public void setSurname(String surname) {
        this.surname = surname;
    }

}

```

I have method **savePerson**. 

First way is to set request parameters to variable before initialise object.

```
public void handle(Map<String, Object> map, HttpServletRequest request) throws Exception {
    String name = request.getParameter("name");
    String surname = request.getParameter("surname");
    Person person = new Person(name, surname);
    personService.savePerson(person);
}

```

Second way is to set request parameters set them as constructors parameters.

```
public void handle(Map<String, Object> map, HttpServletRequest request) throws Exception {
    Person person = new Person(request.getParameter("name"), request.getParameter("surname"));
    personService.savePerson(person);
}

```